/*!
 * 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/backspace/README.md]]
 * @packageDocumentation
 * @module plugins/backspace
 */
import type { IJodit } from "../../types/index";
import { Plugin } from "../../core/plugin/index";
import "./config";
export declare class backspace extends Plugin {
    static requires: string[];
    protected afterInit(jodit: IJodit): void;
    protected beforeDestruct(jodit: IJodit): void;
    /**
     * Listener BackSpace or Delete button
     */
    private onDelete;
    /**
     * The browser types at the end of the text before the caret on its line,
     * in that text's formatting, but not inside a link. Moving the caret there
     * too makes a paste and the toolbar agree with what's typed:
     * `<p>one</p><p><b>|two</b></p>` joins to `<p>one|<b>two</b></p>`
     */
    private moveCaretToTextBefore;
    /**
     * Remove node and replace cursor position out of it
     */
    private safeRemoveEmptyNode;
}
