/** * Agent spend reporting — reads cost data directly from harness databases * via better-sqlite3 (replaces the Python tools/usage_report.py). * * Supports opencode (SQLite session table with cost data) and codex * (placeholder — no cost data yet). Falls back to empty report when * no provider database is found. Fully offline; no backend/daemon needed. */ import { type UsageReport, type UsageOptions, type UsageSession } from './usage-reader'; export type { UsageReport, UsageSession, UsageOptions }; export declare class UsageError extends Error { } /** * Runs the read-only spend report directly from the harness database. * Throws UsageError when the database is unavailable (the caller decides * how loudly to fail). */ export declare function runUsageReport(opts?: UsageOptions): UsageReport;