import { HttpHeadersInterface, HttpResponseInterface } from '../contract'; import { HttpStatusCode } from '../enum'; /** * HTTP Response is value object containing data received from * server when executing HTTP request. */ export declare class HttpResponse implements HttpResponseInterface { /** * {@inheritdoc} */ readonly url: string; /** * {@inheritdoc} */ readonly status: HttpStatusCode; /** * {@inheritdoc} */ readonly headers: HttpHeadersInterface; /** * {@inheritdoc} */ get content(): Promise; private readonly _content; constructor(url: string, status: HttpStatusCode, headers: HttpHeadersInterface, content: (() => Promise) | Promise); /** * {@inheritdoc} */ clone(replace?: Partial>): HttpResponseInterface; }