Files
Webklar.com/node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

6 lines
372 B
TypeScript

import type { FlightRouterState, FlightSegmentPath } from '../../../server/app-render/types';
/**
* Apply the router state from the Flight response. Creates a new router state tree.
*/
export declare function applyRouterStatePatchToTree(flightSegmentPath: FlightSegmentPath, flightRouterState: FlightRouterState, treePatch: FlightRouterState): FlightRouterState | null;