UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

14 lines (13 loc) 792 B
/** * 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;