import type { ComponentProps } from 'react'; import { type BottomTabNavigatorCreateProps } from '../react-navigation/bottom-tabs/navigators/createBottomTabNavigator'; import type { BottomTabNavigationConfig, BottomTabNavigationEventMap, BottomTabNavigationOptions } from '../react-navigation/bottom-tabs/types'; import { type ParamListBase, type TabNavigationState, type TabRouterOptions } from '../react-navigation/native'; import type { StandardNavigatorCreatePropsFactoryDeps } from '../standard-navigation/types'; import type { Href } from '../types'; export * from '../react-navigation/bottom-tabs'; export type TabsScreenOptions = BottomTabNavigationOptions & { href?: Href | null; }; /** * Creates the props required to integrate Expo Router's JavaScript tabs navigator. * * @param dependencies The navigation state and dispatch function provided to a `createProps` * factory. * @returns The JavaScript tabs navigator props. * * @example * ```tsx * import { TabRouter, integrateWithRouter } from 'expo-router'; * import { createJSTabsProps } from 'expo-router/js-tabs'; * import { navigator } from './navigator'; * * export const Tabs = integrateWithRouter(navigator, TabRouter, { * createProps: createJSTabsProps, * }); * ``` */ export declare function createJSTabsProps(args: StandardNavigatorCreatePropsFactoryDeps>): BottomTabNavigatorCreateProps; /** * Renders a tabs navigator. * * @hideType */ declare const Tabs: import("react").ForwardRefExoticComponent, TabsScreenOptions, BottomTabNavigationEventMap>, "initialRouteName"> & Omit & Omit & { unstable_screenErrorBoundary?: React.ComponentType; }, "children"> & Partial, TabsScreenOptions, BottomTabNavigationEventMap>, "initialRouteName"> & Omit & Omit & { unstable_screenErrorBoundary?: React.ComponentType; }, "children">> & import("react").RefAttributes> & { Screen: (props: import("..").ScreenProps, BottomTabNavigationEventMap>) => null; Protected: typeof import("../views/Protected").Protected; }; export type JSTabsProps = ComponentProps; export default Tabs;