UNPKG

expo-router

Version:

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

10 lines (9 loc) • 486 B
import type { NavigationState } from './types'; export declare const ROOT_CHAIN = "root"; export declare function createNavigatorStateKey(parentChain: string): string; export declare function getChainFromRouteKey(routeKey: string): string; export declare function getChainFromStateKey(stateKey: string): string; export declare function createRouteKeyMinter(state: Pick<NavigationState, 'key' | 'routeKeySeq'>): { mint: (name: string) => string; readonly routeKeySeq: number; };