import React from "react"; export interface GroupProps { className?: string; style: Object; children: React.ReactNode; } export interface RadioParams { key: string; value: string; } export interface RadioGroupProps { width?: string; height?: string; className?: string; defaultChecked?: boolean; disabled?: boolean; changeRadio?: Function; value: string; check?: boolean; size?: "small" | "big"; style?: Object; children: React.ReactElement | Array>; onCheck: (value: string | RadioParams, checked: boolean) => void; } export interface RadioGroupState { groupValue: string | RadioParams; } declare class RadioGroup extends React.Component { constructor(props: RadioGroupProps); componentDidUpdate(): void; onRadioChange: (value: string | RadioParams, checked: boolean) => void; render(): JSX.Element; } export default RadioGroup;