import type { IMouseEvent, IPointerEvent, IShapeProps, UniverRenderingContext2D } from '@univerjs/engine-render'; import { PivotCellStyleTypeEnum } from '@univerjs-pro/engine-pivot'; import { ICommandService, ThemeService } from '@univerjs/core'; import { Shape } from '@univerjs/engine-render'; export declare const PIVOT_ICON_SIZE = 16; export declare const PIVOT_PADDING_SIZE = 1; export declare const PIVOT_EXPEND_SIZE = 12; export declare const PIVOT_EXPAND_LEFT_PADDING = 4; export declare const FILTER_BUTTON_TYPE_SET: Set; export declare const COLLAPSE_BUTTON_TYPE_SET: Set; export interface ISheetsPivotTableButtonShapeProps extends IShapeProps { cellWidth: number; cellHeight: number; pivotParams: { col: number; row: number; unitId: string; subUnitId: string; buttonType: PivotCellStyleTypeEnum; }; } export declare class SheetsPivotTableButtonShape extends Shape { private readonly _commandService; private readonly _themeService; private _cellWidth; private _cellHeight; private _hovered; private _pivotParams?; constructor(key: string, props: ISheetsPivotTableButtonShapeProps, _commandService: ICommandService, _themeService: ThemeService); setShapeProps(props: Partial): void; onPointerDown(evt: IPointerEvent | IMouseEvent): void; onPointerEnter(): void; onPointerLeave(): void; protected _draw(ctx: UniverRenderingContext2D): void; }