import { Animated } from 'react-native'; /** * Hook that provides animated values and animation functions for dot badge transitions. * * Used to animate the appearance/disappearance of notification dot badges in tab labels. * Runs parallel opacity (fade) and width (scale) animations for smooth enter/exit effects. * * @returns Object containing: * - `opacity` - Animated.Value controlling the dot's opacity (0 = hidden, 1 = visible) * - `width` - Animated.Value controlling the dot container's width (0 = collapsed, getDotSize(count) = expanded) * - `animateIn` - Triggers the enter animation when a dot badge should appear * - `animateOut` - Triggers the exit animation when a dot badge should disappear * * @example * ```tsx * const { opacity, width, animateIn, animateOut } = useDotAnimation(); * * useEffect(() => { * if (count > 0) animateIn(count); * else animateOut(count); * }, [count]); * * return ( * * * * * * ); * ``` */ export declare const useDotAnimation: () => { opacity: Animated.Value; width: Animated.Value; animateIn: (count: number) => void; animateOut: (count: number) => void; }; //# sourceMappingURL=useDotAnimation.d.ts.map