/** a single rate-limit or usage window returned by a provider quota API */ export interface QuotaWindow { /** human label, e.g. "5h", "7d", "Sonnet 7d", "Credits" */ label: string; /** percent of the window already consumed (0-100), null when not reported */ usedPercent: number | null; /** iso timestamp when this window resets, null when not reported */ resetsAt: string | null; /** free-form value label for credit-style windows, e.g. "$4.20 remaining" */ valueLabel: string | null; /** optional supporting text, e.g. reset details or provider-specific notes */ detail?: string | null; } /** result for one provider from the quota-windows endpoint */ export interface ProviderQuotaResult { /** provider slug, e.g. "anthropic", "openai" */ provider: string; /** source label when the provider reports where the quota data came from */ source?: string | null; /** true when the fetch succeeded and windows is populated */ ok: boolean; /** error message when ok is false */ error?: string; windows: QuotaWindow[]; } //# sourceMappingURL=quota.d.ts.map