import { IndexProps } from "./excel/valueProps"; import { ImmutableArray } from "seamless-immutable"; import Undo from "zq_ui_react_4/utils/undo"; /** * 改变数组尺寸 * @param items * @param size * @param defaultValue * @returns */ export declare const changeSize: (items: any[], size: number, defaultValue: any) => any[]; export declare const selectedCellsDoAction: (items: ImmutableArray>> | any, startCell: IndexProps, endCell: IndexProps, doAction: (item: any, rIndex?: number, cIndex?: number) => any) => any; export declare const setRectArrayValue: (items: Array>, startCell: IndexProps, endCell: IndexProps, value: any) => any; /** * 在修改时,支持数据的撤销或回退功能 */ export declare const changeItems: (obj: any, undoList: Undo | undefined, onChange?: ((e: any) => void) | undefined) => any;