This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/next/dist/client/components/app-router.d.ts
2025-02-24 20:17:54 +03:00

19 lines
961 B
TypeScript

import type { ReactNode } from 'react';
import type { CacheNode } from '../../shared/lib/app-router-context.shared-runtime';
import type { ErrorComponent } from './error-boundary';
import type { ServerActionDispatcher } from './router-reducer/router-reducer-types';
import type { InitialRouterStateParameters } from './router-reducer/create-initial-router-state';
export declare function getServerActionDispatcher(): ServerActionDispatcher | null;
export declare function urlToUrlWithoutFlightMarker(url: string): URL;
type AppRouterProps = Omit<Omit<InitialRouterStateParameters, 'isServer' | 'location'>, 'initialParallelRoutes'> & {
buildId: string;
initialHead: ReactNode;
assetPrefix: string;
missingSlots: Set<string>;
};
export declare function createEmptyCacheNode(): CacheNode;
export default function AppRouter(props: AppRouterProps & {
globalErrorComponent: ErrorComponent;
}): import("react/jsx-runtime").JSX.Element;
export {};