/*!
 * 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, Nullable } from "../../../types/index";
/**
 * The media in `elm` when `elm` is a wrapper media keep in the content (see
 * `mediaWrappers`): an element of a type `elm` is the wrapper for
 */
export declare function getWrappedMedia(jodit: IJodit, elm: Nullable<Node>): Nullable<HTMLElement>;
/**
 * The wrapper media keep in the content (see `mediaWrappers`) that is or
 * holds `node`
 */
export declare function getMediaWrapper(jodit: IJodit, node: Nullable<Node>): Nullable<HTMLElement>;
/**
 * An empty wrapper for media of type `tag` to keep in the content (see
 * `mediaWrappers`), or null when there is none for it
 */
export declare function createMediaWrapper(jodit: IJodit, tag: string): Nullable<HTMLElement>;
/**
 * Puts `element` in the wrapper for its type (see `mediaWrappers`), and
 * returns the wrapper, or `element` when there is none for it
 */
export declare function wrapMedia(jodit: IJodit, element: HTMLElement): HTMLElement;
