import * as React from 'react'; import PropTypes from 'prop-types'; import { State, To } from 'history'; import { MemoryRouter, Navigate, Outlet, Route, Router, Routes, useBlocker, useHref, useInRouterContext, useLocation, useMatch, useNavigate, useOutlet, useParams, useResolvedPath, useRoutes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolvePath } from 'react-router'; export { MemoryRouter, Navigate, Outlet, Route, Router, Routes, createRoutesFromArray, createRoutesFromChildren, generatePath, matchRoutes, matchPath, resolvePath, useBlocker, useHref, useInRouterContext, useLocation, useMatch, useNavigate, useOutlet, useParams, useResolvedPath, useRoutes }; /** * A for use in web browsers. Provides the cleanest URLs. */ export declare function BrowserRouter({ children, window }: BrowserRouterProps): JSX.Element; export declare namespace BrowserRouter { var displayName: string; var propTypes: { children: PropTypes.Requireable; window: PropTypes.Requireable