import bodyParser from 'body-parser'; import cookieParser from 'cookie-parser'; import { CorsOptions, CorsOptionsDelegate } from 'cors'; export interface CreateExpressOptions { cors?: boolean | CorsOptions | CorsOptionsDelegate; bodyParser?: { urlEncoded?: bodyParser.OptionsUrlencoded; json?: bodyParser.OptionsJson; }; cookies?: { secret?: string | string[]; options?: cookieParser.CookieParseOptions; }; } export declare let createExpress: (opts: CreateExpressOptions) => import("express-serve-static-core").Express;