///
import PropTypes from 'prop-types';
import { BulkUpdateWithConfirmButtonProps } from './BulkUpdateWithConfirmButton';
import { BulkUpdateWithUndoButtonProps } from './BulkUpdateWithUndoButton';
import { MutationMode } from '../../features/core';
/**
* Updates the selected rows.
*
* To be used inside the prop (where it's enabled by default).
*
* @example // basic usage
* import * as React from 'react';
* import { Fragment } from 'react';
* import { BulkUpdateButton, BulkExportButton } from '../../app';
*
* const PostBulkActionButtons = ({ basePath }) => (
*
*
*
*
* );
*
* export const PostList = (props) => (
*
}>
* ...
*
* );
*/
declare const BulkUpdateButton: {
(props: BulkUpdateButtonProps): JSX.Element;
propTypes: {
basePath: PropTypes.Requireable;
label: PropTypes.Requireable;
resource: PropTypes.Requireable;
selectedIds: PropTypes.Requireable;
mutationMode: PropTypes.Requireable;
icon: PropTypes.Requireable;
};
defaultProps: {
mutationMode: string;
data: any[];
};
};
interface Props {
mutationMode?: MutationMode;
}
export declare type BulkUpdateButtonProps = Props & (BulkUpdateWithUndoButtonProps | BulkUpdateWithConfirmButtonProps);
export default BulkUpdateButton;