import type { CacheBackend } from "./types"; /** * Redis cache backend using Bun's native Redis client (RESP3, pipelining, TLS support) */ export declare class RedisBunCache implements CacheBackend { private client; private subscriber; constructor(url?: string); get(key: string): Promise; set(key: string, value: unknown, ttlSeconds?: number): Promise; clear(): Promise; publish(channel: string, message: string): Promise; subscribe(channel: string): Promise; pushVariantToList(baseKey: string, payload: string): Promise; getRandomVariantFromSet(baseKey: string): Promise; addVariantToSet(baseKey: string, payload: string): Promise; nextRoundRobinIndex(baseKey: string): Promise; } export declare function createRedisCache(): RedisBunCache; //# sourceMappingURL=redis-bun.d.ts.map