/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module ai/aieditorintegration/aitogglebutton/aitogglebuttonui * @publicApi */ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { AITabs } from "../../aitabs/aitabs.js"; /** * Registers the `toggleAi` toolbar button that toggles the visibility of AI tabs. * * Context plugins can’t register toolbar items via the editor’s component factory, so this is provided as a dedicated editor plugin. * Include this plugin in the editor configuration to enable the button. */ export declare class AIToggleButtonUI extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[AITabs]>; /** * @inheritDoc */ static get pluginName(): "AIToggleButtonUI"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; /** * @inheritDoc */ static override get isPremiumPlugin(): true; /** * @inheritDoc */ init(): void; }