UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

26 lines (25 loc) 1.06 kB
/** * @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 operations-compressor/operationcompressor/annotationmarkeroperationcompressor */ import { MarkerOperationCompressor } from './markeroperationcompressor.js'; import type { ProtobufDescriptor } from '../protobuffactory.js'; import type { CompressedOperationsData, CompressionInput, DecompressionInput } from '../compressor.js'; import type { MarkerOperation } from '@ckeditor/ckeditor5-engine'; export declare class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor { /** * @inheritDoc */ constructor(id: number, name: string, descriptor: ProtobufDescriptor, namespaceToOmit: string); /** * @inheritDoc */ compress(result: CompressedOperationsData, input: CompressionInput): boolean; /** * @inheritDoc */ decompress(result: Array<MarkerOperation>, input: DecompressionInput): void; }