import * as React from 'react'; import { type ComponentsOverrides } from '@mui/material/styles'; import { type MutationMode, type RaRecord, type UpdateParams } from 'ra-core'; import { type ButtonProps } from './Button'; import type { UseMutationOptions } from '@tanstack/react-query'; export declare const UpdateWithConfirmButton: (inProps: UpdateWithConfirmButtonProps) => React.JSX.Element; export interface UpdateWithConfirmButtonProps extends ButtonProps { confirmContent?: React.ReactNode; confirmTitle?: React.ReactNode; icon?: React.ReactNode; data: any; mutationMode?: MutationMode; mutationOptions?: UseMutationOptions> & { meta?: any; }; titleTranslateOptions?: object; contentTranslateOptions?: object; } declare module '@mui/material/styles' { interface ComponentNameToClassKey { RaUpdateWithConfirmButton: 'root'; } interface ComponentsPropsList { RaUpdateWithConfirmButton: Partial; } interface Components { RaUpdateWithConfirmButton?: { defaultProps?: ComponentsPropsList['RaUpdateWithConfirmButton']; styleOverrides?: ComponentsOverrides>['RaUpdateWithConfirmButton']; }; } } //# sourceMappingURL=UpdateWithConfirmButton.d.ts.map