/**
 * Compiled Template Output Types
 *
 * Phase 2: Transform IR → Static HTML + Runtime Bindings
 */
export type CompiledTemplate = {
    html: string;
    bindings: Binding[];
    scripts: string | null;
    styles: string[];
};
export type Binding = {
    id: string;
    type: 'text' | 'attribute' | 'conditional' | 'optional' | 'loop';
    target: string;
    expression: string;
    location?: {
        line: number;
        column: number;
    };
    loopContext?: LoopContext;
};
/**
 * Loop context for expressions inside map iterations
 * Phase 7: Tracks loop variables for runtime setter generation
 */
export type LoopContext = {
    variables: string[];
    mapSource?: string;
};
