import { IButtonMenu, IDomEditor } from '@wangeditor-next/core'; import { Editor } from 'slate'; declare class MergeCell implements IButtonMenu { readonly title: string; readonly iconSvg = ""; readonly tag = "button"; getValue(_editor: IDomEditor): string | boolean; isActive(_editor: IDomEditor): boolean; isDisabled(editor: IDomEditor): boolean; exec(editor: IDomEditor, _value: string | boolean): void; /** * Checks if the current selection can be merged. Merging is not possible when any of the following conditions are met: * - The selection is empty. * - The selection is not within the same "thead", "tbody," or "tfoot" section. * @returns {boolean} `true` if the selection can be merged, otherwise `false`. */ canMerge(editor: Editor): boolean; /** * Merges the selected cells in the table. * @returns void */ merge(editor: Editor): void; } export default MergeCell;