/** * Validation for `` — a date measured from another date. * * `of=` is what turns a date generator from a DRAW into an OFFSET, and the two * are configured by different attributes entirely. That makes the mistakes here * silent ones by nature: a `from=` written beside an `of=` looks like it bounds * the result and does nothing at all, because the result is wherever the source * plus the offset lands. So each is named rather than ignored. * * The declaration-order complaint is TDC240, shared with `running` and `stat` — * the same rule, the same fix, and the offset is built in declaration order for * the same reason they are: it reads a column that has to exist already. */ import type { Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext, SelfClosingElementContext } from '../generated/TDCParser.js'; /** Everything a date offset needs said, and nothing that contradicts it. */ export declare function checkGenDateOffset(gen: OpenCloseElementContext | SelfClosingElementContext, declaredAbove: readonly string[], diagnostics: Diagnostic[], repeating?: readonly string[]): void; //# sourceMappingURL=date-offset.d.ts.map