import { IButtonMenu, IDomEditor } from '@wangeditor-next/core'; import { Editor } from 'slate'; declare class SplitCell 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; /** * Splits either the cell at the current selection or a specified location. If a range * selection is present, all cells within the range will be split. * @param {Location} [options.at] - Splits the cell at the specified location. If no * location is specified it will split the cell at the current selection * @param {boolean} [options.all] - If true, splits all cells in the table * @returns void */ split(editor: Editor, options?: { at?: Location; all?: boolean; }): void; } export default SplitCell;