1 | import * as React from 'react';
|
2 | import { R as RouterProviderProps$1 } from './lib-C1JSsICm.mjs';
|
3 | import { R as RouterInit } from './route-data-ByAYLHuM.mjs';
|
4 |
|
5 | type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
6 | declare function RouterProvider(props: Omit<RouterProviderProps, "flushSync">): React.JSX.Element;
|
7 |
|
8 | interface HydratedRouterProps {
|
9 | |
10 | * Context object to passed through to `createBrowserRouter` and made available
|
11 | * to `clientLoader`/`clientActon` functions
|
12 | */
|
13 | unstable_getContext?: RouterInit["unstable_getContext"];
|
14 | }
|
15 |
|
16 | * Framework-mode router component to be used in `entry.client.tsx` to hydrate a
|
17 | * router from a `ServerRouter`
|
18 | *
|
19 | * @category Component Routers
|
20 | */
|
21 | declare function HydratedRouter(props: HydratedRouterProps): React.JSX.Element;
|
22 |
|
23 | export { HydratedRouter, RouterProvider, type RouterProviderProps };
|