// Type definitions for aws-serverless-express 3.0 // Project: https://github.com/awslabs/aws-serverless-express // Definitions by: Ben Speakman // Josh Caffey // Matthias Meyer // Alberto Vasquez // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// import * as http from 'http'; import * as lambda from 'aws-lambda'; export function createServer( requestListener: (request: http.IncomingMessage, response: http.ServerResponse) => void, serverListenCallback?: () => any, binaryMimeTypes?: string[] ): http.Server; export function proxy( server: http.Server, event: any, context: lambda.Context ): void;