/** * LSPServer — Built-in Language Server Protocol engine. * * Zero external dependencies. Provides: * 1. Real-time diagnostics from Shadow Brain analysis * 2. Hover information with brain insights * 3. Code actions for auto-fixes * 4. Inline completions from learning engine * 5. Works with ANY editor that supports LSP (VS Code, Neovim, Emacs, Sublime, etc.) * * Launch: `shadow-brain lsp` (stdio mode) or `shadow-brain lsp --port 6970` (TCP mode) */ export declare class LSPServer { private server; private orchestrator; private openDocuments; private pendingRequests; private nextId; private initialized; private rootUri; private buffer; private writeOutput; private analysisQueue; private analysisTimer; private cachedInsights; constructor(orchestrator?: any); /** * Start LSP in stdio mode (standard for most editors). */ startStdio(): void; /** * Start LSP in TCP mode for remote/custom connections. */ startTCP(port?: number, host?: string): Promise; stop(): void; private handleIncoming; private handleMessage; private handleInitialize; private handleDidOpen; private handleDidChange; private handleDidClose; private handleDidSave; private handleHover; private handleCodeAction; private handleCompletion; private handleDiagnosticRequest; private queueAnalysis; private analyzeDocument; private getOrchestratorInsights; private createDiagnostic; private sendResponse; private sendNotification; private sendMessage; private uriToPath; getStats(): { openDocuments: number; totalDiagnostics: number; cachedInsights: number; initialized: boolean; }; } //# sourceMappingURL=lsp-server.d.ts.map