import type { CostKnowledge, HarnessEvent, ProcessingCostBasis, ProcessingReceipt, UsageCostBasis } from "@claudexor/schema"; type AuthMode = "local_session" | "api_key" | null; type ProcessingEvidence = Pick; export interface UsageCostTotals { cashUsd: number; valuationUsd: number; unknownUsd: number; cashEstimated: boolean; valuationEstimated: boolean; } /** Observed amount meaning is independent from prospective billing. A native * premium tariff alone never turns a token estimate into a debit receipt. */ export declare function usageAmountKind(route: AuthMode, amount: UsageCostBasis | undefined, processing?: ProcessingReceipt, billing?: ProcessingCostBasis): UsageCostBasis["kind"]; /** Event-local accounting evidence shared by attempts and reviewers. The * BudgetLedger remains the sole authority for family spend and reservations. */ export declare class UsageCostTracker { readonly totals: UsageCostTotals; unknownPaidUsd: number; private processing?; private billing?; private active; private activeSawEvent; private activePaid; private activeCashReceipt; private intervalKey; private sawRoute; private sawUnknownUsage; private sawValuation; private unresolvedPaid; private unknownPaidAmount; constructor(totals?: UsageCostTotals); startAttempt(evidence?: ProcessingEvidence): void; observeEvent(route: AuthMode, evidence?: ProcessingEvidence): void; observeUsage(route: AuthMode, usd: number, estimated: boolean, event?: HarnessEvent): void; finishAttempt(): void; snapshot(): { cashKnowledge: CostKnowledge; valuationKnowledge: CostKnowledge; }; } export {}; //# sourceMappingURL=usage-evidence.d.ts.map