/**
 * 数据历史堆栈
 */
import type DataGrid from "./DataGrid";
interface HistoryData {
    before: {
        colIndex: number;
        rowIndex: number;
        value: any;
    };
    after: {
        colIndex: number;
        rowIndex: number;
        value: any;
    };
    type: "single" | "multiple";
}
declare class Histories {
    grid: DataGrid;
    history: HistoryData[];
    historyIndex: number;
    constructor(grid: DataGrid);
    pushState(data: HistoryData): void;
    backState(): void;
    forwardState(): void;
}
export default Histories;
