import { ReactNode } from 'react'; import { FieldValues, UseControllerProps } from 'react-hook-form'; import { FormControlLabelProps, FormControlProps, FormHelperTextProps, FormLabelProps, RadioGroupProps, RadioProps } from '@mui/material'; export interface RadioOption { value: string; label: ReactNode; slotProps?: { formControlLabel: Omit; radio: RadioProps; }; } export type RHFRadioGroupProps = UseControllerProps & Omit & { label: string; options: RadioOption[]; required?: boolean; helperText?: string; onChange?: RadioGroupProps['onChange']; onBlur?: RadioGroupProps['onBlur']; slotProps?: { formLabel?: FormLabelProps; formControl?: Omit; radioGroup?: Omit; helperText?: FormHelperTextProps; formControlLabel?: Omit; }; }; declare function RHFRadioGroup(inProps: RHFRadioGroupProps): import("react/jsx-runtime").JSX.Element; declare module '@mui/material' { interface Components { ReevolveRHFRadioGroup?: { defaultProps?: Partial; }; } } export default RHFRadioGroup; //# sourceMappingURL=RHFRadioGroup.d.ts.map