import type { Client } from 'redis-extension'; import { JsonAdapter } from 'redis-extension'; import type { RedisClient, RedisClientOptions } from '../../redis'; import type { CacheClearOptions, CacheSetOptions, ICache } from '../types'; export declare class RedisCache implements ICache { protected client: Client; protected jsonAdapter: JsonAdapter; constructor(input: string | boolean | RedisClient | RedisClientOptions); get(key: string): Promise; pop(key: string): Promise; has(key: string): Promise; set(key: string, value: any, options: CacheSetOptions): Promise; add(key: string, value: any, options?: CacheSetOptions): Promise; renewIfValue(key: string, value: string, ttl: number): Promise; dropIfValue(key: string, value: string): Promise; increment(key: string, value?: number, options?: CacheSetOptions): Promise; drop(key: string): Promise; dropMany(keys: string[]): Promise; clear(options?: CacheClearOptions): Promise; } //# sourceMappingURL=redis.d.ts.map