import { AWSAuth } from '../utils/aws-initialise'; import { LambdaResponse, InvocationType } from '../types'; /** * Invoke an AWS Lambda function. * @param functionName The name of the Lambda function to invoke * @param payload The payload to pass to the Lambda function. Must be an object * @param invocationType The invocation type. Must be one of: RequestResponse, Event, DryRun * @param auth The AWS auth object to use * @throws If the function name is invalid or missing * @throws If the invocation type is invalid * @throws If the payload is not an object * @throws If there is an error invoking the Lambda function * @throws If the Lambda function returns no payload * @throws If the Lambda function returns an invalid response * @returns A LambdaResponse object with a statusCode and a body */ export declare const invokeLambdaFunction: (functionName: string, payload?: Record, invocationType?: InvocationType, auth?: AWSAuth | null) => Promise;