UNPKG

perf-lens

Version:

AI-powered frontend performance optimizer

12 lines 424 B
import type Anthropic from '@anthropic-ai/sdk'; /** * Records token usage from an API response and accumulates estimated cost. */ export declare function recordUsage(model: string, usage: Anthropic.Usage): void; /** * One-line usage summary printed at the end of a scan. */ export declare function getCostSummary(): string; /** Test hook. */ export declare function resetUsage(): void; //# sourceMappingURL=cost.d.ts.map