import { AnyRouter, RegisteredRouter, RouterOptions } from '@tanstack/router-core'; import * as React from 'react'; /** * Low-level provider that places the router into React context and optionally * updates router options from props. Most apps should use `RouterProvider`. */ export declare function RouterContextProvider = Record>({ router, children, ...rest }: RouterProps & { children: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; /** * Top-level component that renders the active route matches and provides the * router to the React tree via context. * * Accepts the same options as `createRouter` via props to update the router * instance after creation. * * @link https://tanstack.com/router/latest/docs/framework/react/api/router/createRouterFunction */ export declare function RouterProvider = Record>({ router, ...rest }: RouterProps): import("react/jsx-runtime").JSX.Element; export type RouterProps = Record> = Omit, NonNullable, TRouter['history'], TDehydrated>, 'context'> & { router: TRouter; context?: Partial, NonNullable, TRouter['history'], TDehydrated>['context']>; };