import { ReactNode, Ref, FunctionComponent } from 'react';
import { StyledRadioProps } from '../Radio/StyledRadio.js';

interface RadioGroupOption {
    label: string;
    value: string;
}
interface RadioGroupOther {
    label?: string;
    enabled?: boolean;
    placeholder?: string;
    name?: string;
}
interface RadioGroupProps {
    options: RadioGroupOption[];
    children?: ReactNode;
    other?: RadioGroupOther;
    onChange: (value: string) => void;
    internalChange?: () => void;
    inputRef?: Ref<any>;
    name: string;
    value: string;
    sizing?: StyledRadioProps['sizing'];
    noneOfTheseOption?: RadioGroupOption;
}
declare const RadioGroup: FunctionComponent<RadioGroupProps>;

export { RadioGroup as default };
export type { RadioGroupProps };
