/** * JQHTML v2 Instruction Processor * * Processes instruction arrays generated by the parser * Uses v1's HTML string building approach for performance */ import { Jqhtml_Component } from './component.js'; import { Jqhtml_Markup } from './markup.js'; export interface TagInstruction { tag: [string, Record, boolean]; } export interface RawTagInstruction { rawtag: [string, Record, string]; } export interface ComponentInstruction { comp: [string, Record] | [string, Record, ((context: any) => Jqhtml_Markup) | Record Jqhtml_Markup>]; } export interface SlotInstruction { slot: [string, Record, (context: any) => Jqhtml_Markup]; } export type Instruction = TagInstruction | RawTagInstruction | ComponentInstruction | SlotInstruction | Jqhtml_Markup | string; export declare function uid(): string; /** * Process an array of instructions and append to target * Uses v1 approach: build HTML string, set innerHTML, then initialize */ export declare function process_instructions(instructions: Instruction[], target: any, context: Jqhtml_Component, slots?: Record): void; /** * Utility to extract slots from instructions */ export declare function extract_slots(instructions: Instruction[]): Record; //# sourceMappingURL=instruction-processor.d.ts.map