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