import { KeyType, ValueType } from 'ioredis'; declare type RedisOptions = { databaseIndex: number; host: string; port: number; }; export declare class RedisClient { private readonly client; private readonly options; private static instance?; constructor(options: RedisOptions); static getInstance(): RedisClient; set(key: KeyType, value: ValueType): Promise; setExpire(params: { key: KeyType; value: ValueType; time: number; }): Promise; get(key: KeyType): Promise; delete(key: KeyType): Promise; getList(keyList: KeyType[]): Promise>; setList(keyValueList: { key: string; value: string; }[]): Promise<[Error | null, any][]>; setExpireList(keyValueList: { key: string; value: string; time: string; }[]): Promise<[Error | null, any][]>; deleteList(keyList: string[]): Promise<[Error | null, any][]>; } export {};