/** * Cache lookup phase for the SSR module loader. * * @module rendering/orchestrator/module-loader/module-cache-lookup */ import { createFileSystem } from "../../../platform/compat/fs.js"; import { lookupMdxEsmCache } from "../../../transforms/mdx/esm-module-loader/cache/index.js"; export declare function buildModuleTransformCacheVariant(dependencyPinningCacheKey?: string, moduleServerOrigin?: string, serverExternalPackages?: readonly string[], dev?: boolean): string | undefined; export declare function getModuleCacheKey(filePath: string, projectId?: string, projectDir?: string, contentSourceId?: string, reactVersion?: string, mode?: "development" | "production", dependencyPinningCacheKey?: string, moduleServerOrigin?: string, serverExternalPackages?: readonly string[]): string; type LookupMdxCache = typeof lookupMdxEsmCache; type FileSystemReader = Pick, "readTextFile">; export interface ResolveCachedModulePathInput { cacheKey: string; filePath: string; projectDir: string; projectId?: string; contentSourceId?: string; reactVersion?: string; dependencyPinningCacheKey?: string; moduleServerOrigin?: string; serverExternalPackages?: readonly string[]; /** Compile mode of the artifacts this lookup may reuse. */ dev?: boolean; moduleCache: Map; readTextFile?: (path: string) => Promise; fileSystem?: FileSystemReader; lookupMdxCache?: LookupMdxCache; } export declare function resolveCachedModulePath(input: ResolveCachedModulePathInput): Promise; export {}; //# sourceMappingURL=module-cache-lookup.d.ts.map