WME/aufgabe5/node_modules/csvtojson/v2/ProcessorLocal.d.ts

23 lines
752 B
TypeScript
Raw Normal View History

2019-01-09 11:25:28 +00:00
/// <reference types="bluebird" />
/// <reference types="node" />
import { Processor, ProcessLineResult } from "./Processor";
import P from "bluebird";
export declare class ProcessorLocal extends Processor {
flush(): P<ProcessLineResult[]>;
destroy(): P<void>;
private rowSplit;
private eolEmitted;
private _needEmitEol?;
private readonly needEmitEol;
private headEmitted;
private _needEmitHead?;
private readonly needEmitHead;
process(chunk: Buffer, finalChunk?: boolean): P<ProcessLineResult[]>;
private processCSV(csv, finalChunk);
private processDataWithHead(lines);
private filterHeader();
private processCSVBody(lines);
private prependLeftBuf(buf);
private runPreLineHook(lines);
}