/************************** * Pod-Level Module Cache Singleton **************************/ import { LRUCache } from "../utils/lru-wrapper.js"; export interface ModuleCacheMap extends Map { getOrInsert(key: string, value: string): string; getOrInsertComputed(key: string, callback: (key: string) => string): string; } interface ModuleCacheStats { moduleCache: { size: number; maxEntries: number; ttlMs: number; }; esmCache: { size: number; maxEntries: number; ttlMs: number; }; } export declare function getModuleCache(): LRUCache; export declare function getEsmCache(): LRUCache; export declare function createModuleCache(): ModuleCacheMap; export declare function createEsmCache(): ModuleCacheMap; export declare function getModuleCacheStats(): ModuleCacheStats; export declare function clearModuleCaches(): void; export declare function clearModuleCacheForProject(projectId: string): number; export declare function destroyModuleCaches(): void; export {}; //# sourceMappingURL=module-cache.d.ts.map