/** * L1 Memory Cache * * In-memory LRU cache (fastest tier) */ /** * L1 Memory Cache with LRU eviction */ export declare class L1MemoryCache { private cache; private maxSize; private defaultTTL; private accessPatterns; constructor(); /** * Get value from cache */ get(key: string): Promise; /** * Set value in cache with intelligent TTL */ set(key: string, value: T, ttl?: number): Promise; /** * Pre-warm cache with commonly accessed entries */ preWarm(entries: Array<{ key: string; value: any; ttl?: number; }>): Promise; /** * Record access pattern for intelligent TTL */ private recordAccessPattern; /** * Calculate intelligent TTL based on access patterns */ private calculateIntelligentTTL; /** * Delete from cache */ delete(key: string): Promise; /** * Clear entire cache */ clear(): Promise; /** * Invalidate entries matching pattern (simple prefix match) */ invalidatePattern(pattern: string): number; /** * Get current cache size in bytes */ private getCurrentSize; /** * Evict least recently used entry */ private evictLRU; /** * Cleanup expired entries */ private cleanup; /** * Get cache statistics */ getStats(): Promise<{ size: number; entries: number; }>; } //# sourceMappingURL=l1-memory-cache.d.ts.map