import { type CodexNativeTaskService } from "./codex-native-task-service.js"; import { type ConversationRouteInput } from "./conversation-route-store.js"; import type { ConversationRouteSelection } from "./conversation-route-dispatch.js"; export interface LegacyConversationRouteOptions { input: ConversationRouteInput; nativeTasks: Pick; /** The same host runtime directory used by explicit terminal Send. */ terminalRuntimeDir: string; /** Required to keep an old explicit Send in the provider that owns its ledger. */ expectedTerminalToken?: string; managedOnly?: boolean; } /** Consult only the two exact old message ledgers, before backend discovery or input. * An old reservation remains a route pin even when its outcome is uncertain. * Terminal receipts predate public target storage; their provider must still * validate runtime key and physical token before replay or any input. */ export declare function selectLegacyConversationRoute(options: LegacyConversationRouteOptions): ConversationRouteSelection | undefined;