/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * @module helpers/utils */ import type { IJodit } from "../../../types/index"; /** * Puts new media in its wrapper (see `mediaWrappers`) and aligns it with * `mediaDefaultAlign`. Returns the wrapper, or `element` when there is none */ export declare function prepareMedia(jodit: IJodit, element: HTMLElement): HTMLElement; /** * Embed code that is one element is prepared as media (see `prepareMedia`); * other code is returned as it is */ export declare function prepareEmbedCode(jodit: IJodit, code: string): string | HTMLElement;