export interface UsageQuota { daily?: number; monthly?: number; total?: number; } export interface UsageRecord { provider: string; model: string; promptTokens: number; completionTokens: number; totalTokens: number; costUsd?: number; timestamp: string; accountId?: string; } export interface AccountUsageSummary { provider: string; accountId: string; dailyTokens: number; monthlyTokens: number; totalTokens: number; dailyCostUsd: number; monthlyCostUsd: number; totalCostUsd: number; lastUpdated: string; quota?: UsageQuota; alerts: string[]; } export interface UsageAlert { accountId: string; provider: string; level: 'warning' | 'critical'; message: string; timestamp: string; } declare const ALERT_THRESHOLDS: { warning: number; critical: number; }; export declare class AccountUsageTracker { private records; private quotas; private alerts; recordUsage(record: UsageRecord): void; setQuota(provider: string, accountId: string, quota: UsageQuota): void; getUsageSummary(provider: string, accountId?: string): AccountUsageSummary; isWithinBudget(provider: string, accountId?: string): boolean; getUsageAlerts(provider?: string): UsageAlert[]; clearAlerts(provider: string, accountId?: string): void; getDailyUsage(provider: string, accountId?: string, daysBack?: number): Array<{ date: string; tokens: number; cost: number; }>; reset(provider?: string, accountId?: string): void; private checkThresholds; } export declare function estimateCostUsd(provider: string, model: string, promptTokens: number, completionTokens: number): number; export { ALERT_THRESHOLDS }; //# sourceMappingURL=account-usage.d.ts.map