export type RuntimeMcpPreflightMode = "warn-skip" | "strict" | "off";
export type RuntimeMcpPreflightFailureReason = "timeout" | "exit" | "missing-env" | "http-fail" | "stdio-fail";
export type RuntimeMcpPreflightEntryStatus = "ok" | "failed" | "skipped";
export interface RuntimeMcpPreflightOptions {
    timeoutMs: number;
    concurrency: number;
}
export interface RuntimeMcpPreflightEntry {
    name: string;
    status: RuntimeMcpPreflightEntryStatus;
    reason?: RuntimeMcpPreflightFailureReason | "not-npm-family" | "no-package-spec";
    detail?: string;
    packageSpec?: string;
}
export interface RuntimeMcpPreflightResult {
    failed: Set<string>;
    details: Map<string, {
        reason: RuntimeMcpPreflightFailureReason;
        detail: string;
    }>;
    entries: RuntimeMcpPreflightEntry[];
}
export declare function resolveRuntimeMcpPreflightMode(env?: Record<string, string | undefined>): RuntimeMcpPreflightMode;
export declare function resolveRuntimeMcpPreflightOptions(env?: Record<string, string | undefined>): RuntimeMcpPreflightOptions & {
    mode: RuntimeMcpPreflightMode;
};
