import { Redis } from 'ioredis'; import type { Cache, CacheSetOptions } from '../../fundamentals/cache/def'; export declare class RedisCache implements Cache { private readonly redis; constructor(redis: Redis); get(key: string): Promise; set(key: string, value: T, opts?: CacheSetOptions): Promise; increase(key: string, count?: number): Promise; decrease(key: string, count?: number): Promise; setnx(key: string, value: T, opts?: CacheSetOptions): Promise; delete(key: string): Promise; has(key: string): Promise; ttl(key: string): Promise; expire(key: string, ttl: number): Promise; pushBack(key: string, ...values: T[]): Promise; pushFront(key: string, ...values: T[]): Promise; len(key: string): Promise; list(key: string, start: number, end: number): Promise; popFront(key: string, count?: number): Promise; popBack(key: string, count?: number): Promise; mapSet(map: string, key: string, value: T): Promise; mapIncrease(map: string, key: string, count?: number): Promise; mapDecrease(map: string, key: string, count?: number): Promise; mapGet(map: string, key: string): Promise; mapDelete(map: string, key: string): Promise; mapKeys(map: string): Promise; mapRandomKey(map: string): Promise; mapLen(map: string): Promise; } //# sourceMappingURL=cache.d.ts.map