/** * Validation of the `datasets` envelope and of inline `data` rows. * * Rows are untrusted input like every other spec value: they are bounded, * scalar-only, and keyed by plain identifiers. Forbidden key names (`style`, * `template`, ...) are already reported by the document-wide forbidden-key scan, * which runs before this, so they are not repeated here. */ import { type DiagnosticBag } from '../diagnostics.js'; import { type DataRow } from './dataset-types.js'; /** * Validate a list of rows. Returns the valid rows; an invalid cell drops only * that cell, so one mistake yields one diagnostic instead of a cascade of * unknown-field reports further down. */ export declare function validateRows(value: unknown, path: string, bag: DiagnosticBag): DataRow[]; /** * Validate the top-level `datasets` map. Returns the valid datasets by name, in * declaration order. */ export declare function validateDatasets(value: unknown, path: string, bag: DiagnosticBag): Record; //# sourceMappingURL=validate-datasets.d.ts.map