/** * Layout engine — Yoga adapter with pure TypeScript implementation. * * Phase 1 migration target (no React dependency). * Includes vendored yoga-native/ (~86KB pure TS, no WASM/native addon). */ // Layout engine entry point export { createLayoutNode } from './engine.js' // Geometry primitives export type { Edges, Point, Rectangle, Size, } from './geometry.js' export { addEdges, clamp, clampRect, edges, resolveEdges, unionRect, withinBounds, ZERO_EDGES, } from './geometry.js' // Layout node adapter interface export type { LayoutMeasureFunc, LayoutNode, } from './node.js' export { LayoutAlign, LayoutDisplay, LayoutEdge, LayoutFlexDirection, LayoutGutter, LayoutJustify, LayoutMeasureMode, LayoutOverflow, LayoutPositionType, LayoutWrap, } from './node.js' // Yoga adapter export { createYogaLayoutNode, YogaLayoutNode } from './yoga.js'