import { type SharedValue } from 'react-native-reanimated'; import type { PopupDialogContentAnimation } from '../types'; export interface UsePopupDialogContentAnimationOptions { isOpen: boolean; progress: SharedValue; isDragging: SharedValue; isGestureReleaseAnimationRunning: SharedValue; onOpenChange: (open: boolean) => void; animation?: PopupDialogContentAnimation; /** @default true */ isSwipeable?: boolean; } /** * Animation hook for popup dialog content (panel). * Handles enter/exit Keyframes, swipe-to-dismiss gesture, and drag-driven * translateY + scale via a shared `progress` value. * * On web, entering/exiting are undefined (CSS transitions drive the visuals) * and the gesture is disabled. */ export declare function usePopupDialogContentAnimation({ isOpen, progress, isDragging, isGestureReleaseAnimationRunning, onOpenChange, animation, isSwipeable, }: UsePopupDialogContentAnimationOptions): { contentY: SharedValue; contentHeight: SharedValue; panGesture: import("react-native-gesture-handler/lib/typescript/handlers/gestures/panGesture").PanGesture; rDragContainerStyle: { opacity: number; transform: ({ translateY: number; scale?: undefined; } | { scale: number; translateY?: undefined; })[]; } | { transform: ({ translateY: number; scale?: undefined; } | { scale: number; translateY?: undefined; })[]; opacity?: undefined; }; entering: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined; exiting: import("react-native-reanimated").BaseAnimationBuilder | ((targetValues: import("react-native-reanimated").EntryAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | ((targetValues: import("react-native-reanimated").ExitAnimationsValues) => import("react-native-reanimated").LayoutAnimation) | import("react-native-reanimated").ReanimatedKeyframe | undefined; }; //# sourceMappingURL=usePopupDialogContentAnimation.d.ts.map