bpms_site/.svn/pristine/64/64e8a5621d4a8e43ab47117a459291fa6d91a9c8.svn-base
2025-11-02 16:38:49 +03:30

7 lines
422 B
Plaintext

import type { FlightRouterState } from '../../../server/app-render/types';
/**
* Create optimistic version of router state based on the existing router state and segments.
* This is used to allow rendering layout-routers up till the point where data is missing.
*/
export declare function createOptimisticTree(segments: string[], flightRouterState: FlightRouterState | null, parentRefetch: boolean): FlightRouterState;