import { Animation, CustomAnimation } from "react-native-animatable"; import { NativeSyntheticEvent } from "react-native"; export type OrNull = null | T; export type SupportedAnimation = Animation | CustomAnimation; export type Animations = { animationIn: string; animationOut: string; }; export type Orientation = | "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right"; export type Direction = "up" | "down" | "left" | "right"; export type AnimationEvent = (...args: any[]) => void; export type PresentationStyle = | "fullScreen" | "pageSheet" | "formSheet" | "overFullScreen"; export type OnOrientationChange = ( orientation: NativeSyntheticEvent, ) => void;