import type { HookCallback } from '../../../core/hooks/bucket'; import type { HotInstance } from '../../../core/types'; import { BaseAction } from './_base'; /** * Action that tracks column creation. * * @class CreateColumnAction * @private */ export declare class CreateColumnAction extends BaseAction { /** * @param {number} index The visual column index. */ index: number; /** * @param {number} amount The number of created columns. */ amount: number; /** * Initializes the create column action with the visual insertion index and the number of columns created. */ constructor({ index, amount }: { index: number; amount: number; }); /** * Registers the `afterCreateCol` hook listener that records a new CreateColumnAction after columns are inserted. */ 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; }