@univerjs-pro/sheets-pivot
Version:
Univer Sheets Pivot Table
15 lines (14 loc) • 714 B
TypeScript
import { IPivotTableChangeSet } from '@univerjs-pro/engine-pivot';
import { IAccessor, ICommandService, IMutationInfo } from '@univerjs/core';
import { IPivotGeneratedMutationsParams } from '../../const/type';
interface IPivotHostInfo {
pivotTableId: string;
unitId: string;
subUnitId: string;
}
export declare function applyChangeSet(_commandService: ICommandService, pivotInfo: IPivotHostInfo, changesets: IPivotTableChangeSet[]): {
redos: IMutationInfo<object>[];
undos: IMutationInfo<object>[];
};
export declare function generateMutationsFromPivotCommand(accessor: IAccessor, params: IPivotGeneratedMutationsParams): import('@univerjs/core').IUndoRedoCommandInfosByInterceptor;
export {};