import type { ZenIR } from '../ir/types';
import type { ComponentMetadata } from '../discovery/componentDiscovery';
/**
 * Inline all components in a ZenIR.
 *
 * This is Stage 2 of the compiler:
 * - Expands <Component /> tags into their templates.
 * - Renames local symbols in component scripts and expressions to avoid collisions.
 * - Merges component scripts directly into the main page script.
 * - Promotes component expressions to the page-level expression registry.
 *
 * NATIVE IMPLEMENTATION:
 * Delegates to the Rust native compiler for performance and correctness.
 */
export declare function resolveComponentsInIR(ir: ZenIR, components: Map<string, ComponentMetadata>): ZenIR;
