@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
32 lines (31 loc) • 987 B
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module ai/aiballoon/ui/aiballoontoolbarview
*/
import type { Locale } from 'ckeditor5/src/utils.js';
import { ToolbarView, ButtonView } from 'ckeditor5/src/ui.js';
/**
* A class representing the toolbar view of the AI balloon.
*/
export declare class AIBalloonToolbarView extends ToolbarView {
/**
* Button that is used to apply the suggestion.
*/
applyButton?: ButtonView;
/**
* Button that is used to insert the suggestion.
*/
suggestButton?: ButtonView;
/**
* Observable property that indicates whether the toolbar is in loading state.
* When true, all buttons should be disabled.
*/
isLoading: boolean;
/**
* @inheritDoc
*/
constructor(locale: Locale, showApplyButton?: boolean, showSuggestButton?: boolean);
}