import { JSONContent } from '@tiptap/core';

type SanitizeContentProps = {
    data: JSONContent;
    ignoreCorruptedData?: boolean;
    onInvalidContentError?: (e: unknown) => void;
};
export declare const sanitizeContent: ({ data, ignoreCorruptedData, onInvalidContentError, }: SanitizeContentProps) => JSONContent;
export {};
