react-router 0.0.0-experimental-93ddf3985 → 0.0.0-experimental-8866dded1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{production/lib-B8x_tOvL.d.mts → development/browser-DSo2YArb.d.mts} +232 -136
  2. package/dist/development/{chunk-H6SUWWJW.mjs → chunk-FI2ZVP6H.mjs} +1048 -266
  3. package/dist/development/dom-export.d.mts +2 -2
  4. package/dist/development/dom-export.js +1 -1
  5. package/dist/development/dom-export.mjs +2 -2
  6. package/dist/development/index.d.mts +10 -5
  7. package/dist/development/index.d.ts +784 -683
  8. package/dist/development/index.js +1053 -264
  9. package/dist/development/index.mjs +15 -2
  10. package/dist/development/lib/types/internal.d.mts +1 -1
  11. package/dist/development/lib/types/internal.d.ts +1 -1
  12. package/dist/development/lib/types/internal.js +1 -1
  13. package/dist/development/lib/types/internal.mjs +1 -1
  14. package/dist/{production/register-BkDIKxVz.d.ts → development/register-9KQS4Qci.d.ts} +12 -2
  15. package/dist/{production/route-data-WyrduLgj.d.mts → development/route-data-BGFzuhMS.d.mts} +11 -1
  16. package/dist/development/rsc-export.d.mts +1807 -0
  17. package/dist/development/rsc-export.d.ts +1807 -0
  18. package/dist/development/rsc-export.js +2810 -0
  19. package/dist/development/rsc-export.mjs +2775 -0
  20. package/dist/{development/lib-B8x_tOvL.d.mts → production/browser-DSo2YArb.d.mts} +232 -136
  21. package/dist/production/{chunk-XAIJRHVU.mjs → chunk-DKYYZ22P.mjs} +1048 -266
  22. package/dist/production/dom-export.d.mts +2 -2
  23. package/dist/production/dom-export.js +1 -1
  24. package/dist/production/dom-export.mjs +2 -2
  25. package/dist/production/index.d.mts +10 -5
  26. package/dist/production/index.d.ts +784 -683
  27. package/dist/production/index.js +1053 -264
  28. package/dist/production/index.mjs +15 -2
  29. package/dist/production/lib/types/internal.d.mts +1 -1
  30. package/dist/production/lib/types/internal.d.ts +1 -1
  31. package/dist/production/lib/types/internal.js +1 -1
  32. package/dist/production/lib/types/internal.mjs +1 -1
  33. package/dist/{development/register-BkDIKxVz.d.ts → production/register-9KQS4Qci.d.ts} +12 -2
  34. package/dist/{development/route-data-WyrduLgj.d.mts → production/route-data-BGFzuhMS.d.mts} +11 -1
  35. package/dist/production/rsc-export.d.mts +1807 -0
  36. package/dist/production/rsc-export.d.ts +1807 -0
  37. package/dist/production/rsc-export.js +2810 -0
  38. package/dist/production/rsc-export.mjs +2775 -0
  39. package/package.json +35 -4
@@ -1,5 +1,138 @@
1
1
  import * as React from 'react';
