implements stream.Readable {
readonly readable: boolean;
readonly readableHighWaterMark: number;
readonly readableLength: number;
_read(): void;
read(): void;
_destroy(): void;
unpipe(): this;
pause(): this;
resume(): this;
isPaused(): boolean;
wrap(): this;
push(): boolean;
unshift(): void;
pipe(destination: P, options?: {
end?: boolean;
}): P;
[Symbol.asyncIterator](): AsyncIterableIterator;
destroy(): void;
setEncoding(encoding: string): this;
protected handleDisconnect(): void;
}
export interface ClientDuplexProxy extends DuplexProxy, ClientServerProxy {
}
export declare class Duplex extends Writable implements stream.Duplex, stream.Readable {
private readonly _readable;
constructor(proxyPromise: Promise | T);
readonly readable: boolean;
readonly readableHighWaterMark: number;
readonly readableLength: number;
_read(): void;
read(): void;
unpipe(): this;
pause(): this;
resume(): this;
isPaused(): boolean;
wrap(): this;
push(): boolean;
unshift(): void;
[Symbol.asyncIterator](): AsyncIterableIterator;
setEncoding(encoding: string): this;
protected handleDisconnect(): void;
}