export type { SessionStats, ToolUsageStats } from './session.js'; export type { Insight } from './detectors/index.js'; export { defaultClaudeProjectsRoot } from './walker.js'; export interface ScanResult { /** Total cost across all sessions ever recorded, in USD. */ totalCostUsdAllTime: number; /** Total cost across sessions started in the last 7 days, in USD. */ totalCostUsdLast7Days: number; /** Number of .jsonl session files found. */ filesScanned: number; /** Number of sessions (files) parsed. */ sessionsScanned: number; /** All ranked insights, highest savings first. */ insights: import('./detectors/index.js').Insight[]; /** Total estimated savings across all insights, in USD. */ totalSavingsUsd: number; } /** * Scan the local Claude Code session directory and return a structured result. * * @param root Path to the Claude projects root (defaults to ~/.claude/projects). * Pass `undefined` to use the default. */ export declare function scan(root?: string): Promise; /** Format a ScanResult as a human-readable text summary. */ export declare function formatSummary(result: ScanResult): string; //# sourceMappingURL=lib.d.ts.map