/// import { StyleProp, ViewStyle } from 'react-native'; import { BottomNavigation } from 'react-native-paper'; import { NavigationRoute, NavigationState, NavigationScreenProp, NavigationParams, NavigationScreenConfig, SupportedThemes } from 'react-navigation'; export declare type NavigationTabState = NavigationState; export declare type NavigationTabProp = NavigationScreenProp & { jumpTo(routeName: string, key?: string): void; }; export declare type NavigationMaterialBottomTabOptions = { title?: string; tabBarLabel?: React.ReactNode; tabBarBadge?: boolean | number | string; tabBarVisible?: boolean; tabBarAccessibilityLabel?: string; tabBarTestID?: string; tabBarColor?: string; tabBarIcon?: React.ReactNode | ((props: { focused: boolean; tintColor?: string; horizontal?: boolean; }) => React.ReactNode); tabBarOnPress?: (props: { navigation: NavigationTabProp; defaultHandler: () => void; }) => void; }; export declare type NavigationMaterialBottomTabConfig = Partial, 'navigationState' | 'onIndexChange' | 'onTabPress' | 'renderScene' | 'renderLabel' | 'renderIcon' | 'getAccessibilityLabel' | 'getBadge' | 'getColor' | 'getLabelText' | 'getTestID'>> & { activeColorLight?: string; activeColorDark?: string; inactiveColorLight?: string; inactiveColorDark?: string; barStyleLight?: StyleProp; barStyleDark?: StyleProp; }; export declare type NavigationTabScreenProps = { theme: SupportedThemes; navigation: NavigationTabProp; screenProps: ScreenProps; }; export declare type NavigationMaterialBottomTabScreenComponent = React.ComponentType> & { navigationOptions?: NavigationScreenConfig, ScreenProps>; };