import type Redis from 'ioredis'; import { Loader } from '../Loader'; import type { Cache, CacheEntry } from '../types/DataSources'; import type { GetManyResult } from '../types/SyncDataSources'; import type { RedisCacheConfiguration } from './AbstractRedisCache'; import { AbstractRedisCache } from './AbstractRedisCache'; export declare class RedisCache extends AbstractRedisCache implements Cache { readonly expirationTimeLoadingOperation: Loader; ttlLeftBeforeRefreshInMsecs?: number; name: string; constructor(redis: Redis, config?: Partial); delete(key: string): Promise; deleteMany(keys: string[]): Promise; get(key: string): Promise; getMany(keys: string[]): Promise>; getExpirationTime(key: string): Promise; set(key: string, value: T | null): Promise; setMany(entries: readonly CacheEntry[]): Promise; close(): Promise; }