import { ViewStyle } from 'react-native';
import { ModalProps } from '../type';
export default function useModal({ animationType, animationDuration, visible, maskClosable, position, onClose, onAnimationEnd, onRequestClose, }: ModalProps): {
    modalVisible: boolean;
    wrapStyle: ViewStyle;
    defaultStyle: ViewStyle;
    handleMaskClose: () => void;
    animationStyleMap: {
        slide: {
            transform: {
                translateY: number;
            }[];
        };
        fade: {
            transform: {
                scale: number;
            }[];
            opacity: number;
        };
    };
};
//# sourceMappingURL=useModal.d.ts.map