/** * @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/aitabs/tabs/tabbuttonview */ import { ButtonView } from '@ckeditor/ckeditor5-ui'; import { type ArrayOrItem, type Locale } from '@ckeditor/ckeditor5-utils'; import type { AI_TABS_POSITIONS } from './aitabsview.js'; import '../../../theme/aitabs/tabs/tabbuttonview.css'; /** * A button that toggles the visibility of a tab in the tabs view component. */ export declare class TabButtonView extends ButtonView { /** * The position of the tab button. * * @observable */ side: typeof AI_TABS_POSITIONS[number]; /** * @inheritDoc */ constructor(locale?: Locale, options?: TabButtonViewOptions); /** * Shows the tab button. */ show(): void; /** * Hides the tab button. */ hide(): void; } /** * The options for the `TabButtonView` class. */ export type TabButtonViewOptions = { /** * An additional CSS class added to the {@link #element}. */ class?: ArrayOrItem; /** * The position of the tab button. */ side?: typeof AI_TABS_POSITIONS[number]; };