import { type McpCapabilities } from "@sapiom/agent-map/host-protocol"; import type { McpDevServerCommand } from "./inject/mcp-config.js"; export type McpPreflightResult = { kind: "verified"; launch: McpDevServerCommand; descriptor: McpCapabilities; } | { kind: "legacy"; launch: McpDevServerCommand; } | { kind: "unavailable"; launch: McpDevServerCommand; reason: "missing" | "invalid" | "changed" | "probe-failed"; }; /** No shell, PATH lookup or Electron dependency in shared launcher code. */ export declare function mcpCommandForEntry(entry: string, runtime?: string, electron?: boolean): McpDevServerCommand; /** Resolve without importing the executable. An unbuilt workspace stays unverified. */ export declare function bundledMcpCommand(): McpDevServerCommand | undefined; /** Qualifies precisely the command returned in the result. Old binaries ignore * unknown flags, so never spawn one before checking its package support marker. * The actual MCP rechecks the returned descriptor/fingerprint when it starts. */ export declare function qualifyMcpCommand(candidate: McpDevServerCommand, timeoutMs?: number): Promise; /** CLI policy: use the runtime dependency only when verified; otherwise retain * its existing npx @latest fallback (which is never treated as preflighted). */ export declare function prepareBundledMcpCommand(candidate?: McpDevServerCommand | undefined): Promise; //# sourceMappingURL=mcp-compatibility.d.ts.map