/// import { AddressInfo, IpcSocketConnectOpts, TcpSocketConnectOpts } from 'net'; export declare abstract class BasicWriteStream implements NodeJS.WriteStream { writableEnded: boolean; writableCorked: number; readableEncoding: BufferEncoding; readableEnded: boolean; readableFlowing: boolean; writableHighWaterMark: number; writableLength: number; readable: boolean; writable: boolean; write(str: any, encoding?: any, cb?: any): boolean; _write(chunk: any, encoding: string, callback: Function): void; _destroy(err: Error, callback: Function): void; _final(callback: Function): void; setDefaultEncoding(encoding: string): this; cork(): void; uncork(): void; destroy(error?: Error): void; read(size?: number): string | Buffer; setEncoding(encoding: string): this; pause(): this; resume(): this; isPaused(): boolean; pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: NodeJS.WritableStream): this; unshift(chunk: string): void; unshift(chunk: Buffer): void; wrap(oldStream: NodeJS.ReadableStream): this; [Symbol.asyncIterator](): AsyncIterableIterator; addListener(event: string | symbol, listener: (...args: any[]) => void): this; on(event: string | symbol, listener: (...args: any[]) => void): this; once(event: string | symbol, listener: (...args: any[]) => void): this; removeListener(event: string | symbol, listener: (...args: any[]) => void): this; off(event: string | symbol, listener: (...args: any[]) => void): this; removeAllListeners(event?: string | symbol): this; setMaxListeners(n: number): this; getMaxListeners(): number; listeners(event: string | symbol): Function[]; rawListeners(event: string | symbol): Function[]; emit(event: string | symbol, ...args: any[]): boolean; listenerCount(type: string | symbol): number; prependListener(event: string | symbol, listener: (...args: any[]) => void): this; prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; eventNames(): (string | symbol)[]; end(cb?: Function): void; end(buffer: Buffer, cb?: Function): void; end(str: string, cb?: Function): void; end(str: string, encoding?: string, cb?: Function): void; readonly bufferSize: number; readonly bytesRead: number; readonly bytesWritten: number; readonly connecting: boolean; readonly destroyed: boolean; readonly localAddress: string; readonly localPort: number; readonly readableHighWaterMark: number; readonly readableLength: number; readonly readableObjectMode: boolean; readonly remoteAddress: string; readonly remoteFamily: string; readonly remotePort: number; readonly writableFinished: boolean; readonly writableObjectMode: boolean; _read(size: number): void; _writev(chunks: Array<{ chunk: any; encoding: string; }>, callback: (error?: Error | null) => void): void; address(): AddressInfo | string; clearLine(dir: -1 | 0 | 1, callback?: () => void): boolean; clearScreenDown(callback?: () => void): boolean; connect(options: TcpSocketConnectOpts | IpcSocketConnectOpts, connectionListener?: () => void): this; connect(port: number, host: string, connectionListener?: () => void): this; connect(port: number, connectionListener?: () => void): this; connect(path: string, connectionListener?: () => void): this; cursorTo(x: number, y?: number, callback?: () => void): boolean; cursorTo(x: number, callback: () => void): boolean; getColorDepth(env?: {}): number; getWindowSize(): [number, number]; hasColors(depth?: number): boolean; hasColors(env?: {}): boolean; hasColors(depth: number, env?: {}): boolean; moveCursor(dx: number, dy: number, callback?: () => void): boolean; push(chunk: any, encoding?: string): boolean; ref(): this; setKeepAlive(enable?: boolean, initialDelay?: number): this; setNoDelay(noDelay?: boolean): this; setTimeout(timeout: number, callback?: () => void): this; unref(): this; columns: number; isTTY: true; rows: number; }