import { Animated } from 'react-native'; export declare const useModalAnimation: ({ animationType, visible, shouldRender, animation, translateY, opacity, duration, onShow, onDismiss, setShouldRender, shownRef, }: { animationType: string; visible: boolean; shouldRender: boolean; animation: Animated.Value; translateY: Animated.Value; opacity: Animated.Value; duration: number; onShow?: (() => void) | undefined; onDismiss?: (() => void) | undefined; setShouldRender: (v: boolean) => void; shownRef: React.MutableRefObject; }) => void;