import React from 'react'; declare type Type = 'horizontal' | 'vertical'; declare type ListProps = { label: string; value?: any; disabled?: boolean; }; declare type Props = { name?: string; onChange?: (e: React.BaseSyntheticEvent) => void; selectedValue?: any; list?: ListProps[]; children?: React.ReactNode; dataTestId?: string; } & ({ type: 'vertical' | undefined; border?: boolean; } | { type?: Type; }); declare const RadioButtonGroup: React.FC; export default RadioButtonGroup;