import type { ProviderConfig } from "../config.js"; export interface QuotaInfo { provider: string; ok: boolean; quotaPercent?: number | null; creditBalanceUsd?: number | null; limitUsd?: number | null; usageUsd?: number | null; statusText?: string; } /** * Explicit quota/balance fetcher for key providers. * OpenRouter: GET https://openrouter.ai/api/v1/auth/key */ export declare function fetchProviderQuota(providerName: string, cfg: ProviderConfig, apiKey?: string, fetchFn?: typeof fetch): Promise;