import { Transform, TransformOptions, Writable, Readable } from "stream"; import JSON2CSVBase, { json2csv } from "./JSON2CSVBase"; import JSON2CSVTransform from "./JSON2CSVTransform"; declare class JSON2CSVAsyncParser extends JSON2CSVBase { public input: Transform; public processor: Writable; public transform: JSON2CSVTransform; constructor(opts?: json2csv.Options, transformOpts?: TransformOptions); public fromInput(input: Readable): JSON2CSVAsyncParser; public throughTransform(transform: Transform): JSON2CSVAsyncParser; public toOutput(output: Writable): JSON2CSVAsyncParser; public promise(): Promise; } export default JSON2CSVAsyncParser;