/** * @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 { type Operation } from '@ckeditor/ckeditor5-engine'; import { type AIReviewCheckResult } from './aireviewcheckresult.js'; import { type AIReviewCoreChangeData } from '../aireviewcoreediting.js'; declare const AIReviewCheckResultChange_base: { new (): import("@ckeditor/ckeditor5-utils").Observable; prototype: import("@ckeditor/ckeditor5-utils").Observable; }; /** * Represents a single change of the document that is a result of an review check run. */ export declare class AIReviewCheckResultChange extends /* #__PURE__ */ AIReviewCheckResultChange_base { /** * The id of the change. */ readonly id: string; /** * Parent result of the change. * * Each change belongs to a single result, while each result can have multiple changes. * This is because the AI API returns multiple changes in a single result and the plugin * splits them into separate changes. */ readonly parent: AIReviewCheckResult; /** * The status of the change. * * @observable */ status: 'pending' | 'accepted' | 'rejected' | 'outdated'; /** * Indicates whether the change is currently activated. * * @observable */ isActivated: boolean; /** * Indicates whether the change has been rated. * * @observable */ isRated: boolean; /** * Creates a new instance of the AIReviewCheckResult. */ constructor(id: string, data: AIReviewCoreChangeData, parent: AIReviewCheckResult); get contentDiffed(): string; get operations(): Array; get operationsIsolated(): Array; } export {};