Import
import type { ParentNode } from "@typed/template";Signatures
export type ParentNode = ElementNode | SelfClosingElementNode | TextOnlyElement;Why
Renderer compilers can narrow parent-capable syntax without duplicating the full node union.
Ownership and lifetime
This type owns no parsed node or live DOM.
Examples
import { ElementNode, type ParentNode } from "@typed/template/Template"
const parent: ParentNode = new ElementNode("section", [], [])Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.