import type { ReactNode } from 'react'; import React from 'react'; export interface ModalProps { /** * Content of the modal. */ children: ReactNode; /** * Visibility of the modal */ visible?: boolean; /** * Callback when the modal is shown. */ onShow?: () => void; /** * Callback when the user taps the hardware back button. */ onRequestClose?: () => void; /** * TestID of the modal. */ testID?: string; /** * Animation type of the modal content. */ animationType?: 'none' | 'slide' | 'fade'; /** * Whether to show the modal backdrop */ transparent?: boolean; /** * Callback when the modal is dismissed. iOS only. */ onDismiss?: () => void; } declare const Modal: ({ children, visible, onShow, onRequestClose, testID, animationType, transparent, onDismiss, }: ModalProps) => React.JSX.Element | null; export default Modal;