export interface LocalJsonStoreLease { readonly temporaryPath: string; assertOwned(): Promise; } export declare class LocalJsonStoreLockError extends Error { readonly name = "LocalJsonStoreLockError"; constructor(message: string, options?: ErrorOptions); } /** * Serialize one local JSON store operation across instances and cooperating * processes. The in-process queue prevents needless native contention; the * adjacent lease directory is the actual cross-process ownership boundary. */ export declare function withLocalJsonStoreLock(storagePath: string, operation: (lease: LocalJsonStoreLease) => Promise): Promise; //# sourceMappingURL=local-json-store-lock.d.ts.map