/** * Proxy Usage Statistics * Tracks per-account request counts, token usage, and error rates. * In-memory only — resets on proxy restart. */ import type { AccountStats, ProxyStats } from "../types/index.js"; export declare function recordAttempt(accountLabel: string, accountType: string): void; export declare function recordFinalSuccess(accountLabel?: string, accountType?: string): void; export declare function recordAttemptError(accountLabel: string, accountType: string, status: number): void; export declare function recordFinalError(_status: number, accountLabel?: string, accountType?: string): void; export declare function getStats(): ProxyStats; export declare function getAccountStats(label: string): AccountStats | undefined; export declare function resetStats(): void;