import Animated from 'react-native-reanimated'; import type { ViewRef } from '../../helpers/internal/types/index.js'; import * as RadioPrimitives from '../../primitives/radio/index.js'; import type { RadioIndicatorProps, RadioIndicatorThumbProps, RadioProps } from './radio.types.js'; declare const useRadio: typeof RadioPrimitives.useRadioContext; /** * Compound Radio component with sub-components. * * @component Radio - Individual radio option that operates in two modes: * - **Standalone**: Uses `isSelected`/`onSelectedChange` directly. * - **Inside RadioGroupItem**: Automatically detects the parent context, derives * `isSelected`/`isDisabled`/`isInvalid`/`variant` from it. Pressing selects this * item in the group via the group's `onValueChange`. * * Renders a default indicator if no children are provided. Supports render function * children to access state (`isSelected`, `isInvalid`, `isDisabled`). * * @component Radio.Indicator - Optional container for the radio circle. Renders default thumb * if no children provided. Manages the visual selection state. * * @component Radio.IndicatorThumb - Optional inner circle that appears when selected. Animates * scale based on selection. Can be replaced with custom content. * * @component Radio.IndicatorBackground - Absolute-fill background container behind the * indicator content. With no children, the active library theme decides the * default content (e.g. a glass blur layer) * * @see Full documentation: https://heroui.com/docs/native/components/radio */ declare const CompoundRadio: import("react").ForwardRefExoticComponent> & { /** @optional Custom radio indicator container */ Indicator: import("react").ForwardRefExoticComponent>; /** @optional Custom indicator thumb that appears when selected */ IndicatorThumb: import("react").ForwardRefExoticComponent>; /** Indicator background - absolute-fill container behind the indicator content */ IndicatorBackground: import("react").ForwardRefExoticComponent>; }; export { useRadio }; export default CompoundRadio; //# sourceMappingURL=radio.d.ts.map