import * as React from 'react'; import type { RenderProp } from '@mui/x-internals/useComponentRenderer'; import type { GridSlotProps } from "../../models/index.mjs"; export type ToolbarButtonProps = GridSlotProps['baseIconButton'] & { /** * A function to customize rendering of the component. */ render?: RenderProp; }; /** * A button for performing actions from the toolbar. * It renders the `baseIconButton` slot. * * Demos: * * - [Toolbar](https://mui.com/x/react-data-grid/components/toolbar/) * * API: * * - [ToolbarButton API](https://mui.com/x/api/data-grid/toolbar-button/) */ declare const ToolbarButton: React.ForwardRefExoticComponent | React.ForwardRefExoticComponent & React.RefAttributes>; export { ToolbarButton };