/// import * as stream from "stream"; export declare class SplitTransform extends stream.Duplex { private separator; private buffer; private flushing; constructor(separator?: RegExp); _write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void; _final(callback: (error?: Error | null) => void): void; _read(size: number): void; _destroy(destroyError: Error | null, callback: (error: Error | null) => void): void; private flushBuffer; private nextPart; }