import { ErrorWrapperClassNameProps } from '../../ErrorWrapper'; export interface RadioButtonProps extends ErrorWrapperClassNameProps, Omit, 'type' | 'id' | 'className' | 'children' | 'size' | 'value'> { /** Adds custom classes to the root element. */ className?: string; /** Label text shown inside the pill. */ children: React.ReactNode; /** Value identifying this radio inside its group. Required. */ value: string; /** input id of the underlying radio */ inputId?: string; /** Activates error styling. Can be true while errorText is empty (e.g. when used in a cloud). */ error?: boolean; /** Error text to show above the component. */ errorText?: string; /** Error text id */ errorTextId?: string; /** Sets the data-testid attribute. */ testId?: string; /** Ref forwarded to the underlying input element. */ ref?: React.Ref; } declare const RadioButton: React.FC; export default RadioButton;