///
import { Express } from 'express';
import http from 'http';
export declare function createApp(options: any): Express;
export declare function createServer(app: any, port: any): Promise;
interface IServerOptions {
staticMap?: {
[path: string]: {
root: string;
options?: object;
};
};
ejsMap?: {
[path: string]: {
filename: string;
value?: object | ((req: any) => object);
};
};
cors?: boolean;
bodyParser?: boolean;
}
export declare class Server {
app: Express;
server: http.Server;
constructor(options: IServerOptions);
listen(port: number): Promise;
}
export {};