/** * @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/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview */ import { ToolbarView } from "@ckeditor/ckeditor5-ui"; import { type Locale } from "@ckeditor/ckeditor5-utils"; import { type AISuggestionActionName } from "../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js"; /** * A toolbar view with actions for a specific suggestion: delete, insert, apply. */ export declare class AISuggestionContentPartToolbarView extends ToolbarView { isEnabled: boolean; isVisible: boolean; /** * Observable property that indicates whether the track changes feature is on. */ isTrackChangesOn: boolean; /** * Whether the target editor is read-only. Disables the write actions (apply, suggest), but not reject. * * @observable */ isTargetReadOnly: boolean; constructor(locale: Locale, availableActions: Array, areActionsDisabled?: boolean); /** * Toggles the visibility of the apply and suggest buttons. */ setButtonsVisibility({ showApplyButton, showSuggestButton }: { showApplyButton: boolean; showSuggestButton: boolean; }): void; }