import { ErrorWrapperClassNameProps } from '../ErrorWrapper';
import { FormOnColor, FormSize } from '../../constants';
export interface RadioButtonProps extends ErrorWrapperClassNameProps, Pick<React.InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'name' | 'value' | 'disabled' | 'checked' | 'defaultChecked' | 'required' | 'onChange'> {
    /** Adds custom classes to the element. */
    className?: string;
    /** The <Label/> next to the radioButton - sublabels kan ikke kombineres med large variant */
    label: React.ReactNode;
    /** Adds custom classes to the label element. */
    labelClassNames?: string;
    /** input id of the radioButton */
    inputId?: string;
    /** Changes the visuals of the radioButton */
    onColor?: keyof typeof FormOnColor;
    /** Changes the visuals of the radioButton. Large version only works when used inside a FormGroup wrapper. */
    size?: keyof typeof FormSize;
    /** Activates Error style for the radioButton - This is can be true while errorText is empty, when in a FormGroup */
    error?: boolean;
    /** Error text to show above the component */
    errorText?: string;
    /** Error text id */
    errorTextId?: string;
    /** Sets the data-testid attribute. */
    testId?: string;
    /** Ref passed to the input element */
    ref?: React.Ref<HTMLInputElement | null>;
}
export declare const RadioButton: React.FC<RadioButtonProps>;
export default RadioButton;
