import type { ResolvedHostLaunchSpec } from "./host-launch-spec.ts";
import { type HostOutcome } from "./host-outcome.ts";
export interface IdleHandoverTerms {
    readonly operationId: string;
    readonly ifInstanceId: string;
    readonly ifGeneration: number;
    readonly targetRuntimeBuildId: string;
    /** `--allow-downgrade`: the host may hand over even when this CLI's engine is older than its own (senpi#7018). */
    readonly allowDowngrade?: boolean;
}
export declare function idleHandoverOutcome(target: {
    readonly socket: string;
    readonly agentDir: string;
}, spec: ResolvedHostLaunchSpec, terms: IdleHandoverTerms, mcpPresenterEnforcement?: boolean): Promise<HostOutcome>;
//# sourceMappingURL=host-handover-request.d.ts.map