/// import { PassThrough } from 'stream'; import { ZipsonWriter } from 'zipson'; /** * Write each part of the stringified data to a stream * Buffered by provided buffer size */ export declare class ZipsonStreamWriter extends ZipsonWriter { private bufferThreshold; private _stream; private _buffer; constructor(bufferThreshold?: number); /** * Write a chunk of zipson output */ write(data: string): void; /** * End zipson stream */ end(): void; readonly stream: PassThrough; }