/** * @author Yannick Deubel (https://github.com/yandeu) * @copyright Copyright (c) 2021 Yannick Deubel * @license {@link https://github.com/yandeu/five-server/blob/main/LICENSE LICENSE} * @description Copied from https://github.com/yandeu/five-server/blob/main/src/nodeFetch.ts */ /// /// import http from 'http'; /** Reject will return statusCode and statusMessage { code: number, message: string } */ export declare const nodeFetch: (url: string, options?: http.RequestOptions) => Promise;