import type { IPivotTableFilterInfo, IPivotTableSortInfo, PivotDataFieldDataTypeEnum } from '@univerjs-pro/engine-pivot'; import type { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot'; export interface IOpenPivotTablePanelOperationParams { pivotTableId: string; } export interface IOpenPivotTableFilterPanelOperationParams { row: number; col: number; unitId: string; subUnitId: string; tableFieldId?: string; pivotTableId?: string; } export interface IOpenPivotTableFieldSettingDialogOperationParams { tableFieldId: string; pivotTableId: string; unitId: string; subUnitId: string; tableFieldInfo: IPivotPanelTableListItemBase; dataFieldInfo: IPivotPanelSourceList; } export interface IFilterItemInfo { tableFieldId: string; pivotTableId: string; items: string[]; itemTypes: PivotDataFieldDataTypeEnum[]; format?: string; filterInfo: IPivotTableFilterInfo | undefined; sortInfo: IPivotTableSortInfo | undefined; }