/**
 * @zenithbuild/core - Page Script Bundler
 *
 * COMPILER-FIRST ARCHITECTURE
 * ═══════════════════════════════════════════════════════════════════════════════
 *
 * This bundler performs ZERO inference. It executes exactly what the compiler specifies.
 *
 * Rules:
 * - If a BundlePlan is provided, bundling MUST occur
 * - If bundling fails, throw a hard error (no fallback)
 * - The bundler never inspects source code for intent
 * - No temp files, no heuristics, no recovery
 *
 * Bundler failure = compiler bug.
 * ═══════════════════════════════════════════════════════════════════════════════
 */
import type { BundlePlan } from './ir/types';
/**
 * Execute a compiler-emitted BundlePlan
 *
 * This is a PURE PLAN EXECUTOR. It does not:
 * - Inspect source code for imports
 * - Decide whether bundling is needed
 * - Fall back on failure
 * - Use temp files
 *
 * @param plan - Compiler-emitted BundlePlan (must exist; caller must not call if no plan)
 * @throws Error if bundling fails (no fallback, no recovery)
 */
export declare function bundlePageScript(plan: BundlePlan): Promise<string>;
