/// /// import * as streams from 'stream'; export declare class LengthPrefixedDecoder extends streams.Duplex { private readonly receiveBuffer; private nextWrite; constructor(options?: streams.DuplexOptions); _read(size: number): void; _write(chunk: any, encoding: BufferEncoding, callback: (error?: (Error | null)) => void): void; }