import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ReakitBoxProps } from '../types'; export declare type LocalRadioGroupProps = { /** An accessible ID for the radio group */ a11yId?: string; /** An accessible label for the radio group */ a11yLabel?: string; className?: string; /** Default value of the radio group */ defaultValue?: string; /** Disables the radio group */ disabled?: boolean; isHorizontal?: boolean; name: string; /** Radio group options */ options: Array<{ disabled?: boolean; label: string; value: string; radioRef?: React.RefObject; }>; /** State of the radio group. Can be any color in the palette. */ state?: string; /** Controlled value of the radio group */ value?: string; /** Function to invoke when radio group has changed */ onChange?: React.FormEventHandler; }; export declare type RadioGroupProps = ReakitBoxProps & LocalRadioGroupProps; export declare type RadioGroupComponents = { Formik: React.FunctionComponent; ReduxForm: React.FunctionComponent; }; export declare const RadioGroup: React.FunctionComponent & RadioGroupComponents; export declare const radioGroupPropTypes: { a11yId: PropTypes.Requireable; a11yLabel: PropTypes.Requireable; className: PropTypes.Requireable; defaultValue: PropTypes.Requireable; disabled: PropTypes.Requireable; isHorizontal: PropTypes.Requireable; name: PropTypes.Validator; options: PropTypes.Validator; state: PropTypes.Requireable; value: PropTypes.Requireable; onChange: PropTypes.Requireable<(...args: any[]) => any>; }; export declare const radioGroupDefaultProps: { a11yId: any; a11yLabel: any; className: any; defaultValue: any; disabled: boolean; isHorizontal: boolean; onChange: any; state: any; value: any; }; declare const C: React.FunctionComponent & RadioGroupComponents; export default C;