import type { Usage } from "@bastani/pi-ai/compat"; import type { SessionEntry } from "./session-manager.ts"; export interface UsageTotals { input: number; output: number; cacheRead: number; cacheWrite: number; cost: number; } export declare function createUsageTotals(): UsageTotals; export declare function addUsageToTotals(totals: UsageTotals, usage: Usage): void; /** Sum nested/classifier usage without losing optional token splits. */ export declare function combineUsage(first: Usage, second: Usage): Usage; export interface UsageCostBreakdownEntry { key: string; cost: number; tokens: number; } export declare function getUsageCostBreakdown(entries: SessionEntry[]): UsageCostBreakdownEntry[]; //# sourceMappingURL=usage-totals.d.ts.map