import type { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
import type { FlightDataPath } from '../../../server/app-render/types';
import type { PrefetchCacheEntry } from './router-reducer-types';
export interface InitialRouterStateParameters {
    buildId: string;
    initialCanonicalUrlParts: string[];
    initialParallelRoutes: CacheNode['parallelRoutes'];
    initialFlightData: FlightDataPath[];
    location: Location | null;
    couldBeIntercepted: boolean;
    postponed: boolean;
}
export declare function createInitialRouterState({ buildId, initialFlightData, initialCanonicalUrlParts, initialParallelRoutes, location, couldBeIntercepted, postponed, }: InitialRouterStateParameters): {
    buildId: string;
    tree: any;
    cache: CacheNode;
    prefetchCache: Map<string, PrefetchCacheEntry>;
    pushRef: {
        pendingPush: boolean;
        mpaNavigation: boolean;
        preserveCustomHistoryState: boolean;
    };
    focusAndScrollRef: {
        apply: boolean;
        onlyHashChange: boolean;
        hashFragment: null;
        segmentPaths: never[];
    };
    canonicalUrl: string;
    nextUrl: string | null;
};
