export declare class UrlTools { /** * Extract hostname from url * - https://apiservice.com/ -> apiservice.com * - https://api.apiservice.com/ -> api.apiservice.com * - https://api.apiservice.com/method?limit=10 -> api.apiservice.com * * @static * @param {string} url URL address * @return {string} hostname from url * @memberof UrlTools */ static extractHostname(url: string): string; /** * Extract domain from url * * - https://apiservice.com/ -> apiservice.com * - https://api.apiservice.com/ -> apiservice.com * - https://api.apiservice.com/method?limit=10 -> apiservice.com * * @static * @param {string} url URL address * @return {string} root domain from url * @memberof UrlTools */ static extractRootDomain(url: string): string; }