// @flow // Generated using flowgen2 const Promise = require('promise'); const Response = require('http-response-object'); declare class ResponsePromise extends Promise> { getBody(encoding: string): Promise; getBody(): Promise; } export {ResponsePromise}; declare function toResponsePromise( result: Promise>, ): ResponsePromise; export default toResponsePromise;