import type { LspServerAdapter } from "./types.js"; export interface LspInstallOutcome { /** The server command is resolvable now (pre-existing or just installed). */ ok: boolean; /** Set when this call auto-installed the missing server. */ autoInstalled?: boolean; /** Why installation was not attempted or failed (attached to skips/errors). */ detail?: string; } /** Probe availability through the shared TTL cache (augmented PATH included). */ export declare function resolveLspCommand(adapter: LspServerAdapter, cwd: string): string | undefined; /** True when this adapter may auto-install: enabled on both sides with recipes. */ export declare function lspAutoInstallEnabled(adapter: LspServerAdapter, autoInstall?: boolean): boolean; export declare function ensureLspInstalled(adapter: LspServerAdapter, cwd: string, signal: AbortSignal | undefined, autoInstall: boolean): Promise; //# sourceMappingURL=lsp-install.d.ts.map