import type { HistoryEntry, TrendReport, ReportData, AnalyzerOutput } from './types.js'; export declare function getHistoryDir(): string; export declare function saveHistoryEntry(entry: HistoryEntry, historyDir?: string): void; export declare function loadHistoryEntries(historyDir?: string): HistoryEntry[]; export declare function getLatestEntry(historyDir?: string): HistoryEntry | null; export declare function loadEntry(date: string, historyDir?: string): HistoryEntry | null; export declare function toHistoryEntry(data: ReportData, output: AnalyzerOutput, reportFile: string): HistoryEntry; export declare function buildTrendReport(current: HistoryEntry, previous: HistoryEntry | null): TrendReport; export declare function formatTrendReport(trend: TrendReport): string; export declare function formatHistoryTable(entries: HistoryEntry[]): string;