import { Toolbar } from '@syncfusion/ej2-navigations';
import { Popup } from '@syncfusion/ej2-popups';
import { BlockManager } from '../base/block-manager';
/**
 * InlineToolbarModule class is used to render the inline toolbar for the block editor.
 *
 * @hidden
 */
export declare class InlineToolbarModule {
    private parent;
    popupObj: Popup;
    toolbarObj: Toolbar;
    private toolbarEle;
    private popupElement;
    constructor(manager: BlockManager);
    private addEventListeners;
    private removeEventListeners;
    private handleToolbarCreated;
    private init;
    private onKeydown;
    private isSelectionInTableHeader;
    /**
     * Shows the inline toolbar at the current selection
     *
     * @param {Range} range - Selection range where the toolbar should appear
     * @param {Event} event - Optional event that triggered the toolbar
     * @returns {void}
     * @hidden
     */
    showInlineToolbar(range: Range, event?: Event): void;
    /**
     * Hides the inline toolbar
     *
     * @param {Event} e - Optional event that triggered hiding the toolbar
     * @returns {void}
     */
    hideInlineToolbar(e?: Event): void;
    private handleInlineToolbarItemClick;
    /**
     * Updates active state of toolbar buttons based on current selection formatting
     *
     * @returns {void}
     * @hidden
     */
    toggleToolbarActiveState(): void;
    private getSelectedContentModels;
    private getBlocksInRange;
    private getNodesInRange;
    private toggleActiveState;
    private getCommonStyles;
    private setColors;
    private handleColorChange;
    private handlePopupWidthChanges;
    /**
     * Checks whether the slash command popup is opened or not.
     *
     * @returns {boolean} - Returns true if the slash command popup is opened, otherwise false.
     * @hidden
     */
    isPopupOpen(): boolean;
    /**
     * Destroys the inline toolbar module and cleans up resources
     *
     * @returns {void}
     */
    destroy(): void;
}
