import { ReactNode } from 'react';
import { UseRadioGroupProps, RadioGroupProps } from '@chakra-ui/react';
import { ControllerRenderProps } from 'react-hook-form';
import { Sizes } from '../RadioGroup/RadioCard.js';

interface FieldOption {
    value: RadioGroupProps['value'] | boolean | number | readonly string[];
    label: string | ReactNode;
    group?: string;
    disabled?: boolean;
    invalid?: boolean;
}
interface RadioGroupNextProps extends Omit<ControllerRenderProps<{
    [k: string]: any;
}, string>, 'ref'> {
    options: FieldOption[];
    isAttached?: boolean;
    size?: Sizes;
}
declare function RadioGroupNext(props: RadioGroupNextProps & UseRadioGroupProps): JSX.Element;

export { FieldOption, RadioGroupNextProps, RadioGroupNext as default };
