securityos/node_modules/next/dist/server/app-render/create-flight-router-state-...

6 lines
554 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" | "oc"];
export declare function createFlightRouterStateFromLoaderTree([segment, parallelRoutes, { layout }]: LoaderTree, getDynamicParamFromSegment: GetDynamicParamFromSegment, searchParams: any, rootLayoutIncluded?: boolean): FlightRouterState;