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