/**
* Release Asset Manifest — HTML consumption helpers.
*
* Pure helpers used by the HTML shell generator to rewrite module URLs and
* preload hints to content-addressed `/_vf/assets/{hash}.js` URLs when a ready
* manifest covers the entry. Misses fall back to the existing URL (per-entry)
* and are counted via structured debug logs.
*
* @module release-assets/html-consumption
*/
import type { ReleaseAssetManifest } from "./manifest-schema.js";
/**
* Normalize a logical module path to the manifest's key convention.
*
* The HTML shell works with relative source paths like `pages/index.tsx` and
* `/_vf_modules/pages/index.js` URLs. Manifest module keys use the logical
* source path (e.g. `pages/index.tsx`). This strips a leading `/_vf_modules/`
* prefix and URL query/hash data before the resolver compares source
* extensions.
*/
export declare function normalizeManifestModuleKey(path: string): string;
/**
* Resolve a module URL through the manifest.
*
* Returns the content-addressed asset URL on a hit, or null on a miss (caller
* keeps the existing URL). The manifest is consulted by both the logical key
* and its `.js`-stripped form to tolerate either input shape.
*/
export declare function resolveManifestModuleUrl(manifest: ReleaseAssetManifest, logicalPath: string): string | null;
/** Resolve the route closure module URLs for preload hints from the manifest. */
export declare function resolveManifestRoutePreloadUrls(manifest: ReleaseAssetManifest, route: string): string[];
//# sourceMappingURL=html-consumption.d.ts.map