import type { CachePayload, CacheStore, CacheStoreStats } from "../types.js"; export interface RedisCacheStoreOptions { url?: string; keyPrefix?: string; enableFallback?: boolean; /** TTL in seconds for cache entries (default: 3600 = 1 hour) */ ttlSeconds?: number; } export declare class RedisCacheStore implements CacheStore { private readonly connection; private readonly observedRawByPayload; private readonly keyPrefix; private readonly enableFallback; private readonly ttlSeconds; private fallbackStore; private redisUnavailable; private errorLogged; constructor(options?: RedisCacheStoreOptions); private getFallbackStore; private ensureClient; private storageKey; private shouldUseFallback; private shouldSkipRedis; private markRedisUnavailable; get(key: string): Promise; set(key: string, value: CachePayload): Promise; delete(key: string): Promise; deleteIfUnchanged(key: string, expected: CachePayload): Promise; deleteByPrefix(prefix: string): Promise; clear(): Promise; destroy(): Promise; getStats(): CacheStoreStats; } //# sourceMappingURL=redis-store.d.ts.map