import { JSX, PropsWithChildren, ReactElement, ReactNode } from 'react'; import { TabProps } from '../../contexts/TabConfigContext'; import { RouteProps } from '../route/Route.native'; import { TabBarPropsPlacement } from './tabBar/TabBar.native'; import { CommonTabProps } from './tabBarItemContainer/TabBarItemContainer.native'; export type TabRouteTabProps = CommonTabProps & Omit & TabProps & { label: string; path: string; }; export type TabsRouteProps = CommonTabProps & PropsWithChildren & TabProps & { placement: TabBarPropsPlacement; renderTabBar?: (props: { children: Array>; placement: TabBarPropsPlacement; tabs: TabRouteTabProps[]; }) => ReactNode; }; /** * `TabsRoute` provides a customizable tab navigation component. * It includes functionalities to render tabs and switch between different views seamlessly. * Supports customizable tab bars and can accommodate various configurations based on user requirements. */ declare function TabsRoute({ animated, children, duration, historyMode, onPress, placement, renderLabel, renderTabBar, renderTabBarItem }: TabsRouteProps): import("react/jsx-runtime").JSX.Element; declare namespace TabsRoute { var Tab: (props: TabRouteTabProps) => JSX.Element; } export default TabsRoute;