import Database from 'better-sqlite3'; export type SyncLane = 'v1' | 'v2'; export declare function syncLaneFor(db: Database.Database): SyncLane; /** Open the file READ-ONLY (never via openDb — that would stamp schema_major='2' and corrupt a * v1 file) and decide the sync lane. Returns 'v1' if the file is missing/unreadable. */ export declare function syncLaneForPath(hmemPath: string): SyncLane;