import { type PivotBuilder } from '@sisense/sdk-pivot-client'; import type { CompleteThemeSettings, PivotTableStyleOptions } from '../../types'; import type { PivotTableDataOptionsInternal } from '../../chart-data-options/types'; import type { ContainerSize } from '../../dynamic-size-container/dynamic-size-container'; import { PivotTableDataPointEventHandler } from '../../index-typedoc'; type PivotRenderOptions = { /** The pivot builder instance. */ pivotBuilder: PivotBuilder; /** The pivot table data options. */ dataOptions: PivotTableDataOptionsInternal; /** The pivot table style options. */ styleOptions: PivotTableStyleOptions; /** The theme settings. */ themeSettings: CompleteThemeSettings; /** The size of the pivot table container. */ size: ContainerSize | null; /** Callback to handle total height change. */ onTotalHeightChange?: (totalHeight: number) => void; /** Callback to handle data point click. */ onDataPointClick?: PivotTableDataPointEventHandler; /** Callback to handle data point context menu. */ onDataPointContextMenu?: PivotTableDataPointEventHandler; }; /** * A hook that renders the pivot table. */ export declare function useRenderPivot({ pivotBuilder, dataOptions, styleOptions, themeSettings, size, onTotalHeightChange, onDataPointClick, onDataPointContextMenu, }: PivotRenderOptions): { pivotElement: JSX.Element | null; }; export {}; //# sourceMappingURL=use-render-pivot.d.ts.map