/** * Store - persists snapshots and diff reports to disk (JSON). * * One JSON file per watched URL+target combo, stored in a configurable * directory. Same zero-dependency philosophy as the Python port. */ import { type DiffReport, type IStore, type Snapshot } from "../models.js"; export declare class Store implements IStore { private readonly dir; constructor(directory?: string); saveSnapshot(snapshot: Snapshot): void; loadLatest(url: string, target: string | undefined): Snapshot | null; loadHistory(url: string, target: string | undefined, limit?: number): Snapshot[]; clearHistory(url: string, target: string | undefined): void; getDirectory(): string; pruneSnapshots(url: string, target: string | undefined, max: number): void; saveReport(report: DiffReport): void; loadReports(url: string, target: string | undefined, limit?: number): Record[]; private key; private snapshotPath; private reportPath; private loadRaw; private saveRaw; } //# sourceMappingURL=index.d.ts.map