import { LRUCache } from "../../../../utils/lru-wrapper.js"; export { getLocalFs } from "./local-fs.js"; export type CacheLookupResult = { status: "hit"; path: string; } | { status: "miss"; } | { status: "corrupted"; reason: string; filePath: string; }; export declare const verifiedModuleDeps: LRUCache; /** Record cycle members without exposing them as reusable graph roots. */ export declare function registerCycleManifestSources(cacheDir: string, projectDir: string, sourcePaths: Iterable): Promise; export declare function getMdxEsmSsrCacheDir(projectId: string, contentSourceId: string): string; export declare function getMdxEsmSsrCacheDirs(projectId: string, contentSourceId: string): string[]; export declare function getModulePathCache(cacheDir: string): Promise>; export declare function saveModulePathCache(cacheDir: string): Promise; export declare function clearModulePathCache(): void; /** Await any in-flight disk cleanup (for testing only). */ export declare function waitForDiskCleanup(): Promise; export declare function invalidateModulePaths(changedPaths: string[]): void; export declare function invalidateMdxEsmModule(cacheDir: string, filePath: string, projectDir?: string, reactVersion?: string, cacheVariant?: string): boolean; export declare function invalidateMdxEsmModuleForCachedPath(cachedPath: string, filePath: string, projectDir?: string, reactVersion?: string, cacheDirs?: string | string[] | null, cacheVariant?: string): Promise; export declare function clearESMDiskCache(): Promise; export declare function clearMdxEsmCacheNamespace(projectId: string, contentSourceId: string): Promise; export declare function clearHttpBundleCache(): Promise; /** * Clear all local ESM caches (MDX-ESM disk cache, HTTP bundles, in-memory caches). * Call this on server startup to prevent stale module issues. */ export declare function clearAllLocalCaches(): Promise; export declare function lookupMdxEsmCache(filePath: string, cacheDir: string, projectDir?: string, _contentHash?: string, recoveryOptions?: { projectId: string; contentSourceId: string; }, reactVersion?: string, cacheVariant?: string): Promise; //# sourceMappingURL=index.d.ts.map