export interface LatestRolloutSession { id: string; path: string; mtimeMs: number; } export declare function extractRolloutSessionId(path: string): Promise; /** * Codex stores resumable conversations as rollout JSONL files under * /sessions/YYYY/MM/DD/rollout-*.jsonl. Hotswap uses the newest * rollout by mtime as the best available continuity heuristic after a quota * exit, because upstream Codex does not currently expose the active resume id * as a stable structured wrapper signal. */ export declare function findLatestRolloutSession(codexHome: string, fallbackHome?: string): Promise; //# sourceMappingURL=sessions.d.ts.map