UNPKG

@ckeditor/ckeditor5-ai

Version:

AI features for CKEditor 5.

24 lines (23 loc) 716 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 */ import { View } from 'ckeditor5/src/ui.js'; import type { Locale } from 'ckeditor5/src/utils.js'; /** * A class representing the error view of the AI assistant. */ export declare class AIFormErrorView extends View { /** * The text of the error. * * @observable */ text: string; /** * Creates an instance of the {@link module:ai/ui/aiformerrorview~AIFormErrorView} class. * * @param locale The localization services instance. */ constructor(locale: Locale, text?: string); }