UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

27 lines 1.56 kB
export declare const StoreContext: import("react").Context<{ shouldShowTutorial(): boolean; readonly state: import("./router-store").ReactNavigationState | undefined; readonly navigationRef: import("@react-navigation/core").NavigationContainerRefWithCurrent<ReactNavigation.RootParamList>; readonly routeNode: import("../Route").RouteNode | null; getRouteInfo(): import("./routeInfo").UrlObject; readonly redirects: import("./router-store").StoreRedirects[]; readonly rootComponent: import("react").ComponentType<any>; readonly linking: import("../getLinkingConfig").ExpoLinkingOptions | undefined; setFocusedState(state: import("./router-store").FocusedRouteState): void; onReady(): void; assertIsReady(): void; } | null>; export declare const useExpoRouterStore: () => { shouldShowTutorial(): boolean; readonly state: import("./router-store").ReactNavigationState | undefined; readonly navigationRef: import("@react-navigation/core").NavigationContainerRefWithCurrent<ReactNavigation.RootParamList>; readonly routeNode: import("../Route").RouteNode | null; getRouteInfo(): import("./routeInfo").UrlObject; readonly redirects: import("./router-store").StoreRedirects[]; readonly rootComponent: import("react").ComponentType<any>; readonly linking: import("../getLinkingConfig").ExpoLinkingOptions | undefined; setFocusedState(state: import("./router-store").FocusedRouteState): void; onReady(): void; assertIsReady(): void; }; //# sourceMappingURL=storeContext.d.ts.map