import { Duplex } from 'stream'; export declare class FullDuplexStream { static CreatePair(): { first: Duplex; second: Duplex; }; /** * Creates a full duplex stream from a readable stream and a writable stream. * @param readable The stream that the duplex stream will read from. * @param writable The stream that the duplex stream will write to. * @returns A duplex stream. Ending the duplex stream ends `writable`, but destroying the * duplex stream does not destroy either of the underlying streams. */ static Splice(readable: NodeJS.ReadableStream, writable: NodeJS.WritableStream): Duplex; }