import type { SessionEntry } from "../../../session-manager.ts";
import { type GoalCacheWarmMetrics } from "./cache-warm.ts";
export interface ParkedGoalWait {
    readonly iteration: number;
    readonly delayMs: number;
    readonly dueAtMs: number;
    readonly cache?: GoalCacheWarmMetrics;
}
/**
 * Finds the wait a retired extension generation left parked for `goalId`, so a
 * reload re-arms that same wait instead of starting a new one. The branch tail
 * is authoritative: any message or custom message after the last cache-warm
 * entry means a turn ran since, so nothing is parked any more.
 */
export declare function findParkedGoalWait(entries: readonly SessionEntry[], goalId: string): ParkedGoalWait | undefined;
//# sourceMappingURL=parked-wait.d.ts.map