import type { WebSocketConnectionOptions, WebSocketConnection } from '../definitions';
/**
 * WebSocket Manager
 * Handles WebSocket connections with CORS bypass
 */
export declare class WebSocketManager {
    private wsConnections;
    private connectionCounter;
    private notifyListeners;
    constructor(notifyListeners: (eventName: string, data: any) => void);
    /**
     * Create a WebSocket connection
     */
    createWebSocketConnection(options: WebSocketConnectionOptions): Promise<WebSocketConnection>;
    /**
     * Close a WebSocket connection
     */
    closeWebSocketConnection(options: {
        connectionId: string;
    }): Promise<void>;
    /**
     * Send data through WebSocket
     */
    sendWebSocketMessage(options: {
        connectionId: string;
        message: string;
    }): Promise<void>;
    /**
     * Get all active WebSocket connections
     */
    getWebSocketConnections(): Map<string, WebSocket>;
}
//# sourceMappingURL=websocket.d.ts.map