/** * VSCode LSP Protocol Adapter — vscode-languageserver-protocol implementation * * This is a concrete implementation of LSPProtocolAdapter using the * vscode-languageserver-protocol library for JSON-RPC communication. * The interfaces are defined separately to allow for other implementations * (custom JSON-RPC, mock connections for testing, etc.) * * Benefits: * - Implements library-agnostic LSPProtocolAdapter interface * - Can be swapped with other implementations without changing consumers * - Isolates all vscode-languageserver-protocol dependencies to this file */ import type { ChildProcess } from 'child_process'; import type { LSPProtocolAdapter, LSPProtocolConnection } from './lsp-protocol-adapter.interface.js'; /** * VSCode LSP Protocol Adapter Implementation * * Concrete implementation using vscode-languageserver-protocol. */ export declare class VSCodeLSPProtocolAdapter implements LSPProtocolAdapter { /** * Create a protocol connection from a child process's stdio streams */ createConnection(process: ChildProcess): LSPProtocolConnection | null; } /** * Default adapter instance factory * This is used by the getLSPProtocolAdapter function in the interface */ export declare function createDefaultLSPProtocolAdapter(): LSPProtocolAdapter; //# sourceMappingURL=lsp-protocol-adapter.d.ts.map