/** * @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 { View } from "@ckeditor/ckeditor5-ui"; import { type Locale } from "@ckeditor/ckeditor5-utils"; import { type AIReplyChangeGroupOutdatedReason } from "../../model/aireply.js"; export type AISuggestionContentPartState = "accepted" | "rejected" | "outdated"; export declare const ICON_STATE_MAP: Record; /** * A view that displays the state of a single part in the suggestion content. */ export declare class AISuggestionContentPartStateView extends View { state: AISuggestionContentPartState; outdatedReason: AIReplyChangeGroupOutdatedReason | undefined; isVisible: boolean; constructor(locale: Locale); /** * Sets the state of the view. */ setState(state: keyof typeof ICON_STATE_MAP, outdatedReason?: AIReplyChangeGroupOutdatedReason): void; }