import * as React from 'react'; import { ViewProps as RNViewProps } from 'react-native'; import { BoxProps } from '../Box'; import { SetProps } from '../Set'; import { RadioProps } from './Radio'; import { FieldWrapperProps } from '../FieldWrapper'; export declare type LocalRadioGroupProps = { /** Alignment of the radio group */ align?: 'left' | 'right'; /** Default value(s) of the radio group */ defaultValue?: Array; /** Disables the radio group */ disabled?: boolean; /** Radio group options */ options: Array; /** Are the radio inputs layed out horizontally or vertically? */ orientation?: 'vertical' | 'horizontal'; /** Color of the radio group. Can be any color in the palette. */ palette?: string; 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?: (value: string) => void; /** Overrides for the RadioGroup `Set` component. */ setProps?: Partial; }; export declare type RadioGroupProps = BoxProps & RNViewProps & LocalRadioGroupProps; export declare const RadioGroup: React.ForwardRefExoticComponent & RNViewProps & import("../Box").LocalBoxProps & { active?: boolean; focus?: boolean; hover?: boolean; /** Function to invoke when radio group has changed */ hoveractive?: boolean; } & LocalRadioGroupProps & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalRadioGroupFieldProps = { /** Additional props for the Radio component */ radioGroupProps?: Partial; }; export declare type RadioGroupFieldProps = BoxProps & FieldWrapperProps & RadioGroupProps & LocalRadioGroupFieldProps; export declare const RadioGroupField: React.ForwardRefExoticComponent & RNViewProps & import("../Box").LocalBoxProps & { active?: boolean; focus?: boolean; hover?: boolean; /** Function to invoke when radio group has changed */ hoveractive?: boolean; } & import("../FieldWrapper").LocalFieldWrapperProps & LocalRadioGroupProps & LocalRadioGroupFieldProps & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };