/// <reference types="react" />
import React from 'react';
import { ViewStyle } from 'react-native';
export interface IModalPropTypes {
    wrapStyle?: ViewStyle;
    maskStyle?: ViewStyle;
    style?: {};
    animationType: 'none' | 'fade' | 'slide-up' | 'slide-down';
    animationDuration?: number;
    visible: boolean;
    maskClosable?: boolean;
    animateAppear?: boolean;
    onClose?: () => void;
    onAnimationEnd?: (visible: boolean) => void;
}
export default class NativeModal extends React.Component<IModalPropTypes, any> {
    static defaultProps: IModalPropTypes;
    animMask: any;
    animDialog: any;
    constructor(props: any);
    componentWillReceiveProps(nextProps: any): void;
    shouldComponentUpdate(nextProps: any, nextState: any): boolean;
    componentDidMount(): void;
    componentDidUpdate(prevProps: any): void;
    animateMask: (visible: any) => void;
    stopMaskAnim: () => void;
    stopDialogAnim: () => void;
    animateDialog: (visible: any) => void;
    close: () => void;
    onMaskClose: () => void;
    getPosition: (visible: any) => number;
    getScale: (visible: any) => 1 | 1.05;
    getOpacity: (visible: any) => 1 | 0;
    render(): any;
}
