/** * Acquire the consolidation lock. Returns an idempotent release function. * Waits (polling) while another process holds it; steals a stale lock left by a * crashed holder. On the rare MAX_WAIT timeout it proceeds without the lock * rather than block a background process forever. */ export declare function acquireDecisionsLock(rootPath: string): Promise<() => Promise>; /** Run `fn` while holding the consolidation lock; always releases. */ export declare function withDecisionsLock(rootPath: string, fn: () => Promise): Promise; //# sourceMappingURL=lock.d.ts.map