UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

33 lines (32 loc) 923 B
/** * @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/aiheaderview */ import { type Locale } from '@ckeditor/ckeditor5-utils'; import { type ButtonView, FormHeaderView, type View } from '@ckeditor/ckeditor5-ui'; import '../../../theme/common/aiheader.css'; export declare class AIHeaderView extends FormHeaderView { /** * The button to resize the chat view. */ readonly resizeButton?: ButtonView; /** * Indicates whether the resize button shows maximized state. * * @observable */ isMaximized: boolean; /** * @inheritDoc */ constructor(locale: Locale, options: { label: string; icon: string; class: string; content?: View; showResizeButton: boolean; }); }