/// <reference types="node" />
import { Cookie } from 'tough-cookie';
import { IncomingMessage } from 'http';
import * as puppeteer from "puppeteer-core";
export declare class HttpResponse {
    body: string;
    statusCode: number;
    statusMessage: string;
    headers: {
        [key: string]: string;
    };
    cookies: Cookie[];
    private constructor();
    static createEmpty(): HttpResponse;
    static fromRequest(response: IncomingMessage, body: string, cookies: Cookie[]): HttpResponse;
    static fromPuppeteer(response: puppeteer.Response, body: string, cookies: Cookie[]): HttpResponse;
    static fromProbeImage(response: any, cookies: Cookie[]): HttpResponse;
    static fromLocalFile(relativePath: string): Promise<HttpResponse>;
}
