import { MemoryCache, MemoryStore } from 'cache-manager'; import { RedisCache, RedisStore } from 'cache-manager-ioredis-yet'; type CacheType = MemoryCache | RedisCache; type StoreType = MemoryStore | RedisStore; export declare class UnifiedCache { #private; prepare(): Promise; getType(): Promise<"default" | "redis">; getBackend(): Promise; get: CacheType['get']; set: CacheType['set']; del: CacheType['del']; reset: CacheType['reset']; wrap: CacheType['wrap']; keys: StoreType['keys']; mset: StoreType['mset']; mget: StoreType['mget']; mdel: StoreType['mdel']; has(key: string): Promise; } export declare const unifiedCache: UnifiedCache; export declare const cleanCaches: () => Promise; export {};