import { Hono } from 'hono';
/**
 * LSP WebSocket Bridge Route
 *
 * Architecture (for future implementation):
 * 1. Client connects via WebSocket to /api/v1/lsp
 * 2. Server spawns `bin/lsp-server.js --stdio` as a child process
 * 3. WebSocket messages (JSON-RPC) are piped to child stdin
 * 4. Child stdout (JSON-RPC responses) are piped back to WebSocket
 * 5. On WebSocket close → kill child process
 * 6. On child exit → close WebSocket
 *
 * Implementation requires either:
 * - `@hono/node-ws` adapter for WebSocket upgrades within Hono, OR
 * - A separate `ws` WebSocketServer attached to the same HTTP server
 *
 * Neither `@hono/node-ws` nor `ws` are currently in project dependencies.
 * Adding them and wiring the upgrade path is deferred to a follow-up task.
 *
 * For now, Monaco runs with built-in language intelligence (syntax highlighting,
 * bracket matching, basic TypeScript/JavaScript completions via Monaco's bundled
 * language services). The LSP bridge will add project-aware completions,
 * go-to-definition, hover info, and diagnostics for Salesforce metadata.
 */
export declare function lspRoute(cwd: string): Hono;
