import type { IFieldsCollectionJSON } from '@univerjs-pro/engine-pivot'; import type { IAccessor } from '@univerjs/core'; import type { IPivotDisplayBaseInfo, IPivotTableConfig } from '../../const/type'; interface IGroupCommandContext { unitId: string; subUnitId: string; pivotTableId: string; currentConfig: IPivotTableConfig; currentCollection: IFieldsCollectionJSON; } export declare function applyPivotGroupPreview(accessor: IAccessor, context: IGroupCommandContext, preview: IPivotDisplayBaseInfo): Promise; export {};