import type { CacheStore } from "./store"; declare class RedisCacheStore implements CacheStore { private readonly ttlMs; private readonly maxEntries; private readonly client; private readonly inflight; private readonly keyTags; constructor(redisUrl: string, ttlMs: number, maxEntries: number); get(key: string): Promise; set(key: string, value: T, ttlMs?: number): Promise; getOrSet(key: string, loader: () => Promise, ttlMs?: number): Promise; attachTags(key: string, tags: string[]): Promise; flushTags(tags: string[]): Promise; invalidate(key: string): Promise; invalidateByPrefix(prefix: string): Promise; clear(): Promise; size(): Promise; private storageKey; private tagKey; private detachKeyFromTags; private enforceMaxEntries; } export default RedisCacheStore;