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

19 lines
616 B
TypeScript
Raw Normal View History

2019-01-09 11:25:28 +00:00
/// <reference types="bluebird" />
import { Converter } from "./Converter";
import { ProcessLineResult } from "./Processor";
import P from "bluebird";
import CSVError from "./CSVError";
export declare class Result {
private converter;
private readonly needEmitLine;
private _needPushDownstream?;
private readonly needPushDownstream;
private readonly needEmitAll;
private finalResult;
constructor(converter: Converter);
processResult(resultLines: ProcessLineResult[]): P<any>;
appendFinalResult(lines: any[]): void;
processError(err: CSVError): void;
endProcess(): void;
}