/** * How long a writer waits for the lock before failing loudly. * * These are small JSON files: a held critical section is one read, one * validation pass and one write, so ten seconds is a wedged-peer ceiling * rather than a patience budget. A peer that actually died is reclaimed by the * lock's own staleness check well inside this, and a timeout surfaces as a * thrown write, which the callers already treat as a failed write, rather * than as a silent hang. */ export declare const INBOUND_STORE_LOCK_TIMEOUT_MS = 10000; /** Run `fn` as the only writer of `lockPath`, across every process on this machine. */ export declare function withInboundStoreWriteLock(lockPath: string | null, fn: () => Promise): Promise; //# sourceMappingURL=store-write-lock.d.ts.map