import React from "react"; /** * A drop-in replacement for react-router's `` that preserves the * underlying view when a side dialog navigates the URL to a different path. * * When opening a side dialog from e.g. `/posts` to `authors/123#side`, * the `base_location` stored in router state is used so the route tree * keeps rendering the original `/posts` view underneath the dialog overlay. * * Additionally, registered views from `useNavigationStateController()` are * automatically routed — no need to manually map them to `` elements. * Views with `nestedRoutes: true` get a wildcard route (slug/*) as well. * Explicitly declared `children` routes take priority. */ export declare function RebaseRoutes({ children }: { children?: React.ReactNode; }): React.JSX.Element;