///
/**
* @module common/http
*/
import { IncomingMessage } from 'http';
import { Url } from 'url';
/**
* A class used internally by the `HttpClient` to work with http urls.
*
* @see HttpClient The `HttpClient` class should be used instead of this one.
*/
export declare class Http {
/**
* This method is used internally by the `HttpClient` class.
*
* **It is not recommended to use this method directly. Use `HttpClient.get` instead.**
*/
static get(endpoint: Url): Promise;
/**
* This method is used internally by the `HttpClient` class.
*
* **It is not recommended to use this method directly. Use `HttpClient.post` instead.**
*/
static post(endpoint: Url, postData: string): Promise;
}