/** * Redis storage backend for RecCall * Provides enterprise-grade storage with persistence and scalability */ import type { IContextStorage, ShortcutId, Shortcut } from '../core/interfaces.js'; import type { Redis } from 'ioredis'; export interface RedisStorageConfig { client?: Redis; url?: string; keyPrefix?: string; ttl?: number; } export declare class RedisStorage implements IContextStorage { private client; private keyPrefix; private ttl; constructor(config: RedisStorageConfig); private getKey; private getIndexKey; record(shortcut: ShortcutId, context: string, options?: Record): Promise; get(shortcut: ShortcutId): Promise; list(): Promise; update(shortcut: ShortcutId, context: string, options?: Record): Promise; delete(shortcut: ShortcutId): Promise; purge(): Promise; exists(shortcut: ShortcutId): Promise; getByCategory(category: string): Promise; /** * Close Redis connection */ close(): Promise; /** * Get Redis client instance */ getClient(): Redis; } //# sourceMappingURL=redis.d.ts.map