export type Color = string; export type ImageSource = { uri: string; scale?: number; height?: number; width?: number; }; export declare const BarStyleLightContent = "light-content"; export type BarStyleLightContent = typeof BarStyleLightContent; export declare const BarStyleDarkContent = "dark-content"; export type BarStyleDarkContent = typeof BarStyleDarkContent; export type BarStyle = BarStyleLightContent | BarStyleDarkContent; export interface NavigationOption { screenBackgroundColor?: Color; statusBarHidden?: boolean; statusBarStyle?: BarStyle; navigationBarColorAndroid?: Color; navigationBarHiddenAndroid?: boolean; displayCutoutWhenLandscapeAndroid?: boolean; homeIndicatorAutoHiddenIOS?: boolean; backInteractive?: boolean; } export interface NavigationItem extends NavigationOption { animatedTransition?: boolean; forceScreenLandscape?: boolean; tabItem?: TabItem; } export interface TabItem { title: string; icon?: ImageSource; unselectedIcon?: ImageSource; } export interface ShadowImage { image?: ImageSource; color?: Color; } export interface DefaultOptions { screenBackgroundColor?: Color; statusBarStyle?: BarStyle; navigationBarColorAndroid?: Color; displayCutoutWhenLandscapeAndroid?: boolean; tabBarBackgroundColor?: Color; tabBarShadowImage?: ShadowImage; tabBarItemSelectedColor?: Color; tabBarItemNormalColor?: Color; tabBarBadgeColor?: Color; } export type TabBarStyle = Pick; export interface TabItemInfo { index: number; title?: string; badge?: { text?: string; hidden: boolean; dot?: boolean; }; icon?: { selected: ImageSource; unselected?: ImageSource; }; }