/*!
 * Jodit Editor PRO (https://xdsoft.net/jodit/)
 * See LICENSE.md in the project root for license information.
 * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
 */
import type { IJodit } from "jodit/esm/types/index";
import "./config";
import { Plugin } from "jodit/esm/core/plugin/plugin";
export declare class highlightSignature extends Plugin {
    /** @override */
    static requires: string[];
    protected afterInit(jodit: IJodit): void;
    protected beforeDestruct(jodit: IJodit): void;
    private walkNodes;
    private abortController;
    private runWorker;
    private workLoop;
    /**
     * Checks if there are text nodes that are cut into pieces,
     * if there are, normalizes the editor and starts the loop again
     */
    private checkNormalizing;
    /**
     * Checks the content of the text node through the scheme setting and if there is a match, then replaces the found part
     */
    private checkReplaceSchemas;
    /**
     * Replaces the part that matches the schematic with the created element and restores the cursor position
     */
    private replaceMatchedTextToElm;
    /**
     * The text node already has a parent for highlighting
     */
    private static hasUtilWrapper;
    /**
     * Removes utility highlighting elements from HTML
     */
    private static removeUtilWrappers;
    /**
     * Restores the cursor position to the place where it was before replacement
     */
    private restoreCursorPosition;
    /**
     * Removes wrappers whose content no longer matches the schema
     */
    private checkUtilsBoxToSchema;
}