2
- import { h as RouteObject, R as RouterInit, F as FutureConfig$1, H as HydrationState, I as InitialEntry, D as DataStrategyFunction, v as PatchRoutesOnNavigationFunction, a as Router$1, T as To, c as RelativeRoutingType, n as NonIndexRouteObject, a3 as LazyRouteFunction, m as IndexRouteObject, L as Location, A as Action, as as Navigator, au as RouteMatch, aS as RouteManifest, aT as ServerRouteModule, r as MiddlewareEnabled, ac as unstable_RouterContextProvider, s as AppLoadContext, a4 as LoaderFunctionArgs, W as ActionFunctionArgs, k as StaticHandlerContext, b as RouteModules, w as DataRouteObject, x as ClientLoaderFunction, a2 as HTMLFormMethod, a0 as FormEncType, aC as PageLinkDescriptor, aU as History, y as GetScrollRestorationKeyFunction, N as NavigateOptions, z as Fetcher, S as SerializeFrom, B as BlockerFunction } from './route-data-WyrduLgj.mjs';
2
+ import { aS as RouteManifest, aT as ServerRouteModule, r as MiddlewareEnabled, ac as unstable_RouterContextProvider, s as AppLoadContext, a4 as LoaderFunctionArgs, W as ActionFunctionArgs, k as StaticHandlerContext, b as RouteModules, H as HydrationState, w as DataRouteObject, x as ClientLoaderFunction, h as RouteObject, R as RouterInit, F as FutureConfig$1, I as InitialEntry, D as DataStrategyFunction, v as PatchRoutesOnNavigationFunction, a as Router$1, T as To, c as RelativeRoutingType, n as NonIndexRouteObject, a3 as LazyRouteFunction, m as IndexRouteObject, L as Location, A as Action, as as Navigator, au as RouteMatch, a2 as HTMLFormMethod, a0 as FormEncType, aC as PageLinkDescriptor, aU as History, y as GetScrollRestorationKeyFunction, N as NavigateOptions, z as Fetcher, S as SerializeFrom, B as BlockerFunction, av as ClientActionFunction, q as LinksFunction, M as MetaFunction, a9 as ShouldRevalidateFunction, g as Params } from './route-data-BGFzuhMS.mjs';
3
+
4
+ type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
5
+ interface ServerRoute extends Route$1 {
6
+ children: ServerRoute[];
7
+ module: ServerRouteModule;
8
+ }
9
+
10
+ type OptionalCriticalCss = CriticalCss | undefined;
11
+ /**
12
+ * The output of the compiler for the server build.
13
+ */
14
+ interface ServerBuild {
15
+ entry: {
16
+ module: ServerEntryModule;
17
+ };
18
+ routes: ServerRouteManifest;
19
+ assets: AssetsManifest;
20
+ basename?: string;
21
+ publicPath: string;
22
+ assetsBuildDirectory: string;
23
+ future: FutureConfig;
24
+ ssr: boolean;
25
+ unstable_getCriticalCss?: (args: {
26
+ pathname: string;
27
+ }) => OptionalCriticalCss | Promise<OptionalCriticalCss>;
28
+ /**
29
+ * @deprecated This is now done via a custom header during prerendering
30
+ */
31
+ isSpaMode: boolean;
32
+ prerender: string[];
33
+ routeDiscovery: {
34
+ mode: "lazy" | "initial";
35
+ manifestPath: string;
36
+ };
37
+ }
38
+ interface HandleDocumentRequestFunction {
39
+ (request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: MiddlewareEnabled extends true ? unstable_RouterContextProvider : AppLoadContext): Promise<Response> | Response;
40
+ }
41
+ interface HandleDataRequestFunction {
42
+ (response: Response, args: LoaderFunctionArgs | ActionFunctionArgs): Promise<Response> | Response;
43
+ }
44
+ interface HandleErrorFunction {
45
+ (error: unknown, args: LoaderFunctionArgs | ActionFunctionArgs): void;
46
+ }
47
+ /**
48
+ * A module that serves as the entry point for a Remix app during server
49
+ * rendering.
50
+ */
51
+ interface ServerEntryModule {
52
+ default: HandleDocumentRequestFunction;
53
+ handleDataRequest?: HandleDataRequestFunction;
54
+ handleError?: HandleErrorFunction;
55
+ streamTimeout?: number;
56
+ }
57
+
58
+ type SerializedError = {
59
+ message: string;
60
+ stack?: string;
61
+ };
62
+ interface FrameworkContextObject {
63
+ manifest: AssetsManifest;
64
+ routeModules: RouteModules;
65
+ criticalCss?: CriticalCss;
66
+ serverHandoffString?: string;
67
+ future: FutureConfig;
68
+ ssr: boolean;
69
+ isSpaMode: boolean;
70
+ routeDiscovery: ServerBuild["routeDiscovery"];
71
+ serializeError?(error: Error): SerializedError;
72
+ renderMeta?: {
73
+ didRenderScripts?: boolean;
74
+ streamCache?: Record<number, Promise<void> & {
75
+ result?: {
76
+ done: boolean;
77
+ value: string;
78
+ };
79
+ error?: unknown;
80
+ }>;
81
+ };
82
+ }
83
+ interface EntryContext extends FrameworkContextObject {
84
+ staticHandlerContext: StaticHandlerContext;
85
+ serverHandoffStream?: ReadableStream<Uint8Array>;
86
+ }
87
+ interface FutureConfig {
88
+ unstable_subResourceIntegrity: boolean;
89
+ unstable_middleware: boolean;
90
+ }
91
+ type CriticalCss = string | {
92
+ rel: "stylesheet";
93
+ href: string;
94
+ };
95
+ interface AssetsManifest {
96
+ entry: {
97
+ imports: string[];
98
+ module: string;
99
+ };
100
+ routes: RouteManifest<EntryRoute>;
101
+ url: string;
102
+ version: string;
103
+ hmr?: {
104
+ timestamp?: number;
105
+ runtime: string;
106
+ };
107
+ sri?: Record<string, string> | true;
108
+ }
109
+
110
+ interface Route$1 {
111
+ index?: boolean;
112
+ caseSensitive?: boolean;
113
+ id: string;
114
+ parentId?: string;
115
+ path?: string;
116
+ }
117
+ interface EntryRoute extends Route$1 {
118
+ hasAction: boolean;
119
+ hasLoader: boolean;
120
+ hasClientAction: boolean;
121
+ hasClientLoader: boolean;
122
+ hasClientMiddleware: boolean;
123
+ hasErrorBoundary: boolean;
124
+ imports?: string[];
125
+ css?: string[];
126
+ module: string;
127
+ clientActionModule: string | undefined;
128
+ clientLoaderModule: string | undefined;
129
+ clientMiddlewareModule: string | undefined;
130
+ hydrateFallbackModule: string | undefined;
131
+ parentId?: string;
132
+ }
133
+ declare function createClientRoutesWithHMRRevalidationOptOut(needsRevalidation: Set<string>, manifest: RouteManifest<EntryRoute>, routeModulesCache: RouteModules, initialState: HydrationState, ssr: boolean, isSpaMode: boolean): DataRouteObject[];
134
+ declare function createClientRoutes(manifest: RouteManifest<EntryRoute>, routeModulesCache: RouteModules, initialState: HydrationState | null, ssr: boolean, isSpaMode: boolean, parentId?: string, routesByParentId?: Record<string, Omit<EntryRoute, "children">[]>, needsRevalidation?: Set<string>): DataRouteObject[];
135
+ declare function shouldHydrateRouteLoader(routeId: string, clientLoader: ClientLoaderFunction | undefined, hasLoader: boolean, isSpaMode: boolean): boolean;
3
136
 
