import type { CacheBackend, CacheConfig } from './types'; /** * In-memory cache implementation using node-cache */ export declare class MemoryCacheBackend implements CacheBackend { private cache; constructor(config?: { maxKeys?: number; defaultTTL?: number; checkPeriod?: number; }); get(key: string): Promise; set(key: string, value: unknown, ttl?: number): Promise; delete(key: string): Promise; has(key: string): Promise; clear(): Promise; } /** * Redis cache implementation (lazy-loaded only if configured) */ export declare class RedisCacheBackend implements CacheBackend { private client; private connected; constructor(config: NonNullable); get(key: string): Promise; set(key: string, value: unknown, ttl?: number): Promise; delete(key: string): Promise; has(key: string): Promise; clear(): Promise; } /** * Initializes the cache system with configuration */ export declare function initializeCache(config: CacheConfig): void; /** * Get the current cache backend */ export declare function getCacheBackend(): CacheBackend; //# sourceMappingURL=backends.d.ts.map