/** * @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 */ import { ButtonView, type TextareaView, AutocompleteView } from '@ckeditor/ckeditor5-ui'; import { type Locale } from '@ckeditor/ckeditor5-utils'; export declare class AIChatPromptInputView extends AutocompleteView { /** * The submit button view. */ submitButtonView: ButtonView; /** * Flag indicating if the upload is in progress. * * @observable */ isUploadInProgress: boolean; /** * Flag indicating if the input is empty. * @observable */ isEmpty: boolean; constructor(locale: Locale, addContextButtonView: ButtonView); /** * @inheritDoc */ render(): void; /** * @inheritDoc */ destroy(): void; /** * Sets the placeholder text for the input. */ setPlaceholderText(placeholder: string): void; /** * Focuses the prompt input in DOM. When `useHighlight` is `true`, the prompt input will be highlighted for a short time * to capture the user's attention. */ focus(useHighlight?: boolean): void; /** * Sets the upload in progress state. */ setIsUploadInProgress(isUploadInProgress: boolean): void; } export type AIChatSendUserMessageEvent = { name: 'sendUserMessage'; args: [query: string]; };