import React from 'react'; export interface RadioGroupProps { /** Controls the look of the element */ appearance?: 'regular' | 'large'; /** The array of Radios passed in as children */ children: React.ReactNode | React.ReactNode[]; /** The default value that is checked */ defaultChecked?: string; /** Name of the radio group */ name: string; /** The radio toggle event handler */ onChange: Function; /** Classes passed to the RadioGroup */ className?: string; /** Align radios horizontally */ horizontal?: boolean; } declare class RadioGroup extends React.Component { static defaultProps: { appearance: string; horizontal: boolean; }; state: { selected: string; }; componentDidUpdate(prevProps: RadioGroupProps): void; handleChange: (event: React.ChangeEvent, name: string, value: string) => void; getChildren: () => any[] | null | undefined; render(): JSX.Element; } export default RadioGroup;