import { CacheSetOptions, ICache, RedisCacheConstructorOptions, TRedisClient } from "../../../common/interfaces/caching"; export declare class RedisCache implements ICache { private readonly redisClient; constructor(options: RedisCacheConstructorOptions); static CreateRedisClient(options: RedisCacheConstructorOptions): TRedisClient; /** * NOTE: this method is not using all options passed in and tls is always disabled. * @param options * @constructor * @private */ static CreateRedisCluster(options: RedisCacheConstructorOptions): TRedisClient; dispose(): Promise; get(key: string): Promise; /** * stores serialized data in redis cache * @param key * @param data * @param options */ set(key: string, data: T, options?: CacheSetOptions): Promise; /** * delete key in redis cache * @param key */ del(key: string): Promise; } //# sourceMappingURL=index.d.ts.map