import React from 'react'; import { FieldError } from 'react-hook-form'; interface RadioProps { name: string; onChange: (event: React.ChangeEvent) => void; value: string; label?: string | React.ReactNode; checked?: boolean; inputClassName?: string; labelClassName?: string; errorClassName?: string; disabled?: boolean; error?: boolean | string | { message?: string; } | null | undefined | FieldError; [rest: string]: any; } declare const Radio: React.ForwardRefExoticComponent & React.RefAttributes>; export { type RadioProps, Radio as default };