/** * Everything checked on one `` in a ``. * * Lives apart from `validate.ts` because that file is at its 1000-line ceiling, * and because this is a coherent unit on its own: the interpolation filters, the * typed-column declaration, and the row condition are the three things a `` * can get wrong. */ import type { Diagnostic } from '../errors/index.js'; import type { AttrContext, DataElementContext } from '../generated/TDCParser.js'; /** * What this needs from the validator's context — declared structurally so the * check does not have to import the Ctx class and create a cycle. */ export interface DataCheckSink { readonly diagnostics: Diagnostic[]; readonly inject: string; rememberExpression(attr: AttrContext, expr: string, eachBuiltins?: readonly string[]): void; } /** * Flag unknown filters in `${{ name | filter | … }}`. Only runs for the default * `${{%}}` inject (custom delimiters are left unchecked, and any `${{…|…}}` under * the default IS a real interpolation, so there are no false positives). */ export declare function checkData(data: DataElementContext, ctx: DataCheckSink, eachBuiltins?: readonly string[]): void; //# sourceMappingURL=data-element.d.ts.map