UNPKG

next

Version:

The React Framework

9 lines (8 loc) 543 B
import type { FlightRouterState } from '../../../shared/lib/app-router-types'; import type { Params } from '../../../server/request/params'; export declare function extractPathFromFlightRouterState(flightRouterState: FlightRouterState): string | undefined; export declare function computeChangedPath(treeA: FlightRouterState, treeB: FlightRouterState): string | null; /** * Recursively extracts dynamic parameters from FlightRouterState. */ export declare function getSelectedParams(currentTree: FlightRouterState, params?: Params): Params;