/// /// import http from 'http'; import https, { ServerOptions } from 'https'; import { C4CApiRequest, C4CScfContext } from "../index"; import { APIGatewayProxyResult } from "aws-lambda"; interface EnvConfig { appPath: string; functionEnvVariables: Record; context?: Record; port?: number; protocol?: string; } interface ExpressRequest { headers: Record; method: string; httpVersion: string; connection: { remoteAddress: string; }; url: string; body: string | Record; } export declare class Simulator { private envConfig; private entrance?; setEnv(env: Record): void; getDecoratedRequest(req: ExpressRequest, rawBody: string | Record): C4CApiRequest; constructor(envConfig: EnvConfig); deploy(entrance: (request: C4CApiRequest, context: C4CScfContext) => Promise, httpsOptions?: ServerOptions): http.Server | https.Server; } export {};