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