/** * @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/utils/istrackchangesenabled */ import { type ContextInterface, type Editor } from "@ckeditor/ckeditor5-core"; /** * Whether Track Changes mode is currently on for the given editor. `false` when the Track Changes plugin * (and with it, the `trackChanges` command) is not loaded at all. */ export declare function isTrackChangesEnabledForEditor(editor: Editor): boolean; /** * Whether the Track Changes plugin is loaded in every editor registered on the context. `false` for an empty * editor list, so a Context whose editors have not registered yet does not report `true` by default * (`Array#every()` is `true` for an empty array). */ export declare function hasTrackChangesPluginInEveryEditor(context: ContextInterface): boolean; /** * Whether Track Changes mode is currently on for at least one editor registered on the context. */ export declare function isTrackChangesEnabledInAnyEditor(context: ContextInterface): boolean;