export = xssec_fetch; /** * A simple fetch implementation with basic functionality using node's https module. * This implementation has the same API as node-fetch but with limited functionality. * @param {string|URL} inputUrl * @param {https.RequestOptions} options * @returns {Response} * @throws {FetchError} */ declare function xssec_fetch(inputUrl: string | URL, options?: https.RequestOptions): Response; import https = require("https"); declare class Response { constructor(response: any, request: any); get requestUrl(): string; json(): Promise; text(): Promise; get ok(): boolean; get status(): any; get headers(): Map; #private; } //# sourceMappingURL=fetch.d.ts.map