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;
