import './radio'; import { Component, OmiProps } from 'omi'; import { StyledProps, TNode } from '../common'; import { CheckProps } from '../common/check'; import { TdRadioGroupProps } from './type'; export interface RadioGroupProps extends TdRadioGroupProps, StyledProps { content?: TNode; children?: TNode; } export default class RadioGroup extends Component> { static css: string; static propTypes: { allowUncheck: BooleanConstructor; checked: BooleanConstructor; defaultChecked: BooleanConstructor; content: (ObjectConstructor | NumberConstructor | FunctionConstructor | StringConstructor)[]; children: (ObjectConstructor | NumberConstructor | FunctionConstructor | StringConstructor)[]; disabled: BooleanConstructor; label: (ObjectConstructor | NumberConstructor | FunctionConstructor | StringConstructor)[]; name: StringConstructor; value: (NumberConstructor | StringConstructor)[]; onChange: FunctionConstructor; onClick: FunctionConstructor; }; static defaultProps: TdRadioGroupProps; private pValue; private radioGroupRef; barStyle: Object; classPrefix: any; commonClassName: { SIZE: { default: string; xs: string; small: string; medium: string; large: string; xl: string; block: string; }; STATUS: { loading: string; disabled: string; focused: string; success: string; error: string; warning: string; selected: string; active: string; checked: string; current: string; hidden: string; visible: string; expanded: string; indeterminate: string; }; sizeClassNames: { default: string; xs: string; small: string; medium: string; large: string; xl: string; block: string; }; statusClassNames: { loading: string; disabled: string; focused: string; success: string; error: string; warning: string; selected: string; active: string; checked: string; current: string; hidden: string; visible: string; expanded: string; indeterminate: string; }; classPrefix: any; }; get internalValue(): T; get checkedRadioCls(): string; setInternalValue: (value: T, context?: { e: Event | MouseEvent; }) => void; setBarStyle(value: Object): void; calcBarStyle: () => void; renderBlock: () => JSX.Element; renderOptions: () => TNode[]; install(): void; installed(): void; receiveProps(props: RadioGroupProps | OmiProps, any>, oldProps: RadioGroupProps | OmiProps, any>): void; renderChildren(): TNode[]; provide: { _check: (checkProps: CheckProps) => CheckProps; }; render(props: OmiProps>): JSX.Element; }