import { default as Cell } from '../../../core/cell/Cell';
import { default as Row } from '../../../core/row/Row';
import { default as History } from '../History';

type HistoryAction = {
    component: Cell | Row;
    data: {
        after?: boolean;
        data?: any;
        index?: Row | false;
        newValue?: any;
        oldValue?: any;
        pos?: boolean;
        posFrom?: number | false;
        posTo?: number | false;
        to?: Row;
    };
    type: 'cellEdit' | 'rowAdd' | 'rowDelete' | 'rowMove';
};
type Undoer = (this: History, action: HistoryAction) => void;
declare const undoers: Record<string, Undoer>;
export default undoers;
