import type { AtomType } from "../Mutables/atom/atom"; import type { AsyncActionOptions, AsyncActionStatus } from "./asyncActionTypes"; /** * Cache manager interface for async actions */ export interface CacheManager Promise> { getCacheKey: (args: Parameters) => string; removeCacheEntry: (cacheKey: string) => void; createCacheMethod: (dataAtom: AtomType> | null>, errorAtom: AtomType, statusAtom: AtomType, executeAction: (context: any, args: Parameters) => Promise>>) => T; createClearCacheMethod: () => (...args: any[]) => void; } /** * Creates a cache manager for async actions with LRU eviction and expiration support */ export declare function createCacheManager Promise>(options?: AsyncActionOptions): CacheManager; //# sourceMappingURL=asyncActionCache.d.ts.map