import type { CacheOptions } from '../types/index.js'; export declare class MemoryCache { private cache; private readonly defaultTtl; private readonly maxSize; private readonly cleanupInterval; constructor(options?: CacheOptions); set(key: string, value: T, ttl?: number): void; get(key: string): T | null; delete(key: string): boolean; clear(): void; has(key: string): boolean; size(): number; getStats(): { size: number; memoryUsage: number; hitRate: number; }; private cleanup; private wouldExceedMaxSize; private evictLeastRecentlyUsed; private estimateMemoryUsage; private estimateEntrySize; destroy(): void; } export declare const createCacheKey: { imageInfo: (imageName: string, tag: string) => string; imageReadme: (imageName: string, tag: string) => string; searchResults: (query: string, limit: number, isOfficial?: boolean, isAutomated?: boolean) => string; imageTags: (imageName: string) => string; }; export declare const cache: MemoryCache;