import { type KiroManagementAuth } from "./shared.ts"; /** One entry of the `usageBreakdownList` array returned by GetUsageLimits. */ interface KiroUsageBreakdown { resourceType?: string; currentUsage?: number; usageLimit?: number; currentUsageWithPrecision?: number; usageLimitWithPrecision?: number; nextDateReset?: string | number; [key: string]: unknown; } /** Top-level shape of the GetUsageLimits response. */ interface KiroGetUsageLimitsResponse { usageBreakdownList?: KiroUsageBreakdown[]; nextDateReset?: string | number; subscriptionInfo?: { subscriptionTitle?: string; [key: string]: unknown; }; [key: string]: unknown; } export interface KiroUsageSnapshot { usedCredits: number; totalCredits: number; remainingCredits: number; percentUsed: number; nextReset?: string; subscriptionTitle?: string; /** Epoch-millisecond reset timestamp, when the service returned a parseable date. */ resetTimestampMs?: number; /** Parsed GetUsageLimits response body (never contains the request token). */ raw?: KiroGetUsageLimitsResponse; } export declare function fetchKiroUsage(auth: KiroManagementAuth, providedProfileArn?: string, fetchFn?: typeof globalThis.fetch, signal?: AbortSignal): Promise; export declare function formatKiroUsage(snapshot: KiroUsageSnapshot): string; export {}; //# sourceMappingURL=usage.d.ts.map