import { FormControlLabelProps, FormLabelProps, RadioProps } from "../../components"; import { ReactNode, RefAttributes } from 'react'; import { Control, FieldError, FieldPath, FieldValues, PathValue, UseControllerProps } from 'react-hook-form'; export type RadioButtonGroupProps = FieldPath, TValue = unknown> = { rules?: UseControllerProps['rules']; options: TValue[]; helperText?: ReactNode; name: TName; required?: boolean; parseError?: (error: FieldError) => ReactNode; label?: string; labelKey?: string; valueKey?: string; disabledKey?: string; type?: 'number' | 'string'; emptyOptionLabel?: string; onChange?: (value: TValue | string | undefined) => void; returnObject?: boolean; row?: boolean; control?: Control; labelProps?: Omit; formLabelProps?: Omit; radioProps?: RadioProps; disabled?: boolean; transform?: { input?: (value: PathValue) => TValue; output?: (value: TValue | string | undefined) => PathValue; }; }; type RadioButtonGroupComponent = = FieldPath, TValue = unknown>(props: RadioButtonGroupProps & RefAttributes) => JSX.Element; declare const _default: RadioButtonGroupComponent; export default _default;