import { type DataSourceOptions } from '../data-source/index.js'; import { type Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext, SelfClosingElementContext } from '../generated/TDCParser.js'; export interface FileValidationContext { readonly diagnostics: Diagnostic[]; readonly dataSources: DataSourceOptions; } export declare function checkGenFile(gen: OpenCloseElementContext | SelfClosingElementContext, ctx: FileValidationContext): void; /** * A drawing's `src=` — the same existence check, without the file generator's * own rules about columns and linked rows. * * Checked before the run rather than during it: a missing picture discovered on * row one of a million-row job has already cost whatever the job cost. `src=` is * one of three ways to hand the generator a shape, so its absence is only a * mistake when the other two are absent too — which is TDC244, the drawing * equivalent of a `type="regex"` with no pattern. */ export declare function checkGenDrawing(gen: OpenCloseElementContext | SelfClosingElementContext, ctx: FileValidationContext): void; //# sourceMappingURL=file.d.ts.map