import type { EponymeSchema } from '../types/index.js'; import type { ValidationErrors } from './validate-eponyme-data.js'; export declare function sanitizeEponymeRichText(html: string): string; /** Whether the policy removed anything - a tag, an attribute, a scheme - rather than merely reformatting. */ export declare function eponymeRichTextWasStripped(html: string): boolean; /** Names every rich text field of a payload that carried markup the policy had to remove. */ export declare function eponymeRichTextRejections(schema: EponymeSchema, data: Record): ValidationErrors;