///
import { View, Animated, LayoutChangeEvent } from 'react-native';
export declare const POPUP_MODAL_SUPPORTED_ORIENTATIONS: Array<'portrait' | 'portrait-upside-down' | 'landscape' | 'landscape-left' | 'landscape-right'>;
export interface UsePopupMenuOptions {
onDismiss?: () => void;
onShow?: () => void;
screenType?: string;
}
export default function usePopupMenu(options: UsePopupMenuOptions): {
visible: boolean;
style: any;
fadeAnim: Animated.Value;
widthAnim: Animated.Value;
heightAnim: Animated.Value;
radiusAnim: Animated.Value;
translateX: Animated.AnimatedInterpolation;
translateY: Animated.AnimatedInterpolation;
dialogContentRef: import("react").MutableRefObject;
modalRootRef: import("react").MutableRefObject;
onModalLayout: (e?: LayoutChangeEvent | undefined) => void;
onDialogOuterLayout: (e: LayoutChangeEvent) => void;
onOverlayPress: () => void;
showFrom: (triggerRef: any) => void;
dismiss: () => void;
resetContentCache: () => void;
onModalOrientationChange: () => void;
};