import { Redis } from 'ioredis'; import { CacheOptions } from '../config/config-options-interface'; import { CacheAdapter, SetValueType } from './cache-adapter-interface'; export declare class IORedisAdapter implements CacheAdapter { client: Redis; timeout: number; settings: Omit; constructor({ host, port, password, keyPrefix, requestTimeout, ttl, }: CacheOptions); private getInstance; get(key: string): Promise; set(key: string, data: T, ttl?: number | false): Promise; delete(key: string): Promise; private disconnect; handleError(err: Error): null; getSetMembers(key: string): Promise; addToSet(key: string, value: T | T[]): Promise; removeFromSet(key: string, value: T | T[]): Promise; isSetMember(key: string, value: T): Promise; expire(key: string, ttl: number): Promise; }