UNPKG

expo-router

Version:

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

9 lines (8 loc) • 630 B
import type { NavigationState } from '../react-navigation/routers'; import type { BrowserHistory, BrowserHistoryProjection, BrowserHistoryRestore } from './browserHistory.types'; export declare function createBrowserHistory(): BrowserHistoryProjection; export declare function applyRouterHistoryAction(history: BrowserHistory): BrowserHistoryProjection; export declare function updateCurrentHistoryEntry(history: BrowserHistory): BrowserHistoryProjection; export declare function restoreNavigationFromBrowser<Result extends { state: NavigationState; }>(history: BrowserHistory, result: Result): BrowserHistoryRestore<Result>;