UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

4 lines • 270 B
import type { IndexCacheStore } from './store.ts'; /** Serialize an in-process refresh and its lookup for one index scope. */ export declare function indexLock<T>(index: IndexCacheStore, path: string, fn: () => Promise<T>): Promise<T>; //# sourceMappingURL=lock.d.ts.map