/** * HTML sanitization pre-pass. The ProseMirror schema is the real whitelist — * anything it can't parse is dropped — but this pass removes actively * dangerous content (scripts, event handlers, javascript: URLs) before the * string ever touches a live DOM, and strips style declarations down to the * set the schema understands. */ import { NormalizedAllowedStyles } from './email-css'; export declare function isSafeUrl(url: string, allowDataImage?: boolean): boolean; /** Fidelity-only pass run right before parsing; see `relocateElement`. */ export declare function relocateEmailContainers(html: string): string; /** * Sanitizes the CSS inside a