import * as React from 'react'; import { Animated } from 'react-native'; import { MDPopupPos, MDPopupTrans } from './types'; interface IMDPopupProps { isVisible: boolean; hasMask?: boolean; maskOpacity?: number; maskColor?: string; maskClosable?: boolean; position?: MDPopupPos; transition?: MDPopupTrans; onBeforeShow?: () => void; onShow?: () => void; onBeforeHide?: () => void; onHide?: () => void; } interface IMDPopupState { animTime: Animated.Value; isVisible: boolean; backdropOpacity: number; backdropColor: string; } export default class MDPopup extends React.Component { static defaultProps: { isVisible: boolean; position: string; maskClosable: boolean; hasMask: boolean; maskOpacity: number; }; constructor(props: IMDPopupProps); componentWillReceiveProps(newProps: IMDPopupProps): void; render(): JSX.Element | null; private setVisible; private transAnimStyle; } export {};