import type { Store, StoreConfig } from "cache-manager"; import type { RedisClientType, RedisClientOptions } from "redis"; interface RedisStore extends Store { name: string; getClient: () => RedisClientType; isCacheableValue: any; set: (key: any, value: any, options: any, cb: any) => Promise; get: (key: any, options: any, cb: any) => Promise; del: (...args: any[]) => Promise; mset: (...args: any[]) => Promise; mget: (...args: any[]) => Promise; mdel: (...args: any[]) => Promise; reset: (cb: any) => Promise; keys: (pattern: string, cb: any) => Promise; ttl: (key: any, cb: any) => Promise; } export function redisStore(config: RedisClientOptions & StoreConfig): Promise;