/** * Run fn while holding an exclusive inter-process lock on `path`, so two phi * instances writing the same memory file cannot interleave or overwrite each * other. proper-lockfile has no sync retry support, so contention is handled * with a short bounded spin; locked sections are short (an append, or one * in-memory DB export + rename) and contention is rare. A lock left by a * crashed process goes stale after 5s and is taken over. * * Shared by the ontology graph (graph.jsonl) and the vector store (vectors.db). */ export declare function withFileLockSync(path: string, fn: () => T, timeoutMs?: number): T; //# sourceMappingURL=file-lock.d.ts.map