/** * Sibling lock path: `MEMORY.md` → `MEMORY.md.lock` (Hermes Path.with_suffix). */ export declare function lockPathFor(dataFilePath: string): string; /** * Hold exclusive flock for the duration of `fn`, then unlock + close. * Creates the lock file's parent directory if needed. */ export declare function withFileLock(dataFilePath: string, fn: () => T | Promise): Promise; //# sourceMappingURL=lock.d.ts.map