import { Href, Location, Query, RouterContext } from '../../../common/types'; export declare const sanitizePath: (path: string, prefix?: string) => string; export declare const isAbsolutePath: (path: string) => boolean; export declare const isExternalAbsolutePath: (path: Href | Location) => boolean; export declare const getRelativePath: (path: Href | Location, prefix?: string) => string | Location; export declare const updateQueryParams: (location: Location, query: Query) => string; export declare const getRelativeURLFromLocation: (location: Location) => string; export declare const shouldReload: ({ context, prevContext, pluginId, }: { context: RouterContext; prevContext: RouterContext; pluginId: string; }) => boolean;