/** * Hard spending guard. An LLM holds this wallet, so every outgoing payment is * checked against a per-payment cap AND a daily cap. Fail-closed: if the state * file is unreadable, spending starts from the cap (i.e. blocked), never from 0. */ export declare class SpendGuard { readonly maxPaymentUsd: number; readonly dailyCapUsd: number; private readonly statePath; constructor(maxPaymentUsd: number, dailyCapUsd: number, statePath?: string); private today; spentToday(): number; remainingToday(): number; /** Throws with an agent-readable message if the payment must not happen. */ check(amountUsd: number, label: string): void; record(amountUsd: number): void; } //# sourceMappingURL=guard.d.ts.map