import { View } from 'react-native'; import { type TransitionStatus } from '../../internals/useTransitionStatus'; import type { RadioRootState } from '../root/RadioRoot'; import type { ZestUIComponentProps } from '../../types'; /** * Indicates whether the radio button is selected. * Renders a ``, or nothing when the radio is inactive. * * Follows the animation contract: with `keepMounted`, the indicator stays * mounted while inactive and publishes `transitionStatus` so the consumer can * animate it out. Without it, the indicator unmounts the moment it deselects — * React Native cannot report when an exit animation finished. */ export declare function RadioIndicator(componentProps: RadioIndicator.Props): import("react").ReactElement> | null; export interface RadioIndicatorState extends RadioRootState { /** * The transition status of the indicator, for driving enter/exit animations. */ transitionStatus: TransitionStatus; } export interface RadioIndicatorProps extends ZestUIComponentProps { /** * Whether to keep the element mounted when the radio button is inactive. * * Required to animate the indicator out; without it, it unmounts on deselect. * @default false */ keepMounted?: boolean | undefined; } export declare namespace RadioIndicator { type State = RadioIndicatorState; type Props = RadioIndicatorProps; } //# sourceMappingURL=RadioIndicator.d.ts.map