/** * When an engine's rate-limit window reopens. * * The limits collector next door answers a different question — what to draw on * the Limits screen — and answers it for a person who is waiting on a render. * This asks for one number on behalf of a turn that has just failed, so it is * best effort by construction: an unreachable source resolves to `undefined` * rather than throwing or stalling, and the caller falls back to its own backoff. * The parsers themselves are the collector's, because the payload shapes are the * same ones it reads. */ /** * The reset Codex stated in a `rate_limits` payload, in Unix seconds. Codex * writes the same snake_case snapshot into every `token_count` event, so the * live stream and the rollout on disk are read by the same parser. */ export declare function resetsAtFromCodexRateLimits(rateLimits: unknown): number | undefined; /** * When Claude's session window reopens, in Unix seconds — the number the * rate-limit backoff wants and that the stop-failure hook never carries. Two * sources, the live usage API first and the on-disk statusline snapshot behind * it. A reset already in the past is no answer either, so it is discarded. */ export declare function claudeResetsAtSeconds(nowMs?: number): Promise; //# sourceMappingURL=engine-reset-times.d.ts.map