Files
scrap/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.d.ts
2024-09-24 03:52:46 +00:00

6 lines
568 B
TypeScript

import type { LoaderTree } from '../lib/app-dir-module';
import type { FlightRouterState, Segment } from './types';
import type { GetDynamicParamFromSegment } from './app-render';
export declare function addSearchParamsIfPageSegment(segment: Segment, searchParams: any): string | [string, string, "d" | "c" | "ci" | "oc" | "di"];
export declare function createFlightRouterStateFromLoaderTree([segment, parallelRoutes, { layout }]: LoaderTree, getDynamicParamFromSegment: GetDynamicParamFromSegment, searchParams: any, rootLayoutIncluded?: boolean): FlightRouterState;