import type { IPivotTableChangeSet } from '@univerjs-pro/engine-pivot'; import type { IAccessor, ICommandInfo, ICommandService, IMutationInfo } from '@univerjs/core'; import type { IPivotPerformCheckParams } from '../../const/type'; export interface IMutationPairGroup { redos: ICommandInfo[]; undos: ICommandInfo[]; reverse: boolean; } export declare function executeWithRollback(groups: IMutationPairGroup[], commandService: ICommandService): boolean; interface IPivotHostInfo { pivotTableId: string; unitId: string; subUnitId: string; } export declare function applyChangeSet(_commandService: ICommandService, pivotInfo: IPivotHostInfo, changesets: IPivotTableChangeSet[]): { redos: IMutationInfo[]; undos: IMutationInfo[]; }; export declare function generateMutationsFromPivotCommand(accessor: IAccessor, params: IPivotPerformCheckParams): import("@univerjs/core").IUndoRedoCommandInfosByInterceptor; export {};