import { Response } from '../'; import { APIGatewayEventRequestContextWithAuthorizer, ClientContext, CognitoIdentity } from 'aws-lambda'; interface TestAPIGatewayProxyEventBase { headers?: { [name: string]: string; }; multiValueHeaders?: { [name: string]: string[]; }; isBase64Encoded?: boolean; multiValueQueryStringParameters?: { [name: string]: string[]; } | null; stageVariables?: { [name: string]: string; } | null; requestContext?: APIGatewayEventRequestContextWithAuthorizer; resource?: string; } interface TestContext { callbackWaitsForEmptyEventLoop?: boolean; functionName?: string; functionVersion?: string; invokedFunctionArn?: string; memoryLimitInMB?: string; awsRequestId?: string; logGroupName?: string; logStreamName?: string; identity?: CognitoIdentity; clientContext?: ClientContext; getRemainingTimeInMillis?(): number; } interface RequestData { payload?: { [name: string]: any; } | null; queryStringParameters?: { [name: string]: string; } | null; pathParameters?: { [name: string]: string; } | null; headers?: { [name: string]: string; }; } export declare class TestHandler { static beforeAll(): Promise; static afterAll(): Promise; static invokeLambda(safeFunctionName: string, data?: RequestData, authorizer?: TAuthorizerContext, event?: TestAPIGatewayProxyEventBase, context?: TestContext): Promise; } export {};