export type IRadioButtonValue = string | boolean | number; export interface IRadioButtonProps { className?: string; label: string; name?: string; value: IRadioButtonValue; } export interface IControlledRadioButtonProps extends IRadioButtonProps { ["data-testid"]?: string; checked: boolean; disabled?: boolean; inline?: boolean; globalDisabled?: boolean; onSelected?: (value: IRadioButtonValue) => void; } export interface IRadioButtonGroupProps { ["data-testid"]?: string; buttons: IRadioButtonProps[] | undefined; className?: string; defaultValue?: IRadioButtonValue; error?: string; help?: string; inline?: boolean; label?: string; name?: string; onSelected: (value: IRadioButtonValue) => void; selection: IRadioButtonValue | undefined; globalDisabled?: boolean; disabledReason?: string; escapeHelpContent?: boolean; }