//#region extensions/crypto/src/services/usage-tracker.d.ts
/**
 * Usage Tracker — provider-aware LLM usage reporting.
 *
 * For Bankr: fetches real usage data from their API.
 * For other providers: reports active config + links to their dashboard
 * (we can't get real token counts from the plugin layer).
 *
 * Pricing reference table for cost awareness.
 */
interface ModelPricing {
  inputPer1M: number;
  outputPer1M: number;
  cachePer1M?: number;
}
declare const PRICING: Record<string, ModelPricing>;
declare const PROVIDER_DASHBOARDS: Record<string, string>;
interface BankrUsageData {
  totals: {
    totalRequests: number;
    totalInputTokens: number;
    totalOutputTokens: number;
    totalCacheReadInputTokens: number;
    totalCost: number;
  };
  byModel: Array<{
    model: string;
    requests: number;
    totalCost: number;
  }>;
  credits?: {
    balance: number;
  };
}
/**
 * Fetch real usage data from Bankr LLM API.
 * Returns null if Bankr is not configured or the call fails.
 */
declare function fetchBankrUsage(days?: number): Promise<BankrUsageData | null>;
//#endregion
export { BankrUsageData, ModelPricing, PRICING, PROVIDER_DASHBOARDS, fetchBankrUsage };
//# sourceMappingURL=usage-tracker.d.mts.map