/** * Static validation for `` subtrees (spec §11, load-time checks). * * Catches the structural problems that can be found without running the tree: * unknown tags, contextual tags used outside an iteration, references to an * unbound `` or unknown ``, wrong arithmetic arity, a `` * with no ``, `` name shadowing, and unknown `` systems. * Deeper value/coercion errors are left to the evaluator, which reports them at * render time with a clear message. * * Diagnostic codes: TDC180–TDC189. */ import { type Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext } from '../generated/TDCParser.js'; /** * Every tag of the compute sub-language, exported for the completion brain: * inside a `` subtree these are the only names worth offering. Read * off the attribute table, so a tag and what it accepts are declared once. */ export declare const COMPUTE_TAGS: ReadonlySet; /** * Validate a `` element. `knownFields`, when provided, is the set of * field names visible to `` (a sibling gen / named sequence); field * references outside it are flagged. */ export declare function checkCompute(computeEl: OpenCloseElementContext, diagnostics: Diagnostic[], knownFields?: ReadonlySet): void; //# sourceMappingURL=compute.d.ts.map