next
Version:
The React Framework
8 lines (7 loc) • 667 B
TypeScript
import type { FlightRouterState, FlightSegmentPath } from '../../../../shared/lib/app-router-types';
import type { Mutable, NavigateAction, ReadonlyReducerState, ReducerState } from '../router-reducer-types';
export declare const DYNAMIC_STALETIME_MS: number;
export declare const STATIC_STALETIME_MS: number;
export declare function handleExternalUrl(state: ReadonlyReducerState, mutable: Mutable, url: string, pendingPush: boolean): ReducerState;
export declare function generateSegmentsFromPatch(flightRouterPatch: FlightRouterState): FlightSegmentPath[];
export declare function navigateReducer(state: ReadonlyReducerState, action: NavigateAction): ReducerState;