import type { OpenClawInsight } from './detectors/index.js'; import type { OpenClawSessionStats } from './session.js'; export type { OpenClawSessionStats } from './session.js'; export type { OpenClawInsight } from './detectors/index.js'; export { defaultOpenClawRoot } from './walker.js'; export interface OpenClawScanResult { /** 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 session files found. */ filesScanned: number; /** Number of sessions parsed. */ sessionsScanned: number; /** All ranked insights, highest savings first. */ insights: OpenClawInsight[]; /** Total estimated savings across all insights, in USD. */ totalSavingsUsd: number; /** Per-session stats for dashboard / serve. */ sessions: OpenClawSessionStats[]; /** Per-model aggregate across all sessions. */ modelBreakdown: Array<{ key: string; provider: string; modelId: string; totalCostUsd: number; totalMessages: number; totalInputTokens: number; totalOutputTokens: number; }>; } export declare function scanOpenClaw(root?: string): Promise; /** Format an OpenClawScanResult as human-readable terminal output. */ export declare function formatOpenClawSummary(result: OpenClawScanResult): string; //# sourceMappingURL=scan.d.ts.map