import type { RicosDocument } from '../generated/ricos_document'; import type { EditorPluginName } from '../plugin-names'; export type ValidationError = { /** * instancePath is the path to a part of the instance, or "input", that was * rejected. */ instancePath: string[]; /** * schemaPath is the path to the part of the schema that rejected the input. */ schemaPath: string[]; /** * description of the error */ message: string; }; export declare function validateRicosDocument(content: any, options?: { plugins?: EditorPluginName[]; }): { type: 'ok'; content: RicosDocument; } | { type: 'error'; errors: ValidationError[]; }; //# sourceMappingURL=validate-ricos-document.d.ts.map