import React from 'react'; import { ThemeOverrideProps } from '@xsolla/xui-core'; interface RadioProps extends ThemeOverrideProps { /** Size of the radio button */ size?: "sm" | "md" | "lg" | "xl"; /** Whether the radio button is checked */ checked?: boolean; /** Value of the radio button (for RadioGroup) */ value?: string; /** Visual state of the radio button */ state?: "default" | "hover" | "disable" | "error"; /** Whether the radio button is disabled */ disabled?: boolean; /** Label text to display next to the radio button */ label?: string; /** Description text to display below the label */ description?: string; /** Error label text to display when state is 'error' */ errorLabel?: string; /** Callback when the radio button is pressed */ onPress?: () => void; /** Callback when the radio button value changes (for compatibility with Checkbox-like APIs) */ onValueChange?: (value: boolean) => void; /** Accessible label for screen readers (if label is not provided) */ "aria-label"?: string; /** ID of element that labels this radio */ "aria-labelledby"?: string; testID?: string; } declare const Radio: React.FC; export { Radio, type RadioProps };