/** * @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 { User } from '@ckeditor/ckeditor5-collaboration-core'; declare const ChangeItem_base: { new (): import("@ckeditor/ckeditor5-utils").Observable; prototype: import("@ckeditor/ckeditor5-utils").Observable; }; /** * Represents a singular change entry in the revision or in the revisions comparison. */ export declare class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base { /** * Unique change item id. */ readonly id: string; /** * User who created the change. */ readonly author: User; /** * Change type. */ readonly type: string; /** * Additional details about the change. */ readonly data: Record; /** * Name of the root which contains the change. */ readonly rootName: string; /** * The date when the change was created. * * @observable */ readonly createdAt: Date; constructor(data: ChangeItemInput); toJSON(): ChangeItemJSON; } export interface ChangeItemInput { id?: string; author: User; type: string; data: Record; createdAt: Date; rootName: string; } export interface ChangeItemJSON { id: string; authorId: string; type: string; data: Record; createdAt: Date; } export {};