import type { CredentialRankingStrategy, UsageFetchParams, UsageProvider } from "../usage"; interface BillingUsage { monthlyLimit: number; used: number; billingPeriodEnd: string; } interface WeeklyBillingUsage { creditUsagePercent: number; billingPeriodEnd: string; } export declare function parseGrokCliBillingUsage(payload: unknown): BillingUsage; export declare function parseGrokCliWeeklyBillingUsage(payload: unknown): WeeklyBillingUsage | undefined; /** Test seam: the usage access token as resolved from a credential plus trusted env. */ export declare function resolveGrokAccessTokenForTest(params: UsageFetchParams): string | undefined; export declare const grokCliUsageProvider: UsageProvider; export declare const grokCliRankingStrategy: CredentialRankingStrategy; export {};