17 lines
791 B
TypeScript
17 lines
791 B
TypeScript
import type { ReactNode } from 'react';
|
|
import React from 'react';
|
|
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;
|
|
};
|
|
export default function AppRouter(props: AppRouterProps & {
|
|
globalErrorComponent: ErrorComponent;
|
|
}): React.JSX.Element;
|
|
export {};
|