UNPKG

next

Version:

The React Framework

6 lines (5 loc) 1.05 kB
import type { LoaderTree } from '../lib/app-dir-module'; import { type FlightRouterState, type PrefetchHints } from '../../shared/lib/app-router-types'; import type { GetDynamicParamFromSegment } from './app-render'; export declare function createFlightRouterStateFromLoaderTree(loaderTree: LoaderTree, hintTree: PrefetchHints | null, prefetchInliningEnabled: boolean, cacheComponents: boolean, partialPrefetching: boolean | 'unstable_eager' | undefined, isStaticGeneration: boolean, isBuildTimePrerendering: boolean, getDynamicParamFromSegment: GetDynamicParamFromSegment, searchParams: any, didFindRootLayout?: boolean): Promise<FlightRouterState>; export declare function createRouteTreePrefetch(loaderTree: LoaderTree, hintTree: PrefetchHints | null, prefetchInliningEnabled: boolean, cacheComponents: boolean, partialPrefetching: boolean | 'unstable_eager' | undefined, isStaticGeneration: boolean, isBuildTimePrerendering: boolean, getDynamicParamFromSegment: GetDynamicParamFromSegment, didFindRootLayout?: boolean): Promise<FlightRouterState>;