import { ICommand } from 'valor-unistore-undo'; import { IStoreState, IRow, IColumn, ICellNN, ID, ICell } from '../index.data'; import { SpreadSheetRuntime } from '../RuntimeContext'; export interface DeleteColumnCommandParams { j: number; } interface IUndoContext { deletedColumn: IColumn; updatedStaleCells: ICellNN[]; deletedCells: ICell[]; insertedCells: ICell[]; } declare class DeleteColumnCommand extends ICommand { execute: () => boolean; undo: () => void; } export declare function undoDeleteColumn(state: IStoreState, j: number, deletedColumn: IColumn, deletedCells: ICell[], insertedCells: ICell[], updatedStaleCells: ICellNN[], runtime: SpreadSheetRuntime): { newState: { rows: (IRow & { cellIds: (string | number | null)[]; })[]; columns: IColumn[]; cells: any; } | { cells: Record; cellDeps: Record; varDeps: Record; rows: (IRow & { cellIds: (string | number | null)[]; })[]; columns: IColumn[]; }; }; export default DeleteColumnCommand;