import React from 'react'; import { LabelProps } from '../Label'; export interface RadioProps extends Omit, 'onChange' | 'onClick'> { /** Whether or not the radio is chekced */ checked?: boolean; /** Adds one or more classnames for an element */ className?: string; /** Whether the radio is in a disabled state */ disabled?: boolean; /** Visual error state for the radio */ error?: boolean; /** ID for the form */ id?: string; /** Text associatged with the label of a checkbox */ label?: LabelProps['children']; /** Property options for the label */ labelProps?: LabelProps; /** Calls when the radio changes in value */ onChange?: (value: T, event: React.SyntheticEvent) => void; /** Calls when the radio is clicked */ onClick?: (event: React.MouseEvent, data: RadioProps) => void; /** HTML radio name value */ name?: string; /** Same as disabled state. Legacy Semantic prop. */ readonly?: boolean; /** Controls the size of the radioes */ size?: 'small' | 'medium' | 'large'; /** HTML radio value */ value?: T; } export declare const Radio: (props: React.PropsWithoutRef> & React.RefAttributes) => React.ReactElement | null;