import React, { ChangeEventHandler } from 'react'; import { Props } from '../../../common'; export interface IRadioSetOptionProps { /** Custom classname to use */ className?: string; /** Value of the input */ value?: string | number; /** If true, sets input to disabled state */ isDisabled?: boolean; /** Handle blur event */ handleBlur?: (e: React.FocusEvent, value?: string | number) => void; /** Handle key down events */ handleKeyDown?: (e: React.KeyboardEvent) => void; /** If true, use HTML5 required attribute */ isHTML5Required?: boolean; /** Add autofocus attribute to input */ autoFocus?: boolean; /** The component context */ componentContext?: string; /** Label to display next to the radio */ label: JSX.Element | string; } export interface IRadioSetProps { /** Array of options to display in the list */ options: IRadioSetOptionProps[]; /** action when option is clicked */ handleChange?: ChangeEventHandler; /** Called when the input is changed */ onChange?: (value: string | number) => void; /** Specify the orientation of the radio set */ orientation?: Props.Orientation; /** If true, all radio inputs are wrapped with a button */ useButtonStyle?: boolean; /** The currently selected value */ value?: string | number; /** The name property of the radio inputs */ name: string; /** the spacing of radio set */ spacing?: 'normal' | 'tight'; /** The margins around the component */ margins?: Props.IMargins; /** The id of the RadioSet */ id?: string; } export declare class RadioSet extends React.PureComponent> { static defaultProps: Partial; render(): JSX.Element; private get options(); private infoLabel; private classNames; private get spacingType(); private handleChange; }