/** * Given a valid http(s) URL, the host for the given URL * is returned. * * @param url {string} URL to extract the host from * @returns {string} host of given URL or throws */ export declare function getHostFromUrl(url: string): string; /** * Extract host:port from URL * @param url URL string * @returns host:port string or throws if invalid */ export declare function getHostWithPortFromUrl(url: string): string; //# sourceMappingURL=parseURL.d.ts.map