import type { EcoPagesAppConfig } from '../../types/internal-types.js'; import type { DevTransformBundleContributor } from './types.js'; export type DevTransformServerOptions = { appConfig: EcoPagesAppConfig; contributors?: readonly DevTransformBundleContributor[]; onModuleDependencies?: (modulePath: string, dependencies: string[]) => void; }; /** * Serves per-module browser ESM on demand during native CLI dev. * * @remarks * Registration returns a stable URL immediately; the first request (or a cache miss) * transpiles one source file and rewrites imports to dev-transform or vendor URLs. */ export declare class DevTransformServer { private readonly appConfig; private readonly bundler; private readonly vendorRegistry; private readonly contributors; private readonly runtimeSpecifierMap; private readonly onModuleDependencies?; private readonly urlToSource; private readonly sourceToUrl; private readonly cache; private readonly inFlight; private cacheGeneration; constructor(options: DevTransformServerOptions); registerModule(sourcePath: string): string; getRegisteredSourcePath(moduleUrl: string): string | undefined; addContributor(contributor: DevTransformBundleContributor): void; private rebuildRuntimeSpecifierMap; private resolveVendorBundlePlugins; getWatchedModules(): ReadonlyMap; invalidateSource(sourcePath: string): void; invalidateAll(): void; reset(): void; tryHandleRequest(request: Request): Promise; private resolveSourcePathFromModuleUrl; private createJavaScriptResponse; private materialize; }