react-router 7.5.3 → 7.6.0

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 (40) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/dist/development/{chunk-AYJ5UCUI.mjs → chunk-D4RADZKF.mjs} +903 -139
  3. package/dist/development/dom-export.d.mts +2 -2
  4. package/dist/development/dom-export.d.ts +1 -2
  5. package/dist/development/dom-export.js +34 -6102
  6. package/dist/development/dom-export.mjs +6 -3
  7. package/dist/development/index.d.mts +33 -67
  8. package/dist/development/index.d.ts +1893 -197
  9. package/dist/development/index.js +905 -141
  10. package/dist/development/index.mjs +2 -2
  11. package/dist/development/lib/types/route-module.d.mts +1 -2
  12. package/dist/development/lib/types/route-module.d.ts +1 -2
  13. package/dist/development/lib/types/route-module.js +1 -1
  14. package/dist/development/lib/types/route-module.mjs +1 -1
  15. package/dist/{production/fog-of-war-BLArG-qZ.d.ts → development/lib-CCSAGgcP.d.mts} +57 -12
  16. package/dist/{production/route-data-C12CLHiN.d.mts → development/route-data-B9_30zbP.d.ts} +11 -1
  17. package/dist/development/{route-data-C12CLHiN.d.mts → route-data-C6QaL0wu.d.mts} +11 -1
  18. package/dist/production/{chunk-KKWFQRUV.mjs → chunk-CVXGOGHQ.mjs} +903 -139
  19. package/dist/production/dom-export.d.mts +2 -2
  20. package/dist/production/dom-export.d.ts +1 -2
  21. package/dist/production/dom-export.js +34 -6102
  22. package/dist/production/dom-export.mjs +6 -3
  23. package/dist/production/index.d.mts +33 -67
  24. package/dist/production/index.d.ts +1893 -197
  25. package/dist/production/index.js +905 -141
  26. package/dist/production/index.mjs +2 -2
  27. package/dist/production/lib/types/route-module.d.mts +1 -2
  28. package/dist/production/lib/types/route-module.d.ts +1 -2
  29. package/dist/production/lib/types/route-module.js +1 -1
  30. package/dist/production/lib/types/route-module.mjs +1 -1
  31. package/dist/{development/fog-of-war-BLArG-qZ.d.ts → production/lib-CCSAGgcP.d.mts} +57 -12
  32. package/dist/{development/route-data-C12CLHiN.d.ts → production/route-data-B9_30zbP.d.ts} +11 -1
  33. package/dist/production/{route-data-C12CLHiN.d.ts → route-data-C6QaL0wu.d.mts} +11 -1
  34. package/package.json +5 -3
  35. package/dist/development/data-CQbyyGzl.d.mts +0 -11
  36. package/dist/development/data-CQbyyGzl.d.ts +0 -11
  37. package/dist/development/fog-of-war-D2zsXvum.d.mts +0 -1691
  38. package/dist/production/data-CQbyyGzl.d.mts +0 -11
  39. package/dist/production/data-CQbyyGzl.d.ts +0 -11
  40. package/dist/production/fog-of-war-D2zsXvum.d.mts +0 -1691
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.5.3
2
+ * react-router v7.6.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -125,7 +125,7 @@ import {
125
125
  useSearchParams,
126
126
  useSubmit,
127
127
  useViewTransitionState
128
- } from "./chunk-AYJ5UCUI.mjs";
128
+ } from "./chunk-D4RADZKF.mjs";
129
129
  export {
130
130
  Await,
131
131
  BrowserRouter,
@@ -1,5 +1,4 @@
1
- import { aF as LinkDescriptor, aC as MetaDescriptor, aU as ServerDataFrom, aV as ClientDataFrom, aW as Func, aX as unstable_MiddlewareNextFunction, E as Equal, u as unstable_RouterContextProvider, M as MiddlewareEnabled, aY as Pretty } from '../../route-data-C12CLHiN.mjs';
2
- import { A as AppLoadContext } from '../../data-CQbyyGzl.mjs';
1
+ import { aE as LinkDescriptor, L as Location, aB as MetaDescriptor, aV as ServerDataFrom, aW as ClientDataFrom, aX as Func, aY as unstable_MiddlewareNextFunction, E as Equal, ac as unstable_RouterContextProvider, r as MiddlewareEnabled, s as AppLoadContext, aZ as Pretty } from '../../route-data-C6QaL0wu.mjs';
3
2
  import 'react';
4
3
 
5
4
  type IsDefined<T> = Equal<T, undefined> extends true ? false : true;
@@ -1,5 +1,4 @@
1
- import { aF as LinkDescriptor, aC as MetaDescriptor, aU as ServerDataFrom, aV as ClientDataFrom, aW as Func, aX as unstable_MiddlewareNextFunction, E as Equal, u as unstable_RouterContextProvider, M as MiddlewareEnabled, aY as Pretty } from '../../route-data-C12CLHiN.js';
2
- import { A as AppLoadContext } from '../../data-CQbyyGzl.js';
1
+ import { aH as LinkDescriptor, e as Location, aF as MetaDescriptor, aV as ServerDataFrom, aW as ClientDataFrom, aX as Func, aY as unstable_MiddlewareNextFunction, _ as Equal, u as unstable_RouterContextProvider, M as MiddlewareEnabled, i as AppLoadContext, aZ as Pretty } from '../../route-data-B9_30zbP.js';
3
2
  import 'react';
4
3
 
5
4
  type IsDefined<T> = Equal<T, undefined> extends true ? false : true;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.5.3
2
+ * react-router v7.6.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.5.3
2
+ * react-router v7.6.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { k as RouteObject, R as RouterInit, F as FutureConfig$1, H as HydrationState, I as InitialEntry, D as DataStrategyFunction, at as PatchRoutesOnNavigationFunction, a as Router$1, T as To, d as RelativeRoutingType, y as NonIndexRouteObject, a5 as LazyRouteFunction, s as IndexRouteObject, e as Location, f as Action, as as Navigator, av as RouteMatch, p as StaticHandlerContext, c as RouteManifest, b as RouteModules, G as DataRouteObject, J as ClientLoaderFunction, a4 as HTMLFormMethod, a2 as FormEncType, aD as PageLinkDescriptor, aT as History, O as GetScrollRestorationKeyFunction, N as NavigateOptions, Q as Fetcher, n as SerializeFrom, B as BlockerFunction } from './route-data-C12CLHiN.js';
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-C6QaL0wu.mjs';
3
3
 
4
4
  /**
5
5
  * @private
@@ -412,6 +412,60 @@ declare let createRoutesFromElements: typeof createRoutesFromChildren;
412
412
  */
413
413
  declare function renderMatches(matches: RouteMatch[] | null): React.ReactElement | null;
414
414
 
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
+
415
469
  type SerializedError = {
416
470
  message: string;
417
471
  stack?: string;
@@ -424,6 +478,7 @@ interface FrameworkContextObject {
424
478
  future: FutureConfig;
425
479
  ssr: boolean;
426
480
  isSpaMode: boolean;
481
+ routeDiscovery: ServerBuild["routeDiscovery"];
427
482
  serializeError?(error: Error): SerializedError;
428
483
  renderMeta?: {
429
484
  didRenderScripts?: boolean;
@@ -1678,14 +1733,4 @@ declare function useViewTransitionState(to: To, opts?: {
1678
1733
  relative?: RelativeRoutingType;
1679
1734
  }): boolean;
1680
1735
 
1681
- declare global {
1682
- interface Navigator {
1683
- connection?: {
1684
- saveData: boolean;
1685
- };
1686
- }
1687
- }
1688
- declare function getPatchRoutesOnNavigationFunction(manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, isSpaMode: boolean, basename: string | undefined): PatchRoutesOnNavigationFunction | undefined;
1689
- declare function useFogOFWarDiscovery(router: Router$1, manifest: AssetsManifest, routeModules: RouteModules, ssr: boolean, isSpaMode: boolean): void;
1690
-
1691
- export { useSearchParams as $, type AssetsManifest as A, type BrowserRouterProps as B, type CriticalCss 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 ScrollRestorationProps 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 Route 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, hydrationRouteProperties as ai, mapRouteProperties as aj, FrameworkContext as ak, getPatchRoutesOnNavigationFunction as al, useFogOFWarDiscovery as am, createClientRoutes as an, createClientRoutesWithHMRRevalidationOptOut as ao, shouldHydrateRouteLoader as ap, useScrollRestoration as aq, 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$1 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 SetURLSearchParams as y, type SubmitFunction as z };
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 };
@@ -1397,6 +1397,16 @@ interface RouteContextObject {
1397
1397
  }
1398
1398
  declare const RouteContext: React.Context<RouteContextObject>;
1399
1399
 
1400
+ /**
1401
+ * An object of unknown type for route loaders and actions provided by the
1402
+ * server's `getLoadContext()` function. This is defined as an empty interface
1403
+ * specifically so apps can leverage declaration merging to augment this type
1404
+ * globally: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
1405
+ */
1406
+ interface AppLoadContext {
1407
+ [key: string]: unknown;
1408
+ }
1409
+
1400
1410
  type Primitive = null | undefined | string | number | boolean | symbol | bigint;
1401
1411
  type LiteralUnion<LiteralType, BaseType extends Primitive> = LiteralType | (BaseType & Record<never, never>);
1402
1412
  interface HtmlLinkProps {
@@ -1736,4 +1746,4 @@ type ServerDataFrom<T> = ServerData<DataFrom<T>>;
1736
1746
  type ClientDataFrom<T> = ClientData<DataFrom<T>>;
1737
1747
  type SerializeFrom<T> = T extends (...args: infer Args) => unknown ? Args extends [ClientLoaderFunctionArgs | ClientActionFunctionArgs] ? ClientDataFrom<T> : ServerDataFrom<T> : T;
1738
1748
 
1739
- export { type DataStrategyResult as $, type ActionFunctionArgs as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type DataRouteObject as G, type HydrationState as H, type InitialEntry as I, type ClientLoaderFunction as J, type GetScrollPositionFunction as K, type LoaderFunctionArgs as L, type MiddlewareEnabled as M, type NavigateOptions as N, type GetScrollRestorationKeyFunction as O, type ParamParseKey as P, type Fetcher as Q, type RouterInit as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type NavigationStates as V, type RouterSubscriber as W, type RouterNavigateOptions as X, type RouterFetchOptions as Y, type DataStrategyFunctionArgs as Z, type DataStrategyMatch as _, type Router as a, DataWithResponseInit as a0, type ErrorResponse as a1, type FormEncType as a2, type FormMethod as a3, type HTMLFormMethod as a4, type LazyRouteFunction as a5, type unstable_MiddlewareFunction as a6, type PathParam as a7, type RedirectFunction as a8, type unstable_RouterContext as a9, type HeadersFunction as aA, type MetaArgs as aB, type MetaDescriptor as aC, type PageLinkDescriptor as aD, type HtmlLinkDescriptor as aE, type LinkDescriptor as aF, type Future as aG, type unstable_SerializesTo as aH, createBrowserHistory as aI, invariant as aJ, createRouter as aK, ErrorResponseImpl as aL, DataRouterContext as aM, DataRouterStateContext as aN, FetchersContext as aO, LocationContext as aP, NavigationContext as aQ, RouteContext as aR, ViewTransitionContext as aS, type History as aT, type ServerDataFrom as aU, type ClientDataFrom as aV, type Func as aW, type unstable_MiddlewareNextFunction as aX, type Pretty as aY, type ShouldRevalidateFunction as aa, type ShouldRevalidateFunctionArgs as ab, unstable_createContext as ac, createPath as ad, parsePath as ae, IDLE_NAVIGATION as af, IDLE_FETCHER as ag, IDLE_BLOCKER as ah, data as ai, generatePath as aj, isRouteErrorResponse as ak, matchPath as al, matchRoutes as am, redirect as an, redirectDocument as ao, replace as ap, resolvePath as aq, type DataRouteMatch as ar, type Navigator as as, type PatchRoutesOnNavigationFunction as at, type PatchRoutesOnNavigationFunctionArgs as au, type RouteMatch as av, type ClientActionFunction as aw, type ClientActionFunctionArgs as ax, type ClientLoaderFunctionArgs as ay, type HeadersArgs as az, type RouteModules as b, type RouteManifest as c, type RelativeRoutingType as d, type Location as e, Action as f, type Path as g, type PathPattern as h, type PathMatch as i, type Params as j, type RouteObject as k, type Navigation as l, type RevalidationState as m, type SerializeFrom as n, type Blocker as o, type StaticHandlerContext as p, type StaticHandler as q, type unstable_InitialContext as r, type IndexRouteObject as s, type LoaderFunction as t, unstable_RouterContextProvider as u, type ActionFunction as v, type MetaFunction as w, type LinksFunction as x, type NonIndexRouteObject as y, type RouterState as z };
1749
+ export { type RouterState as $, Action as A, type BlockerFunction as B, type ClientLoaderFunction as C, type DataStrategyFunction as D, type PageLinkDescriptor as E, type FutureConfig as F, type History as G, type HydrationState as H, type InitialEntry as I, type GetScrollRestorationKeyFunction as J, type Fetcher as K, type LazyRouteFunction as L, type MiddlewareEnabled as M, type NonIndexRouteObject as N, type StaticHandler as O, type PatchRoutesOnNavigationFunction as P, type CreateStaticHandlerOptions as Q, type RouteObject as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type unstable_InitialContext as V, type LoaderFunction as W, type ActionFunction as X, type MetaFunction as Y, type LinksFunction as Z, type Equal as _, type RouterInit as a, type GetScrollPositionFunction as a0, type NavigationStates as a1, type RouterSubscriber as a2, type RouterNavigateOptions as a3, type RouterFetchOptions as a4, type RevalidationState as a5, type DataStrategyFunctionArgs as a6, type DataStrategyMatch as a7, type DataStrategyResult as a8, DataWithResponseInit as a9, type ClientActionFunctionArgs as aA, type ClientLoaderFunctionArgs as aB, type HeadersArgs as aC, type HeadersFunction as aD, type MetaArgs as aE, type MetaDescriptor as aF, type HtmlLinkDescriptor as aG, type LinkDescriptor as aH, type Future as aI, type unstable_SerializesTo as aJ, createBrowserHistory as aK, invariant as aL, createRouter as aM, ErrorResponseImpl as aN, DataRouterContext as aO, DataRouterStateContext as aP, FetchersContext as aQ, LocationContext as aR, NavigationContext as aS, RouteContext as aT, ViewTransitionContext as aU, type ServerDataFrom as aV, type ClientDataFrom as aW, type Func as aX, type unstable_MiddlewareNextFunction as aY, type Pretty as aZ, type ErrorResponse as aa, type FormMethod as ab, type unstable_MiddlewareFunction as ac, type PathParam as ad, type RedirectFunction as ae, type unstable_RouterContext as af, type ShouldRevalidateFunction as ag, type ShouldRevalidateFunctionArgs as ah, unstable_createContext as ai, createPath as aj, parsePath as ak, IDLE_NAVIGATION as al, IDLE_FETCHER as am, IDLE_BLOCKER as an, data as ao, generatePath as ap, isRouteErrorResponse as aq, matchPath as ar, matchRoutes as as, redirect as at, redirectDocument as au, replace as av, resolvePath as aw, type DataRouteMatch as ax, type PatchRoutesOnNavigationFunctionArgs as ay, type ClientActionFunction as az, type Router as b, type RelativeRoutingType as c, type IndexRouteObject as d, type Location as e, type Navigator as f, type RouteMatch as g, type RouteManifest as h, type AppLoadContext as i, type LoaderFunctionArgs as j, type ActionFunctionArgs as k, type StaticHandlerContext as l, type RouteModules as m, type DataRouteObject as n, type ParamParseKey as o, type Path as p, type PathPattern as q, type PathMatch as r, type NavigateOptions as s, type Params as t, unstable_RouterContextProvider as u, type Navigation as v, type SerializeFrom as w, type Blocker as x, type HTMLFormMethod as y, type FormEncType as z };
@@ -1397,6 +1397,16 @@ interface RouteContextObject {
1397
1397
  }
1398
1398
  declare const RouteContext: React.Context<RouteContextObject>;
1399
1399
 
1400
+ /**
1401
+ * An object of unknown type for route loaders and actions provided by the
1402
+ * server's `getLoadContext()` function. This is defined as an empty interface
1403
+ * specifically so apps can leverage declaration merging to augment this type
1404
+ * globally: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
1405
+ */
1406
+ interface AppLoadContext {
1407
+ [key: string]: unknown;
1408
+ }
1409
+
1400
1410
  type Primitive = null | undefined | string | number | boolean | symbol | bigint;
1401
1411
  type LiteralUnion<LiteralType, BaseType extends Primitive> = LiteralType | (BaseType & Record<never, never>);
1402
1412
  interface HtmlLinkProps {
@@ -1736,4 +1746,4 @@ type ServerDataFrom<T> = ServerData<DataFrom<T>>;
1736
1746
  type ClientDataFrom<T> = ClientData<DataFrom<T>>;
1737
1747
  type SerializeFrom<T> = T extends (...args: infer Args) => unknown ? Args extends [ClientLoaderFunctionArgs | ClientActionFunctionArgs] ? ClientDataFrom<T> : ServerDataFrom<T> : T;
1738
1748
 
1739
- export { type DataStrategyResult as $, type ActionFunctionArgs as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type DataRouteObject as G, type HydrationState as H, type InitialEntry as I, type ClientLoaderFunction as J, type GetScrollPositionFunction as K, type LoaderFunctionArgs as L, type MiddlewareEnabled as M, type NavigateOptions as N, type GetScrollRestorationKeyFunction as O, type ParamParseKey as P, type Fetcher as Q, type RouterInit as R, type ServerRouteModule as S, type To as T, type UIMatch as U, type NavigationStates as V, type RouterSubscriber as W, type RouterNavigateOptions as X, type RouterFetchOptions as Y, type DataStrategyFunctionArgs as Z, type DataStrategyMatch as _, type Router as a, DataWithResponseInit as a0, type ErrorResponse as a1, type FormEncType as a2, type FormMethod as a3, type HTMLFormMethod as a4, type LazyRouteFunction as a5, type unstable_MiddlewareFunction as a6, type PathParam as a7, type RedirectFunction as a8, type unstable_RouterContext as a9, type HeadersFunction as aA, type MetaArgs as aB, type MetaDescriptor as aC, type PageLinkDescriptor as aD, type HtmlLinkDescriptor as aE, type LinkDescriptor as aF, type Future as aG, type unstable_SerializesTo as aH, createBrowserHistory as aI, invariant as aJ, createRouter as aK, ErrorResponseImpl as aL, DataRouterContext as aM, DataRouterStateContext as aN, FetchersContext as aO, LocationContext as aP, NavigationContext as aQ, RouteContext as aR, ViewTransitionContext as aS, type History as aT, type ServerDataFrom as aU, type ClientDataFrom as aV, type Func as aW, type unstable_MiddlewareNextFunction as aX, type Pretty as aY, type ShouldRevalidateFunction as aa, type ShouldRevalidateFunctionArgs as ab, unstable_createContext as ac, createPath as ad, parsePath as ae, IDLE_NAVIGATION as af, IDLE_FETCHER as ag, IDLE_BLOCKER as ah, data as ai, generatePath as aj, isRouteErrorResponse as ak, matchPath as al, matchRoutes as am, redirect as an, redirectDocument as ao, replace as ap, resolvePath as aq, type DataRouteMatch as ar, type Navigator as as, type PatchRoutesOnNavigationFunction as at, type PatchRoutesOnNavigationFunctionArgs as au, type RouteMatch as av, type ClientActionFunction as aw, type ClientActionFunctionArgs as ax, type ClientLoaderFunctionArgs as ay, type HeadersArgs as az, type RouteModules as b, type RouteManifest as c, type RelativeRoutingType as d, type Location as e, Action as f, type Path as g, type PathPattern as h, type PathMatch as i, type Params as j, type RouteObject as k, type Navigation as l, type RevalidationState as m, type SerializeFrom as n, type Blocker as o, type StaticHandlerContext as p, type StaticHandler as q, type unstable_InitialContext as r, type IndexRouteObject as s, type LoaderFunction as t, unstable_RouterContextProvider as u, type ActionFunction as v, type MetaFunction as w, type LinksFunction as x, type NonIndexRouteObject as y, type RouterState as z };
1749
+ export { type ErrorResponse as $, Action as A, type BlockerFunction as B, type CreateStaticHandlerOptions as C, type DataStrategyFunction as D, type Equal as E, type FutureConfig as F, type GetScrollPositionFunction as G, type HydrationState as H, type InitialEntry as I, type NavigationStates as J, type RouterSubscriber as K, type Location as L, type MetaFunction as M, type NavigateOptions as N, type RouterNavigateOptions as O, type ParamParseKey as P, type RouterFetchOptions as Q, type RouterInit as R, type SerializeFrom as S, type To as T, type UIMatch as U, type RevalidationState as V, type ActionFunctionArgs as W, type DataStrategyFunctionArgs as X, type DataStrategyMatch as Y, type DataStrategyResult as Z, DataWithResponseInit as _, type Router as a, type FormEncType as a0, type FormMethod as a1, type HTMLFormMethod as a2, type LazyRouteFunction as a3, type LoaderFunctionArgs as a4, type unstable_MiddlewareFunction as a5, type PathParam as a6, type RedirectFunction as a7, type unstable_RouterContext as a8, type ShouldRevalidateFunction as a9, type MetaArgs as aA, type MetaDescriptor as aB, type PageLinkDescriptor as aC, type HtmlLinkDescriptor as aD, type LinkDescriptor as aE, type Future as aF, type unstable_SerializesTo as aG, createBrowserHistory as aH, invariant as aI, createRouter as aJ, ErrorResponseImpl as aK, DataRouterContext as aL, DataRouterStateContext as aM, FetchersContext as aN, LocationContext as aO, NavigationContext as aP, RouteContext as aQ, ViewTransitionContext as aR, type RouteManifest as aS, type ServerRouteModule as aT, type History as aU, type ServerDataFrom as aV, type ClientDataFrom as aW, type Func as aX, type unstable_MiddlewareNextFunction as aY, type Pretty as aZ, type ShouldRevalidateFunctionArgs as aa, unstable_createContext as ab, unstable_RouterContextProvider as ac, createPath as ad, parsePath as ae, IDLE_NAVIGATION as af, IDLE_FETCHER as ag, IDLE_BLOCKER as ah, data as ai, generatePath as aj, isRouteErrorResponse as ak, matchPath as al, matchRoutes as am, redirect as an, redirectDocument as ao, replace as ap, resolvePath as aq, type DataRouteMatch as ar, type Navigator as as, type PatchRoutesOnNavigationFunctionArgs as at, type RouteMatch as au, type ClientActionFunction as av, type ClientActionFunctionArgs as aw, type ClientLoaderFunctionArgs as ax, type HeadersArgs as ay, type HeadersFunction as az, type RouteModules as b, type RelativeRoutingType as c, type Path as d, type PathPattern as e, type PathMatch as f, type Params as g, type RouteObject as h, type Navigation as i, type Blocker as j, type StaticHandlerContext as k, type StaticHandler as l, type IndexRouteObject as m, type NonIndexRouteObject as n, type LoaderFunction as o, type ActionFunction as p, type LinksFunction as q, type MiddlewareEnabled as r, type AppLoadContext as s, type RouterState as t, type unstable_InitialContext as u, type PatchRoutesOnNavigationFunction as v, type DataRouteObject as w, type ClientLoaderFunction as x, type GetScrollRestorationKeyFunction as y, type Fetcher as z };