/**
 * Removes the part of the url after the query string (?)
 * @param url url to modify
 * @returns query string
 */
export declare function stripQueryString(url: string): string;
/**
 * Removes the part of the url after the hash (#)
 * @param url url to modify
 * @returns hash
 */
export declare function stripHash(url: string): string;
/**
 * Converts the provided Absolute url to relative url
 * @param url Absolute url
 * @returns relative url
 */
export declare function toRelativeUrl(url: string, includeInitialSlash?: boolean): string;
/**
 * Converts the provided Relative url to absolute  url
 * @param url Relative url
 * @param location Location object (from Window or Document).location
 * @returns absolute url
 */
export declare function toAbsoluteUrl(url: string, location: Location): string;
