Import
import type { SparsePartNode } from "@typed/template/Template";Signatures
export type SparsePartNode = SparseAttrNode | SparseClassNameNode | SparseCommentNode | SparseTextNode;Why
Sparse syntax preserves literal segments while still giving every dynamic value context-specific update and escaping semantics.
Ownership and lifetime
The AST values own no reactive producer; render Scopes own evaluation.
Examples
import { SparseTextNode, type SparsePartNode } from "@typed/template/Template"
const part: SparsePartNode = new SparseTextNode([])Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.