/** * @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 { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import type { ModelElement } from "@ckeditor/ckeditor5-engine"; import { TableEditing } from "../tableediting.js"; /** * The table scrolling editing plugin. */ export declare class TableScrollEditing extends Plugin { /** * Used to listen to native DOM events. */ private _domEmitter; /** * @inheritDoc */ static get pluginName(): "TableScrollEditing"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[TableEditing]>; /** * @inheritDoc */ constructor(editor: Editor); /** * @inheritDoc */ init(): void; /** * @inheritDoc */ override destroy(): void; /** * Whether a given table may overflow its container and become horizontally scrollable, and whether * column/table resizing is allowed to grow it past the container's width. * * @internal */ _isTableScrollable(table: ModelElement): boolean; /** * Determines whether a table overflows its container and applies the corresponding view state: * the `ck-table-overflowing` class on the figure, and the actual (possibly container-exceeding) * width on the inner `