/// import Promise = require('promise'); import Response = require('http-response-object'); export declare class ResponsePromise extends Promise> { getBody(encoding: string): Promise; getBody(): Promise; } declare function toResponsePromise(result: Promise>): ResponsePromise; export default toResponsePromise;