/*!
 * 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 { HAlignClasses, IJodit, ImageHAlign, Nullable } from "../../../types/index";
/**
 * The class names to align `elm` with: `alignClasses` for its tag, or for the
 * media in it when it wraps media (a `mediaWrappers` wrapper, `jodit` or
 * `jodit-media`)
 */
export declare function getAlignClasses(jodit: IJodit, elm: Nullable<HTMLElement>): Nullable<HAlignClasses>;
/**
 * Align image, with `classes` (see `alignClasses`) instead of inline styles
 * when they are given
 */
export declare function hAlignElement(image: HTMLElement, align: ImageHAlign, classes?: Nullable<HAlignClasses>): void;
/**
 * The alignment `hAlignElement` has set on an element
 */
export declare function getHAlign(elm: HTMLElement, classes?: Nullable<HAlignClasses>): ImageHAlign;
/**
 * Remove text-align style for all selected children
 */
export declare function clearAlign(node: Node): void;
export declare function alignElement(command: string, box: HTMLElement): void;
