import * as React from 'react';
import { MutationMode } from 'ra-core';
import { BulkDeleteWithConfirmButtonProps } from './BulkDeleteWithConfirmButton';
import { BulkDeleteWithUndoButtonProps } from './BulkDeleteWithUndoButton';
/**
* Deletes the selected rows.
*
* To be used inside the prop (where it's enabled by default).
*
* @example // basic usage
* import { BulkDeleteButton, BulkExportButton, List, Datagrid } from 'react-admin';
*
* const PostBulkActionButtons = () => (
* <>
*
*
* >
* );
*
* export const PostList = () => (
*
* }>
* ...
*
*
* );
*/
export declare const BulkDeleteButton: (inProps: BulkDeleteButtonProps) => React.JSX.Element | null;
interface Props {
mutationMode?: MutationMode;
}
export type BulkDeleteButtonProps = Props & (BulkDeleteWithUndoButtonProps | BulkDeleteWithConfirmButtonProps);
declare const PREFIX = "RaBulkDeleteButton";
declare module '@mui/material/styles' {
interface ComponentsPropsList {
[PREFIX]: Partial;
}
interface Components {
[PREFIX]?: {
defaultProps?: ComponentsPropsList[typeof PREFIX];
};
}
}
export {};
//# sourceMappingURL=BulkDeleteButton.d.ts.map