import type { ReactElement, ReactNode } from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { IconName } from '../Icon'; interface RadioProps { /** * Whether the radio is checked. */ checked?: boolean; /** * Press event handler. */ onPress: () => void; /** * Radio text. */ text: string; /** * Additional style. */ style?: StyleProp; /** * Radio subtext. */ subText?: string; /** * Testing id of the component. */ testID?: string; /** * Idle background color of the Radio. */ inactiveIntent?: 'light' | 'dark'; /** * Children to be rendered inside the component. */ children?: ReactNode; /** * Prefix to be rendered before the radio text. */ prefix?: IconName | ReactElement; } declare const Radio: ({ text, checked, onPress, style, subText, testID, inactiveIntent, children, prefix, }: RadioProps) => ReactElement; export default Radio;