import { EventEmitter } from 'events'; export interface ProxyRequest { id: string; method: string; url: string; headers: Record; body?: string; } export interface ProxyResponse { status: number; headers: Record; body: any; } export interface WebSocketMessage { type: 'request' | 'response' | 'command_complete'; requestId: string; method?: string; url?: string; headers?: Record; body?: string; response?: ProxyResponse; projectContext?: { projectId: string; apiType: string; }; } export declare class WebSocketClient extends EventEmitter { private url; private ws; private reconnectAttempts; private readonly maxReconnectAttempts; private readonly reconnectDelay; private connectionPromise; private isNullClient; constructor(url: string | null); connect(): Promise; private _connect; private scheduleReconnect; sendRequest(request: ProxyRequest): Promise; isConnected(): boolean; sendCommandComplete(): Promise; disconnect(): void; } //# sourceMappingURL=websocket-client.d.ts.map