import { default as PropTypes } from 'prop-types'; import { RaRecord } from 'ra-core'; import { DeleteWithConfirmButtonProps as RaDeleteWithConfirmButtonProps } from 'ra-ui-materialui'; import { SxProps } from '@mui/material'; type DeleteWithConfirmButtonProps = RaDeleteWithConfirmButtonProps & { dialogSx?: SxProps; /** * @deprecated confirmTitle prop is deprecated, please use confirmContent instead. */ confirmTitle?: React.ReactNode; /** * onConfirm {callback} is used to handle a custom delete action when user confirms the deletion. */ onConfirm?: () => void; }; declare function DeleteWithConfirmButton(props: DeleteWithConfirmButtonProps): JSX.Element; declare namespace DeleteWithConfirmButton { var propTypes: { basePath: PropTypes.Requireable; className: PropTypes.Requireable; confirmColor: PropTypes.Requireable; confirmContent: PropTypes.Requireable>; confirmTitle: PropTypes.Requireable>; icon: PropTypes.Requireable; label: PropTypes.Requireable; mutationMode: PropTypes.Requireable; onClick: PropTypes.Requireable<(...args: any[]) => any>; record: PropTypes.Requireable; redirect: PropTypes.Requireable any) | null | undefined>>; resource: PropTypes.Requireable; translateOptions: PropTypes.Requireable; }; } export { DeleteWithConfirmButton }; //# sourceMappingURL=DeleteWithConfirmButton.d.ts.map