/** * Validation for the positional index syntax of `mask="…"` — see * docs/specs/2026-07-23-mask-positional-reordering.md. * * A mask is lenient everywhere else on purpose: too few characters simply leave * a slot empty, because the input length is unknown until render time. A * malformed INDEX is a different thing — it is a typo, most likely `x[1-2]` * written from habit, and left alone it would abort mid-render with no position * to point at. Catching it here costs one parse of a string that is already * known at validation time. */ import { type Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext, SelfClosingElementContext } from '../generated/TDCParser.js'; export declare function checkGenMask(gen: OpenCloseElementContext | SelfClosingElementContext, diagnostics: Diagnostic[]): void; //# sourceMappingURL=mask.d.ts.map