export function cleanLink(v: string): string; /** Re-export of the platform `encodeURIComponent`. */ export const encodeURIComponent: typeof globalThis.encodeURIComponent; export { _decodeURIComponent as decodeURIComponent }; export function isFileProtocol(href: string): boolean; export function hasProtocol(href: string): boolean; export function removeNestedProtocol(href: string): string; export function isAbsolute(href: string): boolean; export function isRelative(href: string): boolean; export function isHash(url: string): boolean; export function isExternal(href: string): boolean; export const paramsRegExp: RegExp; export function replaceParams(href: string, params?: object): string; /** * Safe guard. `decodeURIComponent` will fail with malformed strings: * links are copied, pasted, manipulated by people, software etc * * @param {string} string - String to decode * @returns {string} Returns decoded string or original string on * error */ declare function _decodeURIComponent(string: string): string; //# sourceMappingURL=url.d.ts.map