import React from 'react'; import type { AccessibilityProps, View } from 'react-native'; import type { SharedProps } from '@coinbase/cds-common/types/SharedProps'; import { type BoxBaseProps } from '../layout/Box'; import type { GroupBaseProps } from '../layout/Group'; import { Radio, type RadioBaseProps, type RadioProps } from './Radio'; export { Radio, type RadioBaseProps, type RadioProps }; type RadioGroupBaseProps = Omit< AccessibilityProps, 'accessibilityLabelledBy' > & SharedProps & Pick, 'direction' | 'gap'> & { /** * Multiple choice options for the radio group. The object key represents * the radio input value and the object value represents the radio option label. */ options: Record; /** Set a label summary for the group of radios. */ label?: React.ReactNode; /** Currently selected value. */ value?: RadioValue; /** Handle change event when pressing on a radio option. */ onChange?: RadioProps['onChange']; /** Sets the checked/active color of each control in the group. * @default bgPrimary */ controlColor?: RadioProps['controlColor']; /** A11Y label to indicate order of radio buttons when focused on one button */ radioAccessibilityLabel?: string; }; type RadioGroupProps = RadioGroupBaseProps; declare const RadioGroupWithRef: ({ ref, label, value, onChange, options, testID, controlColor, accessibilityLabel, accessibilityHint, radioAccessibilityLabel, ...props }: RadioGroupProps & { ref?: React.Ref; }) => import('react/jsx-runtime').JSX.Element; /** * @deprecated RadioGroup is deprecated. Use ControlGroup with accessibilityRole="radiogroup" instead. This will be removed in a future major release. * @deprecationExpectedRemoval v8 */ export declare const RadioGroup: typeof RadioGroupWithRef & React.MemoExoticComponent; //# sourceMappingURL=RadioGroup.d.ts.map