import type { PluginClient } from "./types"; import type { AccountMetadataV3 } from "./storage"; export type QuotaGroup = "claude" | "gemini-pro" | "gemini-flash" | "gpt-oss"; export interface QuotaGroupSummary { remainingFraction?: number; resetTime?: string; modelCount: number; } export interface PerModelQuotaEntry { modelId: string; displayName?: string; group: QuotaGroup | null; remainingFraction: number; resetTime?: string; } export interface QuotaSummary { groups: Partial>; perModel?: PerModelQuotaEntry[]; modelCount: number; error?: string; } export interface GeminiCliQuotaModel { modelId: string; remainingFraction: number; resetTime?: string; } export interface GeminiCliQuotaSummary { models: GeminiCliQuotaModel[]; error?: string; } export type AccountQuotaStatus = "ok" | "disabled" | "error"; export interface AccountQuotaResult { index: number; email?: string; status: AccountQuotaStatus; error?: string; disabled?: boolean; quota?: QuotaSummary; geminiCliQuota?: GeminiCliQuotaSummary; updatedAccount?: AccountMetadataV3; } export declare function classifyQuotaGroup(modelName: string, displayName?: string): QuotaGroup | null; export declare function checkAccountsQuota(accounts: AccountMetadataV3[], client: PluginClient, providerId?: string): Promise; //# sourceMappingURL=quota.d.ts.map