import type { ScreenState, UIDiff } from "@loomic/types"; /** * UIComposer — applies incremental UI diffs to the current screen state. * The model never writes JSX; it emits diffs that this layer applies. */ export declare class UIComposer { private state; constructor(screenId: string); getState(): Readonly; /** Take a deep-copy snapshot of the current screen state for rollback. */ snapshot(): ScreenState; /** Restore a previously taken snapshot, discarding current state. */ restore(snapshot: ScreenState): void; applyDiffs(diffs: UIDiff[]): ScreenState; private applyDiff; private mountNode; private unmountNode; private reorderNode; private updateNodeProps; private setNodeVisibility; } //# sourceMappingURL=ui-composer.d.ts.map