import type { InternalAlphaRequestConfig } from '../../types'; import type { InvocationRequest } from '@aws-sdk/client-lambda'; import type { AxiosResponse } from 'axios'; import { type AlphaResponse, HandlerRequest } from '../../types'; export interface Payload { body: string; headers: AxiosResponse['headers']; statusCode: AxiosResponse['status']; errorMessage: string; } export declare const lambdaResponse: (config: InternalAlphaRequestConfig, request: InvocationRequest | HandlerRequest, payload: Payload) => AlphaResponse;