/opt/canhelp/node_modules/next/dist/client/components/router-reducer/reducers
Edit: /opt/canhelp/node_modules/next/dist/client/components/router-reducer/reducers/prefetch-reducer.d.ts (508B)
import type { PrefetchAction, ReducerState, ReadonlyReducerState } from '../router-reducer-types';
import { PromiseQueue } from '../../promise-queue';
export declare const prefetchQueue: PromiseQueue;
export declare const prefetchReducer: typeof identityReducerWhenSegmentCacheIsEnabled | typeof prefetchReducerImpl;
declare function identityReducerWhenSegmentCacheIsEnabled
(state: T): T;
declare function prefetchReducerImpl(state: ReadonlyReducerState, action: PrefetchAction): ReducerState;
export {};