/** * @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 real-time-collaboration/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter * @publicApi */ import { Plugin, type Editor } from '@ckeditor/ckeditor5-core'; import { TrackChangesService } from '@ckeditor/ckeditor-cloud-services-collaboration'; import { WebSocketGateway, type RtcReconnectPlugin } from '../realtimecollaborativeediting/websocketgateway.js'; import { CloudServicesCommentsAdapter } from '../realtimecollaborativecomments/cloudservicescommentsadapter.js'; import { TrackChangesEditing } from '@ckeditor/ckeditor5-track-changes'; /** * The Cloud Services Track Changes Adapter plugin. */ export declare class CloudServicesTrackChangesAdapter extends Plugin implements RtcReconnectPlugin { static TrackChangesService: typeof TrackChangesService; /** * @inheritDoc */ static get requires(): readonly [typeof CloudServicesCommentsAdapter, typeof TrackChangesEditing, typeof WebSocketGateway]; /** * @inheritDoc */ static get pluginName(): "CloudServicesTrackChangesAdapter"; /** * @inheritDoc */ static get isOfficialPlugin(): true; /** * @inheritDoc */ static get isPremiumPlugin(): true; /** * @inheritDoc */ constructor(editor: Editor); /** * @inheritDoc */ init(): Promise; /** * A method that will be executed when the `WebSocketGateway` will reconnect. */ reconnect(): Promise; /** * Waits for the service to be ready before calling the service API. */ private _waitForServiceReady; private _fetchMissingUsersForThreads; }