/** * @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/aireviewmode/ui/aireviewmodesummaryview */ import { View } from "@ckeditor/ckeditor5-ui"; import { type Locale } from "@ckeditor/ckeditor5-utils"; /** * The summary shown at the top of the AI Review results once every change is decided. * * It reports how many changes were accepted and how many were dismissed, and points the user to the button that applies * those decisions. */ export declare class AIReviewModeSummaryView extends View { /** * The number of accepted changes. * * @observable */ acceptedCount: number; /** * The number of dismissed changes. * * @observable */ dismissedCount: number; /** * Whether the summary is visible. * * @observable */ isVisible: boolean; /** * @param locale The locale instance. * @param finishButtonLabel The label of the button that finishes the review, mentioned in the hint. */ constructor(locale: Locale, finishButtonLabel: string); /** * Updates the counts of accepted and dismissed changes the summary reports. */ setCounts(accepted: number, dismissed: number): void; }