import * as React from 'react'; import { RenderProp } from '@mui/x-internals/useComponentRenderer'; import { GridSlotProps } from '@mui/x-data-grid-pro'; export interface PivotPanelState { /** * If `true`, the pivot panel is open. */ open: boolean; /** * If `true`, pivot is active. */ active: boolean; } export type PivotPanelTriggerProps = Omit & { /** * A function to customize rendering of the component. */ render?: RenderProp; /** * A function to customize rendering of the component. */ className?: string | ((state: PivotPanelState) => string); }; /** * A button that opens and closes the pivot panel. * It renders the `baseButton` slot. * * Demos: * * - [Pivot Panel](https://mui.com/x/react-data-grid/components/pivot-panel/) * * API: * * - [PivotPanelTrigger API](https://mui.com/x/api/data-grid/pivot-panel-trigger/) */ declare const PivotPanelTrigger: React.ForwardRefExoticComponent | React.ForwardRefExoticComponent & React.RefAttributes>; export { PivotPanelTrigger };