import type { RuntimeAdapter } from "../platform/adapters/base.js"; interface VirtualModule { id: string; source: string; transformed?: string; contentType: string; } export declare class VirtualModuleSystem { private modules; private baseUrl; private adapter; constructor(baseUrl?: string, adapter?: RuntimeAdapter); register(id: string, source: string, projectDir: string, fileType?: "tsx" | "jsx" | "ts" | "js"): Promise; registerModule(id: string, source: string, projectDir: string, fileType?: "tsx" | "jsx" | "ts" | "js"): Promise; getModule(id: string): VirtualModule | undefined; handleRequest(request: Request): Response | null; clear(): void; } export {}; //# sourceMappingURL=virtual-module-system.d.ts.map