import { type NomTable, type Schema } from './schemas.js'; export interface Validation { ok: boolean; erreurs: string[]; } /** * Valide un JSON de données contre le schéma de sa table. Renvoie au plus * vingt erreurs, chacune avec son chemin. */ export declare function valider(table: NomTable, json: unknown): Validation; /** Valide un objet contre un schéma arbitraire (même sous-ensemble). */ export declare function validerContre(schema: Schema, json: unknown, nom?: string): Validation;