import { ScaledSize } from "react-native"; import { EdgeInsets } from "react-native-safe-area-context"; export type ScreenOrientation = "landscape" | "portrait"; export type SafeAreaInsets = EdgeInsets; export interface ScreenDimensions extends ScaledSize { orientation: ScreenOrientation; size: "small" | "standard" | "large"; isSmallScreen: boolean; safeAreaInsets: SafeAreaInsets; } export declare const ScreenDimensionsProvider: ({ children }: { children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element; export declare function useScreenDimensions(): ScreenDimensions; /** * The following components have slightly different sizing dimensions based on the iPhone model * This file passes in the correct values based on the screen size * * Large: * iPhone XS Max/iphone XR: screenSize = 896 * * Small: * iphone SE/iphone 5s: screenSize = 568 * * Standard: * iPhone X/iphone XS: screenSize = 812 * iPhone 6/iPhone 6 Plus/iPhone 6s/iPhone 6s Plus/iPhone 7/iphone 8/iphone 8 Plus: screenSize = 667 */