import type { ProviderUsageExtra, ProviderUsageRow, ProviderUsageWindow } from '../../../shared/provider-usage.js'; import { usageError } from '../result.js'; export declare function fetchCodexUsage(): Promise>; export declare function parseCodexUsageResponse(data: unknown): { error?: ReturnType; extras: ProviderUsageExtra[]; windows: ProviderUsageWindow[]; }; /** * Human identity for the Providers panel. ChatGPT OAuth puts email under the * OpenAI profile claim (and often as a top-level auth.json field), not * `claims.email`. Falling through to tokens.account_id alone surfaces opaque * `org-…` ids, which are not useful as a display name. */ export declare function codexAccount(tokens: Record | undefined, auth?: Record | undefined): string | undefined; //# sourceMappingURL=codex.d.ts.map