import type { DB } from '../storage/db.js'; export interface VerifyResult { ok: boolean; integrity: string; counts: { memories: { live: number; snapshot: number; }; transcripts: { live: number; snapshot: number; }; }; error?: string; } /** * Verify `snapshotPath` against the live `db` it was snapshotted from. * Row-count tolerance: the live DB may have gained rows since the snapshot * started (online backup), so snapshot counts must be <= live counts and * within `tolerance` of them — never greater, never wildly behind. */ export declare function verifySnapshot(liveDb: DB, snapshotPath: string, key?: string, tolerance?: number): VerifyResult;