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