import { Component } from 'preact'; import { BasePropsType } from '../../utils/Base'; import RadioGroup from './group'; import { ComponentBaseState } from '../../interface'; export interface RadioType extends BasePropsType { defaultChecked?: boolean; name?: string; checked?: boolean; disabled?: boolean; } export interface StateType extends ComponentBaseState { checked?: boolean; } declare class Radio extends Component { static RadioGroup: typeof RadioGroup; state: StateType; input: any; constructor(props: RadioType); componentWillMount(): void; componentWillReceiveProps(nextProps: any): void; onChange: (e: any) => void; saveInput: (node: any) => void; render(): JSX.Element; } export default Radio;