/** * Validation for `` — one number for the whole run. * * The same two things `running` needs, for the same two reasons: it has to say * WHAT to summarise (`of=`) and HOW (`op=`), and the column it reads has to be * declared ABOVE it, because the statistic is built in declaration order out of * a column that already exists. * * The declaration-order complaint is TDC240, shared with `running` on purpose — * it is the same rule with the same fix, and a second code for it would only * make the error reference longer without telling a reader anything new. */ import type { Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext, SelfClosingElementContext } from '../generated/TDCParser.js'; /** Every attribute a statistic cannot do without, and the ones it can only have one way. */ export declare function checkGenStat(gen: OpenCloseElementContext | SelfClosingElementContext, declaredAbove: readonly string[], diagnostics: Diagnostic[]): void; //# sourceMappingURL=stat.d.ts.map