import type { HookCallback } from '../../../core/hooks/bucket'; import type { HotInstance } from '../../../core/types'; import type { default as CellRange } from '../../../3rdparty/walkontable/src/cell/range'; import { BaseAction } from './_base'; /** * Action that tracks changes in merged cells. * * @class UnmergeCellsAction * @private */ export declare class UnmergeCellsAction extends BaseAction { /** * @param {CellRange} cellRange The merged cell range. */ cellRange: CellRange; /** * Initializes the unmerge cells action with the cell range that was unmerged. */ constructor({ cellRange }: { cellRange: CellRange; }); /** * Registers the `afterUnmergeCells` hook listener that records a new UnmergeCellsAction after cells are manually unmerged. */ static startRegisteringEvents(hot: HotInstance, undoRedoPlugin: unknown): void; /** * @param {Core} hot The Handsontable instance. * @param {function(): void} undoneCallback The callback to be called after the action is undone. */ undo(hot: HotInstance, undoneCallback: HookCallback): void; /** * @param {Core} hot The Handsontable instance. * @param {function(): void} redoneCallback The callback to be called after the action is redone. */ redo(hot: HotInstance, redoneCallback: HookCallback): void; }