/** * @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/suggestioncontainer/aisuggestioncontentpartstateview */ import { IconView, View } from '@ckeditor/ckeditor5-ui'; import { type Locale } from '@ckeditor/ckeditor5-utils'; import '../../../../theme/common/aisuggestioncontentpartstate.css'; export declare const ICON_STATE_MAP: { readonly accepted: string; readonly rejected: string; readonly outdated: string; }; /** * A view that displays the state of a single part in the suggestion content. */ export declare class AISuggestionContentPartStateView extends View { state: keyof typeof ICON_STATE_MAP; isVisible: boolean; constructor(locale: Locale); /** * Sets the state of the view. */ setState(state: keyof typeof ICON_STATE_MAP): void; } /** * A view that displays the icon of the state of a single part in the suggestion content. * * It automatically updates the icon content based on the state. */ export declare class StateIconView extends IconView { state: keyof typeof ICON_STATE_MAP; constructor(); }