import { Server as HTTPServer } from 'http';
import { BrowserPool } from '../core/BrowserPool';
/**
 * WebSocket streaming server for real-time DOM updates
 */
export declare class StreamingServer {
    private wss;
    private browserPool;
    private clients;
    private heartbeatInterval;
    constructor(server: HTTPServer, browserPool: BrowserPool);
    /**
     * Setup WebSocket server handlers
     */
    private setupWebSocketServer;
    /**
     * Handle authentication
     */
    private handleAuthentication;
    /**
     * Handle session subscription
     */
    private handleSubscribe;
    /**
     * Handle navigation request
     */
    private handleNavigate;
    /**
     * Handle interaction event
     */
    private handleInteract;
    /**
     * Handle preview interaction event
     */
    private handlePreviewInteract;
    /**
     * Handle unsubscribe
     */
    private handleUnsubscribe;
    /**
     * Handle client disconnect
     */
    private handleDisconnect;
    /**
     * Broadcast update to all clients subscribed to a session
     */
    private broadcastUpdate;
    /**
     * Start heartbeat to detect dead connections
     */
    private startHeartbeat;
    /**
     * Shutdown the WebSocket server
     */
    shutdown(): Promise<void>;
}
//# sourceMappingURL=StreamingServer.d.ts.map