lemon-devkit
Version:
Lemon Serverless Micro-Service Platform for local development
21 lines (20 loc) • 584 B
TypeScript
import express from 'express';
type LemonEngine = any;
type LambdaWEBHandler = any;
export declare const buildHeaderGetter: (headers: any) => (name: string) => string;
/**
* create Server Instance.
*
* @param $engine - must be LemonEngine from `lemon-core`
* @param $web - must be LambdaWEBHandler from `lemon-core`
*/
export declare const buildExpress: ($engine?: LemonEngine, $web?: LambdaWEBHandler, options?: {
argv?: string[];
prefix?: string;
genRequestId?: () => string;
}) => {
express: () => any;
app: any;
createServer: () => any;
};
export {};