/// import url from 'url'; export declare function downloadHttpProtocol(pkgUrl: url.URL | string, hostType?: string): Promise;