import type { ComponentType } from 'react'; import type { ModalOptions } from '../types'; export default function

(modalName: Exclude, modalComponent: ComponentType | ModalOptions): { component: ModalOptions | ComponentType; name: Exclude; options: { animateInConfig?: Pick | undefined; animationIn?: ((animatedValue: import("react-native").Animated.Value, toValue: number, callback?: (() => void) | undefined) => void | import("react-native").Animated.CompositeAnimation) | undefined; animateOutConfig?: Pick | undefined; animationOut?: ((animatedValue: import("react-native").Animated.Value, toValue: number, callback?: (() => void) | undefined) => void | import("react-native").Animated.CompositeAnimation) | undefined; backBehavior?: "clear" | "pop" | "none" | undefined; backdropAnimationDuration?: number | undefined; backdropColor?: import("react-native").ColorValue | undefined; backdropOpacity?: number | undefined; backdropPosition?: "root" | "belowLatest" | undefined; containerStyle?: import("react-native").ViewStyle | undefined; disableFlingGesture?: boolean | undefined; position?: "center" | "top" | "bottom" | undefined; stackContainerStyle?: import("react-native").ViewStyle | ((opacity: import("react-native").Animated.Value) => import("react-native").ViewStyle) | undefined; transitionOptions?: import("../types").ModalTransitionOptions | undefined; pointerEventsBehavior?: "none" | "auto" | "current-modal-only" | "current-modal-none" | undefined; } | undefined; };