import type { EcoBuildPlugin } from '../../build/contracts/build-types.js'; import type { EcoPagesAppConfig } from '../../types/internal-types.js'; export type DevTransformVendorRegistryOptions = { appConfig: EcoPagesAppConfig; getRuntimeSpecifierMap: () => ReadonlyMap; resolveVendorBundlePlugins?: () => Promise; }; /** * Lazily prebundles bare npm imports into cacheable `/assets/vendors/*` chunks. */ export declare class DevTransformVendorRegistry { private readonly appConfig; private readonly browserBundleService; private readonly getRuntimeSpecifierMap; private readonly resolveVendorBundlePlugins?; private readonly vendorsDir; private readonly cache; private readonly inFlight; constructor(options: DevTransformVendorRegistryOptions); resolveKnownVendorUrl(specifier: string): string | undefined; resolveVendorUrl(specifier: string): Promise; tryHandleVendorRequest(pathname: string): Response | null; invalidateAll(): void; private createVendorResponse; private resolveExistingVendorPath; private prebundleSpecifier; private resolvePackageEntry; }