import { createBrowserHistory } from "history";
import { PropsWithChildren } from "react";
/**
 * Defines the data that can be passed along with navigation.
 */
export type CustomState = {
    internalNavigation?: boolean;
};
/**
 * A router component that manages navigation and route changes.
 */
export default function CustomBrowserRouter({ children, beforeRouteChange, }: PropsWithChildren<{
    /**
     * Allows the dev to modify the route before commiting the route change
     *
     * @returns The new route
     */
    beforeRouteChange?: (newRoute: string, history: ReturnType<typeof createBrowserHistory>) => string;
}>): import("react/jsx-runtime").JSX.Element;
