import { APIGatewayEventRequestContext, APIGatewayProxyEvent, Callback, Context } from "aws-lambda"; /** * It creates an APIGatewayProxyEvent object with the given parameters, and fills in the default values * for the parameters that are not given * @param {string} path - The path of the request. * @param {string | object} [body] - The body of the request. * @param {string} [method] - The HTTP method of the request. * @param [pathParameters] - The path parameters of the request. * @param [headers] - The headers of the request. * @param [queryStringParameters] - This is a dictionary of query string parameters. * @param {string} [resourcePath] - The path of the resource that the request is being made to. * @param {string} [stage] - The stage name of the API Gateway. * @param {APIGatewayEventRequestContext} [requestContext] - This is the request context object. It * contains information about the request, such as the identity of the caller, the stage, the resource * path, and so on. * @returns An APIGatewayProxyEvent object. */ export declare const mockApiGatewayEvent: (path: string, body?: string | object, method?: string, pathParameters?: { [name: string]: string; }, headers?: { [name: string]: string; }, queryStringParameters?: { [name: string]: string; }, resourcePath?: string, stage?: string, requestContext?: APIGatewayEventRequestContext) => APIGatewayProxyEvent; /** * It returns a mock lambda context object with a default done and fail function * @param [done] - A callback function that is called when the Lambda function is done. * @param [fail] - (err: Error | string) => void * @returns A mock lambda context object. */ export declare const mockLambdaContext: (done?: (error?: Error, result?: any) => void, fail?: (err: Error | string) => void) => Context; /** * It returns a function that takes an error and a result, and returns nothing * @returns A function that takes in an error and a result and returns nothing. */ export declare const mockCallback: () => Callback; //# sourceMappingURL=index.d.ts.map