import type { ContextPackage } from '../types/context-curator.js'; export interface CacheMetadata { cacheKey: string; cachedAt: Date; ttlMs: number; sizeBytes: number; hitCount: number; lastAccessed: Date; version: string; } export interface CachedPackage { package: ContextPackage; metadata: CacheMetadata; } export declare class PackageCache { private static readonly CACHE_DIR; private static readonly CACHE_VERSION; private static readonly DEFAULT_TTL_MS; private static readonly MAX_CACHE_SIZE_MB; static initialize(): Promise; static generateCacheKey(projectPath: string, userPrompt: string, taskType: string): string; static getCachedPackage(cacheKey: string): Promise; static cachePackage(cacheKey: string, contextPackage: ContextPackage, ttlMs?: number): Promise; static removeCacheEntry(cacheKey: string): Promise; static clearCache(): Promise; static getCacheStats(): Promise<{ totalEntries: number; totalSizeBytes: number; totalSizeMB: number; oldestEntry: Date | null; newestEntry: Date | null; totalHits: number; }>; private static enforceMaxCacheSize; } //# sourceMappingURL=package-cache.d.ts.map