/** * @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 { View } from '@ckeditor/ckeditor5-ui'; import type { Locale } from '@ckeditor/ckeditor5-utils'; /** * 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); }