Neah/node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.d.ts
2025-04-24 17:19:14 +02:00

9 lines
688 B
TypeScript

import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
import type { PrefetchCacheEntry } from './router-reducer-types';
import type { NormalizedFlightData } from '../../flight-data-helpers';
/**
* Fill cache with rsc based on flightDataPath
*/
export declare function fillCacheWithNewSubTreeData(navigatedAt: number, newCache: CacheNode, existingCache: CacheNode, flightData: NormalizedFlightData, prefetchEntry?: PrefetchCacheEntry): void;
export declare function fillCacheWithNewSubTreeDataButOnlyLoading(navigatedAt: number, newCache: CacheNode, existingCache: CacheNode, flightData: NormalizedFlightData, prefetchEntry?: PrefetchCacheEntry): void;