export type Lock = { release: () => void; }; /** * Acquire the state lock for `root`. Throws if another live run holds it (unless * `force`). Releases automatically on process exit; the returned `release` lets * callers free it early. Stale locks (dead holder) are stolen. */ export declare function acquireLock(root: string, command: string, force?: boolean): Lock; //# sourceMappingURL=lock.d.ts.map