import { LSPClient } from './client.js'; /** * Singleton LSP client manager that keeps clients alive and reuses them * across tool calls for better performance and accuracy */ declare class LSPManager { private clients; private initializationPromises; /** * Get or create an LSP client for a file * Returns null if no LSP server is available for the file */ getClient(filePath: string, workspaceRoot: string): Promise; /** * Shutdown a specific client */ shutdownClient(workspaceRoot: string, serverName?: string): Promise; /** * Shutdown all clients */ shutdownAll(): Promise; /** * Get the number of active clients */ getActiveClientCount(): number; /** * Close a document in all active clients * This is useful for tests that reuse the same file path */ closeDocument(filePath: string): void; } export declare const lspManager: LSPManager; export {}; //# sourceMappingURL=manager.d.ts.map