import { APIGatewayProxyResult } from 'aws-lambda'; import { Body } from './types/Body'; import { Headers } from './types/Headers'; import { Status } from './types/Status'; export declare class Response { body: Body; headers: Headers; status: Status; constructor(status: Status, body?: Body, headers?: Headers); get status_message(): string | undefined; toAPIGatewayProxyResult(): APIGatewayProxyResult; static statusMessage(status: Status): string | undefined; static fromJSON(json: any, status?: Status, headers?: Headers): Response; }