import { ClientOpts, RedisClient } from 'redis'; import { IRedisCacheClient } from './IRedisCacheClient'; import { ICacheGetOptions, ICacheSetOptions } from '../../../libs/cache/ICacheOptions'; export declare class RedisCacheClient implements IRedisCacheClient { options: ClientOpts; client: RedisClient; private connected; constructor(options: ClientOpts); connect(): Promise; get(key: string, options?: ICacheGetOptions): Promise; serialize(v: any): string; unserialize(v: any): any; set(key: string, value: any, options?: ICacheSetOptions): Promise; close(): Promise; removeKeysByPattern(name: string): Promise; }