/** 撤销、恢复函数 */ export declare type UndoRedoAction = (...params: any[]) => void; /** 操作集合 */ export declare type UndoRedoActionCollection = { [key: string]: UndoRedoAction; }; /** 某个操作的 撤销、恢复 函数的 key */ export declare type UndoRedoActionPairs = { set: string; restore: string; }; /** 撤销、恢复 函数集合 */ export declare type UndoRedoActionPairsCollection = { [key: string]: UndoRedoActionPairs; }; /** 撤销、恢复 记录 */ export declare type UndoRedoRecord = { set: { params: any[]; action: string; }; restore: { params: any[]; action: string; }; };