import type { Redis } from 'ioredis'; import { CacheAdapter } from '../interfaces/cache-adapter.interface'; import { FeatureFlagWithOverrides } from '../interfaces/feature-flag.interface'; export interface RedisCacheAdapterOptions { client: Redis; subscriber?: Redis; keyPrefix?: string; channel?: string; } export declare class RedisCacheAdapter implements CacheAdapter { private readonly client; private readonly subscriber; private readonly keyPrefix; private readonly channel; private readonly ownsSubscriber; constructor(options: RedisCacheAdapterOptions); private setupSubscription; get(key: string): Promise; set(key: string, data: FeatureFlagWithOverrides, ttlMs: number): Promise; getAll(): Promise; setAll(data: FeatureFlagWithOverrides[], ttlMs: number): Promise; invalidate(key?: string): Promise; onModuleDestroy(): Promise; private prefixedKey; private flushLocal; }