import type { Bash } from "../Bash.js";
export interface LSPRequest {
    method: string;
    params: unknown;
    filePath: string;
}
/**
 * LSPManager - Manages external language servers for advanced code intelligence.
 */
export declare class LSPManager {
    private connections;
    /**
     * Initialize a language server for a specific file extension.
     */
    initServer(extension: string, command: string, args: string[]): Promise<void>;
    /**
     * Send a request to the appropriate LSP server.
     */
    sendRequest(bash: Bash, request: LSPRequest): Promise<unknown>;
    /**
     * Send a notification to the appropriate LSP server.
     */
    sendNotification(filePath: string, method: string, params: unknown): void;
    /**
     * Notify the language server that a file has changed.
     */
    notifyDidChange(filePath: string, content: string): void;
    private fallbackToSemanticEngine;
}
