/** * Performs get request to url with headers. * @param {String} url * @param {Function} callback function(error, response, body) {} * @param {Object} headers Hash with headers, e.g. {'Referer': 'http://google.com', 'User-Agent': '...'} */ export declare function get(url: any, callback: any, headers: any): any; /** * Performs post request to url with headers. * @param {String} url * @param {String|Object} body Will be passed as form data * @param {Function} callback function(error, response, body) {} * @param {Object} headers Hash with headers, e.g. {'Referer': 'http://google.com', 'User-Agent': '...'} */ export declare function post(url: any, body: any, callback: any, headers: any): any; /** * Performs get or post request with generic request options * @param {Object} options Object to be passed to request's options argument * @param {Function} callback function(error, response, body) {} */ export declare function request(options: any, callback: any): any;