/** * File-based Reconciler Lock * * Prevents multiple concurrent reconciler runs across processes. * Lock file: .specweave/state/reconciler.lock * Contains: { pid, startedAt } * * Stale lock detection: * - Lock older than 5 minutes → stale (force-acquire) * - PID not running → stale (force-acquire) */ export declare const LOCK_MAX_AGE_MS: number; /** * Attempt to acquire the reconciler lock. * * 1. If no lock exists → acquire * 2. If lock exists and is fresh (< 5min, PID running) → return false * 3. If lock is stale (> 5min or PID dead) → delete and acquire * * @returns true if lock acquired, false if another process holds it */ export declare function acquireLock(projectRoot: string): Promise; /** * Release the reconciler lock by deleting the lock file. */ export declare function releaseLock(projectRoot: string): Promise; /** * Check if the lock is currently held by an active process. */ export declare function isLockHeld(projectRoot: string): Promise; //# sourceMappingURL=reconciler-lock.d.ts.map