export declare class UrlParser { parse(url: string, base?: string | URL): URL; joinUrls(currentUrl: string, url: string): string; }