import WebSocket from 'isomorphic-ws';
import stream from 'node:stream';
import { KubeConfig } from './config.js';
import { WebSocketInterface } from './web-socket-handler.js';
export declare class Attach {
    'handler': WebSocketInterface;
    private terminalSizeQueue?;
    constructor(config: KubeConfig, websocketInterface?: WebSocketInterface);
    attach(namespace: string, podName: string, containerName: string, stdout: stream.Writable | any, stderr: stream.Writable | any, stdin: stream.Readable | any, tty: boolean): Promise<WebSocket.WebSocket>;
}
