import { type ComponentType, type Context } from "react"; import { type ViewProps } from "react-native"; type SafeAreaEdges = readonly ("top" | "right" | "bottom" | "left")[]; export type SafeAreaViewComponent = ComponentType; type SafeAreaProviderComponent = ComponentType; /** The safe-area insets the peer reports for its provider's frame. */ export interface SafeAreaInsets { top: number; right: number; bottom: number; left: number; } declare let SafeAreaView: SafeAreaViewComponent; declare let SafeAreaProvider: SafeAreaProviderComponent; declare let SafeAreaInsetsContext: Context; /** * The window's safe-area insets (the status bar, the Dynamic Island, the home indicator * and a landscape sensor housing), each a finite length of 0 or more. Null when no * SafeAreaProvider is mounted or the peer is absent. Stable while the insets are. */ export declare function useSafeAreaInsetsOrNull(): SafeAreaInsets | null; export { SafeAreaView, SafeAreaProvider, SafeAreaInsetsContext }; //# sourceMappingURL=safe-area.d.ts.map