import type { ProviderId, QuotaResult } from "./types.js"; interface AuthStorage { get: (provider: string) => unknown; getApiKey: (provider: string) => Promise | string | undefined; updateToken?: (provider: string, data: Record) => void; } /** Create an AuthStorage that reads from ~/.pi/agent/auth.json for standalone CLI execution. */ declare function createFileAuthStorage(customPath?: string): AuthStorage; declare const PROVIDER_IDS: ProviderId[], PROVIDER_LABELS: Record; declare function fetchQuota(auth: AuthStorage, provider: ProviderId, opts?: { force?: boolean; signal?: AbortSignal; }): Promise; declare function fetchAllQuotas(auth: AuthStorage, opts?: { force?: boolean; signal?: AbortSignal; }): Promise; declare function clearCache(provider?: ProviderId): void; export type { AuthStorage }; export { PROVIDER_IDS, PROVIDER_LABELS, clearCache, createFileAuthStorage, fetchAllQuotas, fetchQuota, }; //# sourceMappingURL=quotas.d.ts.map