/** * SuperGrok (`xai-oauth`) subscription usage provider. * * Reads utilization from the Grok CLI billing endpoint. Prefer the legacy * weekly `format=credits` payload (creditUsagePercent / productUsage). When * xAI marks the account as unified billing and omits those fields, fall back * to the default monthly included-quota shape (`monthlyLimit` / `used`). * Only OAuth access credentials are accepted; paid API keys are a separate * product and must never be sent here. */ import type { CredentialRankingStrategy, UsageProvider } from "../usage.js"; export declare const xaiOauthUsageProvider: UsageProvider; /** * Ranks SuperGrok accounts by weekly credits (or unified monthly included quota). * xAI reports no short window, so the meter maps to `secondary`, which drives drain ranking. */ export declare const xaiOauthRankingStrategy: CredentialRankingStrategy;