import type { CredentialRankingStrategy, UsageProvider, UsageReport } from "../usage.js"; /** * Parse a `GetUsageLimits` response: the plan credits, one limit per active * bonus grant and per unexpired purchased add-on, and the overage credits when * overage billing is enabled. A spent plan with bonus, add-on or overage left * is a `warning`, not exhausted. Null when the response has no readable credit * breakdown. */ export declare function parseKiroUsage(payload: unknown, fetchedAt?: number): UsageReport | null; export declare const kiroUsageProvider: UsageProvider; /** * Gates and measures Kiro accounts by their prepaid allowance: plan credits * plus unexpired bonus grants and purchased add-ons. Paid overage is never * allowance, so an account with only overage left ranks behind siblings with * prepaid credits but stays a `warning` (not blocked) and still serves alone. * Drain ranking stays on the monthly plan meter; Kiro has no short window, so * it maps to `secondary`. */ export declare const kiroRankingStrategy: CredentialRankingStrategy;