import type { AuditReport, BaselineData, BaselineDiff } from './types.js'; /** * Extract a minimal, stable snapshot from an AuditReport suitable for * persistence and future comparison. */ /** Scoring model this build produces. Bumped whenever weights or the scoring rules change. */ export declare const BASELINE_SCHEMA_VERSION = 2; export declare function toBaselineData(report: AuditReport): BaselineData; /** * Persist a baseline to disk as pretty-printed JSON. * Creates intermediate directories if they don't exist. */ export declare function saveBaseline(path: string, report: AuditReport): void; /** * Load a previously saved baseline from disk. * Throws with a clear message on missing file or invalid JSON. */ export declare function loadBaseline(path: string): BaselineData; /** * Compare a current audit report against a stored baseline, producing * per-check deltas and overall regression/improvement lists. */ export declare function diffBaseline(baseline: BaselineData, report: AuditReport): BaselineDiff; //# sourceMappingURL=baseline.d.ts.map