export default Modal; declare class Modal extends React.Component { constructor(props: any); state: { modalAnimation: any; modalState: string; }; componentDidMount(): void; componentDidUpdate(prevProps: any): void; componentWillUnmount(): void; onHardwareBackPress: () => boolean; get pointerEvents(): any; get modalSize(): { width: any; height: any; }; show(): void; dismiss(): void; handleMove: (event: any) => void; lastSwipeEvent: any; handleSwipingOut: (event: any) => void; isSwipingOut: boolean | undefined; render(): JSX.Element; backdrop: Backdrop | null | undefined; } declare namespace Modal { namespace propTypes { const animationDuration: PropTypes.Requireable; const children: PropTypes.Requireable; const dragDisabled: PropTypes.Requireable; const hasOverlay: PropTypes.Requireable; const height: PropTypes.Requireable; const modalAnimation: PropTypes.Requireable; const modalStyle: PropTypes.Requireable; const onDismiss: PropTypes.Requireable<(...args: any[]) => any>; const onHardwareBackPress: PropTypes.Requireable<(...args: any[]) => any>; const onMove: PropTypes.Requireable<(...args: any[]) => any>; const onShow: PropTypes.Requireable<(...args: any[]) => any>; const onSwipeOut: PropTypes.Requireable; const onSwipeRelease: PropTypes.Requireable<(...args: any[]) => any>; const onSwiping: PropTypes.Requireable<(...args: any[]) => any>; const onSwipingOut: PropTypes.Requireable<(...args: any[]) => any>; const onTouchOutside: PropTypes.Requireable<(...args: any[]) => any>; const overlayBackgroundColor: PropTypes.Requireable; const overlayOpacity: PropTypes.Requireable; const overlayPointerEvents: PropTypes.Requireable; const style: PropTypes.Requireable; const swipeDirection: PropTypes.Requireable; const swipeThreshold: PropTypes.Requireable; const useNativeDriver: PropTypes.Requireable; const visible: PropTypes.Requireable; const width: PropTypes.Requireable; } namespace defaultProps { const visible_1: boolean; export { visible_1 as visible }; const style_1: null; export { style_1 as style }; export { DEFAULT_ANIMATION_DURATION as animationDuration }; const modalStyle_1: null; export { modalStyle_1 as modalStyle }; const width_1: null; export { width_1 as width }; const height_1: null; export { height_1 as height }; export function onTouchOutside_1(): void; export { onTouchOutside_1 as onTouchOutside }; export function onHardwareBackPress_1(): boolean; export { onHardwareBackPress_1 as onHardwareBackPress }; const hasOverlay_1: boolean; export { hasOverlay_1 as hasOverlay }; const overlayOpacity_1: number; export { overlayOpacity_1 as overlayOpacity }; const overlayPointerEvents_1: null; export { overlayPointerEvents_1 as overlayPointerEvents }; const overlayBackgroundColor_1: string; export { overlayBackgroundColor_1 as overlayBackgroundColor }; export function onShow_1(): void; export { onShow_1 as onShow }; export function onDismiss_1(): void; export { onDismiss_1 as onDismiss }; export function onMove_1(): void; export { onMove_1 as onMove }; export function onSwiping_1(): void; export { onSwiping_1 as onSwiping }; export function onSwipeRelease_1(): void; export { onSwipeRelease_1 as onSwipeRelease }; export function onSwipingOut_1(): void; export { onSwipingOut_1 as onSwipingOut }; const useNativeDriver_1: boolean; export { useNativeDriver_1 as useNativeDriver }; const dragDisabled_1: boolean; export { dragDisabled_1 as dragDisabled }; } } import React from "react"; import Backdrop from "./components/Backdrop"; import PropTypes from "prop-types"; declare const DEFAULT_ANIMATION_DURATION: 150; //# sourceMappingURL=Modal.d.ts.map