/*!
 * 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
 */
/**
 * [[include:plugins/delete/README.md]]
 * @packageDocumentation
 * @module plugins/delete
 */
import type { IJodit } from "../../types/index";
import { Plugin } from "../../core/plugin/index";
import "./interface";
export declare class deleteCommand extends Plugin {
    static requires: string[];
    protected afterInit(jodit: IJodit): void;
    protected beforeDestruct(jodit: IJodit): void;
    /**
     * After Delete command remove extra BR
     */
    private __afterDeleteCommand;
    private __onDeleteCommand;
    /**
     * A selection that starts or ends in a table cell clears the selected part
     * of each cell it covers and keeps the cells, as the browsers do.
     * `deleteContents` would remove the cells it fully covers, and the cells
     * it cuts would then be merged as blocks. The range is moved out of those
     * tables, so only the content between them is left to delete.
     *
     * Returns where the caret goes, or null when no table is involved
     */
    private __clearSelectedCells;
    private __moveContentInLeftSibling;
    /**
     * If left sibling is list - return last leaf
     */
    private __defineRightLeftBox;
    /**
     * Add BR in the empty block left at the caret
     */
    private __addBrInEmptyBlock;
    private __moveCursorInEditableSibling;
}