4
137
  /**
5
138
  * @private
@@ -193,7 +326,7 @@ type RouteProps = PathRouteProps | LayoutRouteProps | IndexRouteProps;
193
326
  *
194
327
  * @category Components
195
328
  */
196
- declare function Route$1(_props: RouteProps): React.ReactElement | null;
329
+ declare function Route(_props: RouteProps): React.ReactElement | null;
197
330
  /**
198
331
  * @category Types
199
332
  */
@@ -393,6 +526,24 @@ function Book() {
393
526
 
394
527
  */
395
528
  declare function Await<Resolve>({ children, errorElement, resolve, }: AwaitProps<Resolve>): React.JSX.Element;
529
+ declare function RouteComponentPropsProvider({ children, }: {
530
+ children: React.ReactElement;
531
+ }): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
532
+ declare function HydrateFallbackPropsProvider({ children, }: {
533
+ children: React.ReactElement;
534
+ }): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
535
+ declare function ErrorBoundaryPropsProvider({ children, }: {
536
+ children: React.ReactElement;
537
+ }): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
538
+ declare const clientComponentPropsProvidersByType: {
539
+ readonly Component: typeof RouteComponentPropsProvider;
540
+ readonly ErrorBoundary: typeof ErrorBoundaryPropsProvider;
541
+ readonly HydrateFallback: typeof HydrateFallbackPropsProvider;
542
+ };
543
+ declare function ClientComponentPropsProvider({ __type: type, children, }: {
544
+ __type: keyof typeof clientComponentPropsProvidersByType;
545
+ children: React.ReactElement;
546
+ }): React.JSX.Element;
396
547
  /**
397
548
  * Creates a route config from a React "children" object, which is usually
398
549
  * either a `<Route>` element or an array of them. Used internally by
@@ -412,139 +563,6 @@ declare let createRoutesFromElements: typeof createRoutesFromChildren;
412
563
  */
413
564
  declare function renderMatches(matches: RouteMatch[] | null): React.ReactElement | null;
414
565
 
415
- type ServerRouteManifest = RouteManifest<Omit<ServerRoute, "children">>;
416
- interface ServerRoute extends Route {
417
- children: ServerRoute[];
418
- module: ServerRouteModule;
419
- }
420
-
421
- type OptionalCriticalCss = CriticalCss | undefined;
422
- /**
423
- * The output of the compiler for the server build.
424
- */
425
- interface ServerBuild {
426
- entry: {
427
- module: ServerEntryModule;
428
- };
429
- routes: ServerRouteManifest;
430
- assets: AssetsManifest;
431
- basename?: string;
432
- publicPath: string;
433
- assetsBuildDirectory: string;
434
- future: FutureConfig;
435
- ssr: boolean;
436
- unstable_getCriticalCss?: (args: {
437
- pathname: string;
438
- }) => OptionalCriticalCss | Promise<OptionalCriticalCss>;
439
- /**
440
- * @deprecated This is now done via a custom header during prerendering
441
- */
442
- isSpaMode: boolean;
443
- prerender: string[];
444
- routeDiscovery: {
445
- mode: "lazy" | "initial";
446
- manifestPath: string;
447
- };
448
- }
449
- interface HandleDocumentRequestFunction {
450
- (request: Request, responseStatusCode: number, responseHeaders: Headers, context: EntryContext, loadContext: MiddlewareEnabled extends true ? unstable_RouterContextProvider : AppLoadContext): Promise<Response> | Response;
451
- }
452
- interface HandleDataRequestFunction {
453
- (response: Response, args: LoaderFunctionArgs | ActionFunctionArgs): Promise<Response> | Response;
454
- }
455
- interface HandleErrorFunction {
456
- (error: unknown, args: LoaderFunctionArgs | ActionFunctionArgs): void;
457
- }
458
- /**
459
- * A module that serves as the entry point for a Remix app during server
460
- * rendering.
461
- */
462
- interface ServerEntryModule {
463
- default: HandleDocumentRequestFunction;
464
- handleDataRequest?: HandleDataRequestFunction;
465
- handleError?: HandleErrorFunction;
466
- streamTimeout?: number;
467
- }
468
-
469
- type SerializedError = {
470
- message: string;
471
- stack?: string;
472
- };
473
- interface FrameworkContextObject {
474
- manifest: AssetsManifest;
475
- routeModules: RouteModules;
476
- criticalCss?: CriticalCss;
477
- serverHandoffString?: string;
478
- future: FutureConfig;
479
- ssr: boolean;
480
- isSpaMode: boolean;
481
- routeDiscovery: ServerBuild["routeDiscovery"];
482
- serializeError?(error: Error): SerializedError;
483
- renderMeta?: {
484
- didRenderScripts?: boolean;
485
- streamCache?: Record<number, Promise<void> & {
486
- result?: {
487
- done: boolean;
488
- value: string;
489
- };
490
- error?: unknown;
491
- }>;
492
- };
493
- }
494
- interface EntryContext extends FrameworkContextObject {
495
- staticHandlerContext: StaticHandlerContext;
496
- serverHandoffStream?: ReadableStream<Uint8Array>;
497
- }
498
- interface FutureConfig {
499
- unstable_subResourceIntegrity: boolean;
500
- unstable_middleware: boolean;
501
- }
502
- type CriticalCss = string | {
503
- rel: "stylesheet";
504
- href: string;
505
- };
506
- interface AssetsManifest {
507
- entry: {
508
- imports: string[];
509
- module: string;
510
- };
511
- routes: RouteManifest<EntryRoute>;
512
- url: string;
513
- version: string;
514
- hmr?: {
515
- timestamp?: number;
516
- runtime: string;
517
- };
518
- sri?: Record<string, string> | true;
519
- }
520
-
521
- interface Route {
522
- index?: boolean;
523
- caseSensitive?: boolean;
524
- id: string;
525
- parentId?: string;
526
- path?: string;
527
- }
528
- interface EntryRoute extends Route {
529
- hasAction: boolean;
530
- hasLoader: boolean;
531
- hasClientAction: boolean;
532
- hasClientLoader: boolean;
533
- hasClientMiddleware: boolean;
534
- hasErrorBoundary: boolean;
535
- imports?: string[];
536
- css?: string[];
537
- module: string;
538
- clientActionModule: string | undefined;
539
- clientLoaderModule: string | undefined;
540
- clientMiddlewareModule: string | undefined;
541
- hydrateFallbackModule: string | undefined;
542
- parentId?: string;
543
- }
544
- declare function createClientRoutesWithHMRRevalidationOptOut(needsRevalidation: Set<string>, manifest: RouteManifest<EntryRoute>, routeModulesCache: RouteModules, initialState: HydrationState, ssr: boolean, isSpaMode: boolean): DataRouteObject[];
545
- declare function createClientRoutes(manifest: RouteManifest<EntryRoute>, routeModulesCache: RouteModules, initialState: HydrationState | null, ssr: boolean, isSpaMode: boolean, parentId?: string, routesByParentId?: Record<string, Omit<EntryRoute, "children">[]>, needsRevalidation?: Set<string>): DataRouteObject[];
546
- declare function shouldHydrateRouteLoader(routeId: string, clientLoader: ClientLoaderFunction | undefined, hasLoader: boolean, isSpaMode: boolean): boolean;
547
-
548
566
  type ParamKeyValuePair = [string, string];
549
567
  type URLSearchParamsInit = string | ParamKeyValuePair[] | Record<string, string | string[]> | URLSearchParams;
550
568
  /**
@@ -1733,4 +1751,82 @@ declare function useViewTransitionState(to: To, opts?: {
1733
1751
  relative?: RelativeRoutingType;
1734
1752
  }): boolean;
1735
1753
 
1736
- export { useSubmit as $, type AssetsManifest as A, type BrowserRouterProps as B, type FetcherSubmitFunction as C, type DOMRouterOpts as D, type EntryContext as E, type FutureConfig as F, type FetcherWithComponents as G, type HashRouterProps as H, type IndexRouteProps as I, createBrowserRouter as J, createHashRouter as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, BrowserRouter as Q, type RouterProviderProps as R, type ServerBuild as S, HashRouter as T, Link as U, HistoryRouter as V, NavLink as W, Form as X, ScrollRestoration as Y, useLinkClickHandler as Z, useSearchParams as _, type AwaitProps as a, useFormAction as a0, useFetcher as a1, useFetchers as a2, useBeforeUnload as a3, usePrompt as a4, useViewTransitionState as a5, type FetcherSubmitOptions as a6, type ParamKeyValuePair as a7, type SubmitOptions as a8, type URLSearchParamsInit as a9, type SubmitTarget as aa, createSearchParams as ab, Meta as ac, Links as ad, Scripts as ae, PrefetchPageLinks as af, type ScriptsProps as ag, type HandleDataRequestFunction as ah, type HandleDocumentRequestFunction as ai, type HandleErrorFunction as aj, type ServerEntryModule as ak, hydrationRouteProperties as al, mapRouteProperties as am, FrameworkContext as an, createClientRoutes as ao, createClientRoutesWithHMRRevalidationOptOut as ap, shouldHydrateRouteLoader as aq, useScrollRestoration as ar, type MemoryRouterProps as b, type RouteProps as c, type RouterProps as d, type RoutesProps as e, Await as f, MemoryRouter as g, Navigate as h, Outlet as i, Route$1 as j, Router as k, RouterProvider as l, Routes as m, createMemoryRouter as n, createRoutesFromChildren as o, createRoutesFromElements as p, type HistoryRouterProps as q, renderMatches as r, type LinkProps as s, type NavLinkProps as t, type NavLinkRenderProps as u, type FetcherFormProps as v, type FormProps as w, type ScrollRestorationProps as x, type SetURLSearchParams as y, type SubmitFunction as z };
1754
+ type RenderedRoute = {
1755
+ clientAction?: ClientActionFunction;
1756
+ clientLoader?: ClientLoaderFunction;
1757
+ element?: React.ReactElement | false;
1758
+ errorElement?: React.ReactElement;
1759
+ handle?: any;
1760
+ hasAction: boolean;
1761
+ hasErrorBoundary: boolean;
1762
+ hasLoader: boolean;
1763
+ hydrateFallbackElement?: React.ReactElement;
1764
+ id: string;
1765
+ index?: boolean;
1766
+ links?: LinksFunction;
1767
+ meta?: MetaFunction;
1768
+ parentId?: string;
1769
+ path?: string;
1770
+ shouldRevalidate?: ShouldRevalidateFunction;
1771
+ };
1772
+ type ServerRouteMatch = RenderedRoute & {
1773
+ params: Params;
1774
+ pathname: string;
1775
+ pathnameBase: string;
1776
+ };
1777
+ type ServerRenderPayload = {
1778
+ type: "render";
1779
+ actionData: Record<string, any> | null;
1780
+ basename?: string;
1781
+ errors: Record<string, any> | null;
1782
+ loaderData: Record<string, any>;
1783
+ location: Location;
1784
+ matches: ServerRouteMatch[];
1785
+ patches?: RenderedRoute[];
1786
+ nonce?: string;
1787
+ };
1788
+ type ServerManifestPayload = {
1789
+ type: "manifest";
1790
+ matches: RenderedRoute[];
1791
+ patches: RenderedRoute[];
1792
+ };
1793
+ type ServerActionPayload = {
1794
+ type: "action";
1795
+ actionResult: Promise<unknown>;
1796
+ rerender?: Promise<ServerRenderPayload | ServerRedirectPayload>;
1797
+ };
1798
+ type ServerRedirectPayload = {
1799
+ type: "redirect";
1800
+ status: number;
1801
+ location: string;
1802
+ replace: boolean;
1803
+ reload: boolean;
1804
+ };
1805
+ type ServerPayload = ServerRenderPayload | ServerManifestPayload | ServerActionPayload | ServerRedirectPayload;
1806
+
1807
+ type DecodeServerResponseFunction = (body: ReadableStream<Uint8Array>) => Promise<ServerPayload>;
1808
+ type EncodeActionFunction = (args: unknown[]) => Promise<BodyInit>;
1809
+ declare global {
1810
+ interface Window {
1811
+ __router: Router$1;
1812
+ __routerInitialized: boolean;
1813
+ __routerActionID: number;
1814
+ }
1815
+ }
1816
+ declare function createCallServer({ decode, encodeAction, }: {
1817
+ decode: DecodeServerResponseFunction;
1818
+ encodeAction: EncodeActionFunction;
1819
+ }): (id: string, args: unknown[]) => Promise<unknown>;
1820
+ declare function RSCHydratedRouter({ decode, payload, }: {
1821
+ decode: DecodeServerResponseFunction;
1822
+ payload: ServerPayload;
1823
+ }): React.JSX.Element;
1824
+
1825
+ declare global {
1826
+ interface Window {
1827
+ __FLIGHT_DATA: any[];
1828
+ }
1829
+ }
1830
+ declare function getServerStream(): ReadableStream<any>;
1831
+
1832
+ export { useSearchParams as $, type AssetsManifest as A, type BrowserRouterProps as B, type SubmitFunction as C, type DOMRouterOpts as D, type EntryContext as E, type FutureConfig as F, type FetcherSubmitFunction as G, type HashRouterProps as H, type IndexRouteProps as I, type FetcherWithComponents as J, createBrowserRouter as K, type LayoutRouteProps as L, type MemoryRouterOpts as M, type NavigateProps as N, type OutletProps as O, type PathRouteProps as P, createHashRouter as Q, type RouterProviderProps as R, type ServerBuild as S, BrowserRouter as T, HashRouter as U, Link as V, HistoryRouter as W, NavLink as X, Form as Y, ScrollRestoration as Z, useLinkClickHandler as _, type ServerPayload as a, useSubmit as a0, useFormAction as a1, useFetcher as a2, useFetchers as a3, useBeforeUnload as a4, usePrompt as a5, useViewTransitionState as a6, type FetcherSubmitOptions as a7, type ParamKeyValuePair as a8, type SubmitOptions as a9, type URLSearchParamsInit as aa, type SubmitTarget as ab, createSearchParams as ac, Meta as ad, Links as ae, Scripts as af, PrefetchPageLinks as ag, type ScriptsProps as ah, type HandleDataRequestFunction as ai, type HandleDocumentRequestFunction as aj, type HandleErrorFunction as ak, type ServerEntryModule as al, type DecodeServerResponseFunction as am, type EncodeActionFunction as an, createCallServer as ao, RSCHydratedRouter as ap, getServerStream as aq, ClientComponentPropsProvider as ar, hydrationRouteProperties as as, mapRouteProperties as at, FrameworkContext as au, createClientRoutes as av, createClientRoutesWithHMRRevalidationOptOut as aw, shouldHydrateRouteLoader as ax, useScrollRestoration as ay, type AwaitProps as b, type MemoryRouterProps as c, type RouteProps as d, type RouterProps as e, type RoutesProps as f, Await as g, MemoryRouter as h, Navigate as i, Outlet as j, Route as k, Router as l, RouterProvider as m, Routes as n, createMemoryRouter as o, createRoutesFromChildren as p, createRoutesFromElements as q, renderMatches as r, type HistoryRouterProps as s, type LinkProps as t, type NavLinkProps as u, type NavLinkRenderProps as v, type FetcherFormProps as w, type FormProps as x, type ScrollRestorationProps as y, type SetURLSearchParams as z };