import type { TNode } from '@tempots/dom'; import type { ASTNode, Statement } from '../parser/types'; import type { Library } from '../library/types'; /** * Recursively resolve an ASTNode into a TNode. * The optional `statements` map enables reference resolution — * without it, references render as skeleton placeholders. */ export declare function resolveNode(node: ASTNode, library: Library, debug?: boolean, statements?: ReadonlyMap, onAction?: (event: Record) => void): TNode;