• File: CsvFormatterStream.d.ts
  • Full Path: /var/www/nodejs/daily_store_reports_nodejs/node_modules/@fast-csv/format/build/src/CsvFormatterStream.d.ts
  • Date Modified: 02/04/2023 9:31 PM
  • File size: 628 bytes
  • MIME-type: text/x-java
  • Charset: utf-8
/// <reference types="node" />
import { Transform, TransformCallback } from 'stream';
import { FormatterOptions } from './FormatterOptions';
import { Row, RowTransformFunction } from './types';
export declare class CsvFormatterStream<I extends Row, O extends Row> extends Transform {
    private formatterOptions;
    private rowFormatter;
    private hasWrittenBOM;
    constructor(formatterOptions: FormatterOptions<I, O>);
    transform(transformFunction: RowTransformFunction<I, O>): CsvFormatterStream<I, O>;
    _transform(row: I, encoding: string, cb: TransformCallback): void;
    _flush(cb: TransformCallback): void;
}