/** * convert a string into a url friendly version * @param str */ export default function toFriendlyUrl(str: string): string; /** * convert a string into a url friendly version * @param str * @param noTrim if true, it will leave hyphens (-) on the * start and end of the url. You probably will * never want this. */ export default function toFriendlyUrl(str: string, noTrim: boolean): string;