import * as React from 'react'; import { BoxProps } from '../Box'; import { FieldWrapperProps } from '../FieldWrapper'; import { SetProps } from '../Set'; import { RadioProps } from './Radio'; export declare type LocalRadioGroupProps = { /** Default value of the radio group */ defaultValue?: string; /** Disables the radio group */ disabled?: boolean; name: string; /** Are the radio inputs layed out horizontally? */ orientation?: 'horizontal' | 'vertical'; /** Radio group options */ options: Array; spacing?: SetProps['spacing']; /** 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 = Omit & LocalRadioGroupProps; export declare const RadioGroup: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalRadioGroupFieldProps = { /** Additional props for the RadioGroup component */ radioGroupProps?: RadioGroupProps; }; export declare type RadioGroupFieldProps = BoxProps & FieldWrapperProps & RadioGroupProps & LocalRadioGroupFieldProps; export declare const RadioGroupField: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };