/// import http from 'http'; import https from 'https'; export declare type Response = { status: http.IncomingMessage['statusCode']; headers: http.IncomingMessage['headers']; body: T; }; export declare const request: (urlOptions: string | https.RequestOptions | URL, data?: string) => Promise>;