///
///
import http from 'http';
import https from 'https';
interface RequestOptions {
method: 'GET' | 'POST';
mode?: string;
data?: any;
headers: any;
timeout?: number | 0;
agent?: http.Agent | https.Agent;
responseType?: any;
}
declare function request(url: string, options: RequestOptions): Promise;
export { request };