/** * Twig Monitor — History Storage * Append-only history per normalized URL hash. * Default storage: ~/.twig/history/.json */ import type { MonitorRun } from './types.js'; export declare function normalizeUrl(url: string): string; export declare function hashUrl(normalizedUrl: string): string; export declare function getHistoryDir(baseDir?: string): string; export declare function historyPath(normalizedUrl: string, baseDir?: string): string; export declare function loadHistory(normalizedUrl: string, baseDir?: string): MonitorRun[]; export declare function appendHistory(run: MonitorRun, baseDir?: string): void; export declare function latestRun(normalizedUrl: string, baseDir?: string): MonitorRun | null;