import { Extension } from '@tiptap/core'; /** * Keeps only the allowed properties of an inline style; null when none are left */ export declare const sanitizeStyle: (style: string | null) => string | null; /** * Keeps inline styles and legacy layout attributes (common in email signatures) * on blocks and tables, which the default schema drops */ export declare const PreservedHtmlAttributes: Extension; /** * Inline image (so it can sit in a line of text or inside a link) that keeps its * inline style, limited to the allowed properties */ export declare const InlineImage: import("@tiptap/core").Node; /** * Prepares pasted HTML (e.g. a copied email signature) so it keeps its look: * converts `` tags and line divs, copies inherited text styles onto the * text, keeps only allowed inline style properties, and drops images the * browser can't load (`file:`, `cid:`, `blob:`). * All images are dropped when `keepImages` is false */ export declare const normalizePastedHtml: (html: string, keepImages: boolean) => string; export declare const hasHtmlText: (html: string) => boolean;