/// export interface IOptions { binary: boolean; inputStream: NodeJS.ReadableStream; reportClose: boolean; sendResize: string; useRaw: boolean; keepOpen: boolean; outputStream: NodeJS.WritableStream; perMessageDeflate: boolean; protocol: string; } export interface IConnectOptions extends IOptions { address: string; headers: { [key: string]: string; }; rejectUnauthorized: boolean; } export interface IListenOptions extends IOptions { port: number; } export declare function connect(options: IConnectOptions): void; export declare function listen(options: IListenOptions): void;