/** * A keyed cache of async work: one promise per key, created on first request, * shared by concurrent callers, evicted on rejection. */ export declare class AsyncCache { private readonly map; /** The cached promise for `key`, or `create()` cached under it. */ getOrCreate(key: K, create: () => Promise): Promise; /** Evict one key — the next getOrCreate re-runs `create` (e.g. on-chain retune). */ delete(key: K): void; /** Every cached promise — for teardown sweeps (stop each handle, then clear). */ values(): IterableIterator>; clear(): void; }