import * as React from 'react'; import type { RenderProp } from '@mui/x-internals/useComponentRenderer'; import type { GridCsvExportOptions } from "../../models/gridExport.js"; import type { GridSlotProps } from "../../models/index.js"; export type ExportCsvProps = GridSlotProps['baseButton'] & { /** * A function to customize rendering of the component. */ render?: RenderProp; /** * The options to apply on the CSV export. * @demos * - [CSV export](/x/react-data-grid/export/#csv-export) */ options?: GridCsvExportOptions; }; /** * A button that triggers a CSV export. * It renders the `baseButton` slot. * * Demos: * * - [Export](https://mui.com/x/react-data-grid/components/export/) * * API: * * - [ExportCsv API](https://mui.com/x/api/data-grid/export-csv/) */ declare const ExportCsv: React.ForwardRefExoticComponent | React.ForwardRefExoticComponent & React.RefAttributes>; export { ExportCsv };