import { ProxyRequest } from "./ProxyRequest"; import { CookiesMapObject } from "./respond-actions"; import { ExpectationValue } from "./Values"; export declare function response(body?: unknown): Response; export declare class Response { private _body?; private _cookies?; private _delay?; private _headers?; private _proxy?; private _statusCode?; private _statusText?; constructor(body?: unknown); status(code: number): this; statusText(text: string): this; delay(min: number, max: number): this; delay(min: number): this; redirect(url: string): this; body(body: string): this; text(body: string): this; json(json: unknown): this; header(name: string, value: string): this; cookie(name: string, value: string, options?: CookiesMapObject["options"]): this; proxy(url: string): this; proxy(proxyRequest: ProxyRequest): this; _apply(ctx: ExpectationValue): Promise; }