import { LruMap } from "./lru.js"; //#region src/utils/withDedupe.d.ts /** @internal */ declare const promiseCache: LruMap>; type WithDedupeOptions = { enabled?: boolean | undefined; id?: string | undefined; }; /** Deduplicates in-flight promises. */ declare function withDedupe(fn: () => Promise, { enabled, id }: WithDedupeOptions): Promise; //#endregion export { promiseCache, withDedupe }; //# sourceMappingURL=withDedupe.d.ts.map