UNPKG

842 BTypeScriptView Raw
1/// <reference types="react" />
2import { DefaultNavigatorOptions, ParamListBase, StackNavigationState, StackRouterOptions } from '@react-navigation/native';
3import type { StackNavigationConfig, StackNavigationEventMap, StackNavigationOptions } from '../types';
4declare type Props = DefaultNavigatorOptions<ParamListBase, StackNavigationState<ParamListBase>, StackNavigationOptions, StackNavigationEventMap> & StackRouterOptions & StackNavigationConfig;
5declare function StackNavigator({ id, initialRouteName, children, screenListeners, screenOptions, ...rest }: Props): JSX.Element;
6declare const _default: <ParamList extends ParamListBase>() => import("@react-navigation/native").TypedNavigator<ParamList, StackNavigationState<ParamListBase>, StackNavigationOptions, StackNavigationEventMap, typeof StackNavigator>;
7export default _default;