forked from FINAKON/HelpProject
24 lines
877 B
TypeScript
24 lines
877 B
TypeScript
|
import * as React from 'react';
|
||
|
import { R as RouterProviderProps$1 } from './lib-B33EY9A0.mjs';
|
||
|
import { R as RouterInit } from './route-data-D7Xbr_Ww.mjs';
|
||
|
|
||
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
||
|
declare function RouterProvider(props: Omit<RouterProviderProps, "flushSync">): React.JSX.Element;
|
||
|
|
||
|
interface HydratedRouterProps {
|
||
|
/**
|
||
|
* Context object to passed through to `createBrowserRouter` and made available
|
||
|
* to `clientLoader`/`clientActon` functions
|
||
|
*/
|
||
|
unstable_getContext?: RouterInit["unstable_getContext"];
|
||
|
}
|
||
|
/**
|
||
|
* Framework-mode router component to be used in `entry.client.tsx` to hydrate a
|
||
|
* router from a `ServerRouter`
|
||
|
*
|
||
|
* @category Component Routers
|
||
|
*/
|
||
|
declare function HydratedRouter(props: HydratedRouterProps): React.JSX.Element;
|
||
|
|
||
|
export { HydratedRouter, RouterProvider, type RouterProviderProps };
|