/*! * 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 view */ import type { IDictionary, IPluginButton, IToolbarCollection, IViewOptions, IViewWithToolbar } from "../../types/index"; import { View } from "./view"; export declare abstract class ViewWithToolbar extends View implements IViewWithToolbar { TOOLBAR: IToolbarCollection; toolbar: this['TOOLBAR']; private __defaultToolbarContainer; /** * Container for toolbar */ get toolbarContainer(): HTMLElement; /** * Change panel container */ setPanel(element: HTMLElement | string): void; /** * Helper for appended toolbar in its place */ protected buildToolbar(): void; registeredButtons: Set; private groupToButtons; getRegisteredButtonGroups(): IDictionary; /** * Register button for a group */ registerButton(btn: IPluginButton): this; /** * Remove button from a group */ unregisterButton(btn: IPluginButton): this; /** * Prepare toolbar items and append buttons in groups */ private beforeToolbarBuild; readonly isJodit: boolean; private __tooltip; /** @override **/ protected constructor(options?: Partial, isJodit?: boolean); destruct(): void; }