/**
 * LSP WebSocket Handler
 *
 * Bridges WebSocket connections to Language Server Protocol (LSP) processes.
 * Handles message formatting and bidirectional communication.
 */
import type { LspManager } from './services/lsp-manager.js';
import type { ServerWebSocket } from './types.js';
/**
 * LSP-specific WebSocket client data
 */
export interface LspWSClientData {
    id: string;
    language: string;
    serverId?: string;
}
/**
 * Handle WebSocket open for LSP connections
 */
export declare function handleLspWSOpen(ws: ServerWebSocket<LspWSClientData>, language: string, lspManager: LspManager): void;
/**
 * Handle WebSocket message for LSP connections
 */
export declare function handleLspWSMessage(ws: ServerWebSocket<LspWSClientData>, message: string | Buffer): void;
/**
 * Handle WebSocket close for LSP connections
 */
export declare function handleLspWSClose(ws: ServerWebSocket<LspWSClientData>): void;
/**
 * Get the number of active LSP WebSocket connections
 */
export declare function getLspClientCount(): number;
//# sourceMappingURL=lsp-websocket.d.ts.map