Files
recipe-app/frontend/node_modules/next/dist/client/components/router-reducer/compute-changed-path.d.ts
T
2026-04-09 09:14:39 +02:00

10 lines
665 B
TypeScript

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 extractSourcePageFromFlightRouterState(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;