import type { RuntimeAdapter } from "../platform/adapters/base.js"; export interface ResolvedModule { path: string; type: "file" | "virtual" | "external" | "npm"; content?: string; transformed?: boolean; } export interface ModuleResolverOptions { projectDir: string; importMap?: Record; virtualModules?: Map; adapter: RuntimeAdapter; cacheSize?: number; } export declare class ModuleResolver { private options; private importMap; private virtualModules; private cache; private adapter; constructor(options: ModuleResolverOptions); private cacheAndReturn; private isContainedPath; private resolveContainedFile; resolve(specifier: string, referrer?: string): Promise; clearCache(pattern?: string): void; addVirtualModule(path: string, content: string): void; removeVirtualModule(path: string): void; } //# sourceMappingURL=module-resolver.d.ts.map