/** * WP2 — Layout engine. Layout tree → nested CSS-grid DOM. * * Takes a fully-expanded `LayoutNode` (the parser has already expanded any * preset alias), so this module depends only on ./types — nothing else. * Pure string building; no DOM API. * * See BUILD-PLAN.md WP2 and docs/dom-contract.md ("Layout grid (WP2 output)"). */ import type { LayoutNode, GridRender } from './types.js'; /** * Render a layout tree to nested grid DOM with empty region cells. * Returns the inner HTML for `.orz-content` and the region names in order. */ export declare function renderLayout(node: LayoutNode): GridRender;