/** * Validation for `repeat` / `separator` on a ``. * * Runs for EVERY generator type, not just one, because the important check is * whether this type can carry `repeat` at all. Refusing here — before anything * is generated — is what keeps the two engines honest: the in-RAM builder could * happily repeat a counter, the streaming one cannot, and a config that quietly * means different things in different engines is worse than a rejected one. */ import { type Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext, SelfClosingElementContext } from '../generated/TDCParser.js'; export declare function checkGenRepeat(gen: OpenCloseElementContext | SelfClosingElementContext, diagnostics: Diagnostic[]): void; /** * `repeat` belongs to a ``, which produces values. A `` CHOOSES one * of its branches, so repeating it has no defined meaning and the runtime * ignores the attribute — the silent-and-wrong outcome this project keeps * refusing to ship. Flag it instead. */ export declare function checkMixRepeat(mixEl: OpenCloseElementContext, diagnostics: Diagnostic[]): void; //# sourceMappingURL=repeat.d.ts.map