export interface QuotaSnapshot { readonly fiveHourUtilization?: number; readonly fiveHourResetsAt?: Date; readonly sevenDayUtilization?: number; readonly sevenDayResetsAt?: Date; readonly observedAt: Date; } export declare function parseQuotaHeaders(headers: Headers): QuotaSnapshot | undefined; export declare function recordQuotaSnapshot(snapshot: QuotaSnapshot): void; export declare function getQuotaSnapshot(): QuotaSnapshot | undefined; export declare function onQuotaUpdate(listener: () => void): () => void; export declare function resetQuotaCacheForTests(): void;