import * as React from 'react'; import { NavigationRoute, NavigationRouteConfigMap, CreateNavigatorConfig, NavigationTabRouterConfig } from 'react-navigation'; import { NavigationTabProp, NavigationCommonTabOptions, SceneDescriptorMap } from '../types'; declare type RouteConfig = NavigationRouteConfigMap>; declare type CommonProps = { navigation: NavigationTabProp; descriptors: SceneDescriptorMap; screenProps?: unknown; }; export declare type RenderIconProps = { route: NavigationRoute; focused: boolean; tintColor?: string; horizontal?: boolean; }; export declare type NavigationViewProps = { getLabelText: (props: { route: NavigationRoute; }) => string | undefined; getAccessibilityLabel: (props: { route: NavigationRoute; }) => string | undefined; getTestID: (props: { route: NavigationRoute; }) => string | undefined; renderIcon: (props: RenderIconProps) => React.ReactNode; renderScene: (props: { route: NavigationRoute; }) => React.ReactNode; onIndexChange: (index: number) => void; onTabPress: (props: { route: NavigationRoute; }) => void; onTabLongPress: (props: { route: NavigationRoute; }) => void; }; export default function createTabNavigator(TabView: React.ComponentType): (routes: RouteConfig, config?: CreateNavigatorConfig, NavigationTabRouterConfig, Partial, NavigationTabProp>) => import("react-navigation").NavigationNavigator>; export {};