/// import { Orientation, OnSwipeCompleteParams, Direction, OnOrientationChange, PresentationStyle } from 'react-native-modal'; import { StyleProp, ViewStyle } from 'react-native'; import { Animation, CustomAnimation } from 'react-native-animatable'; import { BorderPropsType, SpacingPropsType, RoundedPropsType, BackgroundPropsType, DimensionPropsType, FlexPropsType, VariantPropsType } from '../../types'; export declare type ModalRef = { open: () => void; close: () => void; }; declare type OrNull = null | T; export interface ModalProps extends BorderPropsType, SpacingPropsType, RoundedPropsType, Pick, Pick, Pick, VariantPropsType { children: React.ReactElement[] | React.ReactElement; animationIn?: Animation | CustomAnimation; animationInTiming?: number; animationOut?: Animation | CustomAnimation; animationOutTiming?: number; avoidKeyboard?: boolean; coverScreen?: boolean; hasBackdrop?: boolean; backdropColor?: string; backdropOpacity?: number; backdropTransitionInTiming?: number; backdropTransitionOutTiming?: number; customBackdrop?: React.ReactNode; useNativeDriver?: boolean; deviceHeight?: number; deviceWidth?: number; isVisible?: boolean; hideModalContentWhileAnimating?: boolean; propagateSwipe?: boolean; onModalShow?: () => void; onModalWillShow?: () => void; onModalHide?: () => void; onModalWillHide?: () => void; onBackButtonPress?: () => void; onBackdropPress?: () => void; swipeThreshold?: number; scrollTo?: OrNull<(e: any) => void>; scrollOffset?: number; scrollOffsetMax?: number; scrollHorizontal?: boolean; supportedOrientations?: Orientation[]; onSwipeStart?: () => void; onSwipeMove?: (percentageShown: number) => void; onSwipeComplete?: (params: OnSwipeCompleteParams) => void; onSwipeCancel?: () => void; style?: StyleProp; swipeDirection?: Direction | Array; onDismiss?: () => void; onShow?: () => void; hardwareAccelerated?: boolean; onOrientationChange?: OnOrientationChange; presentationStyle?: PresentationStyle; } export {};