export declare class IndexSyncLockError extends Error { constructor(message: string); } /** * Ensures only one process syncs a given index database at a time. * Fails immediately if a non-stale lock is already held. */ export declare function withIndexSyncLock(dbPath: string, fn: () => Promise): Promise; //# sourceMappingURL=sync-lock.d.ts.map