UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

32 lines (31 loc) 918 B
/** * @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/aireviewmode/ui/customcontrols/aireviemodepromptinputview */ import { TextareaView } from 'ckeditor5/src/ui.js'; import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js'; export declare class AIReviewModePromptInputView extends TextareaView { /** * An instance of the keystroke handler managing user interaction and accessibility. * * @readonly */ keystrokes: KeystrokeHandler; /** * Flag indicating if the input is empty. * @observable */ isEmpty: boolean; constructor(locale: Locale); /** * @inheritDoc */ render(): void; } export type AIChatSendUserMessageEvent = { name: 'sendUserMessage'; args: [query: string]; };