import type { CredentialRankingStrategy, UsageProvider, UsageReport } from "../usage.js"; /** * Parse Codex `x-codex-{primary,secondary}-*` rate-limit response headers into * a usage report. The backend attaches these snapshots to every response, so * ingesting them lets credential selection block an exhausted account before * the next request burns a wire 429. */ export declare function parseCodexRateLimitHeaders(headers: Record, now?: number): UsageReport | null; export declare const openaiCodexUsageProvider: UsageProvider; export declare const codexRankingStrategy: CredentialRankingStrategy;