import type { EcoBuildPlugin } from '../../../build/contracts/build-types.js'; import type { AssetDefinition } from './assets.types.js'; import { type BrowserRuntimeEntryModuleConfig } from './browser-runtime-entry.factory.js'; export declare const BROWSER_RUNTIME_SCRIPT_ATTRIBUTES: { readonly type: "module"; readonly defer: ""; }; /** * Builds the public vendor URL used for generated browser runtime assets. */ export declare function buildBrowserRuntimeAssetUrl(fileName: string): string; /** * Declares a browser runtime script asset backed by one importable module. * * @remarks * Runtime assets are emitted as excluded head scripts because integrations often * need the bundler output and specifier registration without injecting the raw * asset directly into HTML during dependency resolution. */ export declare function createBrowserRuntimeScriptAsset(options: { importPath: string; name: string; fileName: string; bundleOptions?: { define?: Record; minify?: boolean; external?: string[]; excludeAppBuildPlugins?: string[]; naming?: string; plugins?: EcoBuildPlugin[]; }; attributes?: Record; }): AssetDefinition; /** * Creates a browser runtime asset from a generated re-export entry module. * * @remarks * This is the shared "module list -> generated entry file -> runtime asset" * path used by integrations that need browser-side runtime bundles without * owning bespoke entry-file generation logic. */ export declare function createBrowserRuntimeModuleAsset(options: { modules: BrowserRuntimeEntryModuleConfig[]; name: string; fileName: string; cacheDirName?: string; rootDir?: string; workDir?: string; bundleOptions?: { define?: Record; minify?: boolean; external?: string[]; excludeAppBuildPlugins?: string[]; naming?: string; plugins?: EcoBuildPlugin[]; }; attributes?: Record; }): AssetDefinition;