export type McpInstallStatus = 'installed' | 'missing-runner' | 'missing-package' | 'unknown'; export interface McpInstallInfo { status: McpInstallStatus; runner: string; pkg?: string; } interface CheckTarget { /** Remote (http/sse) MCP entries have no command — treated as status 'unknown'. */ command?: string; args: string[]; } export declare function invalidateMcpInstallCache(): void; /** Read-only cached lookup. Never spawns. Returns 'unknown' if not yet probed. */ export declare function getMcpInstallSnapshot(target: CheckTarget): McpInstallInfo; /** Async probe of a single target. Populates cache and returns the result. */ export declare function checkMcpInstallAsync(target: CheckTarget): Promise; /** * Probe every target sequentially, populating the cache. Resolves once all * probes have either returned or timed out. Sequential (not parallel) to * avoid spawn-storms that can starve the extension host on activation. */ export declare function refreshMcpInstall(targets: CheckTarget[]): Promise; export declare function installCommandFor(info: McpInstallInfo): string | null; export {};