/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import type { IJodit } from "jodit/esm/types/index"; /** * Parse an HTML string into a detached container passed through the * editor's synchronous `safeHTML` pipeline — the same contract * `Selection.insertNode` uses — so model-produced markup is sanitized * before it ever reaches the editor DOM. */ export declare function createSanitizedContainer(jodit: IJodit, html: string): HTMLElement; /** * Run the editor's synchronous `safeHTML` pipeline over a live element * whose content was modified directly (bypassing `Selection.insertNode`). */ export declare function sanitizeElement(jodit: IJodit, element: Element): void;