import * as React from "react";
type IRoute = {
    path: string;
};
export declare const getParentPath: (route: IRoute, location: Location) => string;
type ComposedModalProps = {
    onClose: () => void;
};
interface ModalRouteProps {
    path: string;
    modal: React.ComponentType<ComposedModalProps>;
    modalProps?: unknown;
}
export declare const ModalRoute: React.ComponentType<ModalRouteProps>;
export {};
