/**
 * Router Manifest Loading
 *
 * Handles lazy loading and validation of route manifests.
 */
import { type EntryData, type MetricsStore } from "../server/context";
import type { RouteEntry } from "../types";
/**
 * Load manifest from route entry with AsyncLocalStorage context
 * Handles lazy imports, unwrapping, and validation
 *
 * Results are cached at module level after first execution. Subsequent calls
 * for the same (routeKey, isSSR) within the same isolate return cached data
 * without re-executing the DSL handler.
 */
/**
 * Clear the module-level manifest cache.
 * Called on HMR to ensure stale handler references are discarded.
 */
export declare function clearManifestCache(): void;
export declare function loadManifest(entry: RouteEntry<any>, routeKey: string, path: string, metricsStore?: MetricsStore, isSSR?: boolean): Promise<EntryData>;
//# sourceMappingURL=manifest.d.ts.map