/** * Extract the domain from the URL. Strips "www" subdomains * e.g. http://dogs.animals.com/yellow/golden-retriever becomes "dogs.animals.com" * e.g. http://www.blake.com/memes becomes "blake.com" * * Return an empty string if a totally invalid url is somehow passed in. * @param url */ export declare const getDomainFromLinkUri: (url: string) => string; /** * Extract the domain from the URL. * Throws if url param is not a valid URL. * Marked as unsafe because the URL constructor throws Type Errors when it * receives invalid URLs. Feel free to use this method with adequate care. */ export declare const unsafeGetDomainFromUrl: (url: string) => string;