/** * Take a string, preferably resembling an URL, take out the search params, the anchors, and the ending slash * @param str */ export declare const basePathOnly: (str: string) => string;