import { type PivotBuilder } from '@sisense/sdk-pivot-ui';
import type { PivotTableDataOptionsInternal } from '../../../../../domains/visualizations/core/chart-data-options/types';
import { PivotTableDataPointEventHandler } from '../../../../../props';
import type { ContainerSize } from '../../../../../shared/components/dynamic-size-container/dynamic-size-container';
import type { CompleteThemeSettings, PivotTableStyleOptions } from '../../../../../types';
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;
    /** Allow html in pivot table cells */
    allowHtml?: boolean;
    /** Sanitize html in pivot table cells */
    sanitizeHtml?: boolean;
    /** Whether the pivot table should take the full width of its container */
    isFullWidth?: boolean;
    /** 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;
    /** The page size */
    pageSize: number;
    /** Callback to handle page size. */
    onPageSizeChange: (newPageSize: number) => void;
    /** The list of image columns */
    imageColumns?: number[];
    /** Boolean flag whether to always show the results per page select */
    alwaysShowResultsPerPage?: boolean;
};
/**
 * A hook that renders the pivot table.
 */
export declare function useRenderPivot({ pivotBuilder, dataOptions, styleOptions, themeSettings, size, allowHtml, sanitizeHtml, onTotalHeightChange, onDataPointClick, onDataPointContextMenu, pageSize, onPageSizeChange, isFullWidth, imageColumns, alwaysShowResultsPerPage, }: PivotRenderOptions): {
    pivotElement: JSX.Element | null;
};
export {};
