// @flow
// Generated using flowgen2

import type {Headers} from './headers';

declare class Response<TBody> {
  +statusCode: number,
  +headers: Headers,
  +body: TBody,
  +url: string,
  constructor(
    statusCode: number,
    headers: Headers,
    body: TBody,
    url: string,
  ): void,
  getBody(encoding: string): string,
  getBody(): TBody,
}

module.exports = Response;
