import type { Redis } from 'ioredis'; import type { CommonCacheConfiguration } from '../types/DataSources'; export interface RedisCacheConfiguration extends CommonCacheConfiguration { prefix: string; json: boolean; timeoutInMsecs?: number; separator?: string; } export declare const DEFAULT_REDIS_CACHE_CONFIGURATION: RedisCacheConfiguration; export declare abstract class AbstractRedisCache { protected readonly redis: Redis; protected readonly config: ConfigType; constructor(redis: Redis, config: Partial); protected internalSet(resolvedKey: string, value: LoadedValue | null): Promise<"OK">; protected postprocessResult(redisResult: string | null): any; clear(): Promise; resolveKey(key: string): string; resolveCachePattern(): string; }