Import
import { RefPartNode } from "@typed/template/Template";Signatures
export declare class RefPartNode {
readonly _tag: "ref";
readonly index: number;
constructor(index: number);
}Why
Refs expose the exact native node and hydration metadata without a component instance abstraction.
Ownership and lifetime
The model owns no reference. The render Scope runs ref setup and finalization.
Constructor
Creates native node-ref syntax.
Property: _tag
Native-ref discriminant.
Property: _tag: Why
Selects exact-node ref setup and hydration metadata.
Property: _tag: Ownership and lifetime
Immutable AST metadata.
Property: index
Interpolation index producing the ref handler.
Property: index: Why
Locates the handler for the exact native node.
Property: index: Ownership and lifetime
Immutable scalar metadata; the render Scope owns setup and finalization.
Examples
import { RefPartNode } from "@typed/template/Template"
const part = new RefPartNode(0)Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.