/// export declare const ENV: string; import 'deps-check'; import Express from 'express'; import { SessionOptions } from 'express-session'; import { DBOptions } from './dbInit'; import { BaseDB, SchemaConstraint } from './Orm/PostgresqlDriver'; import * as bodyparser from 'body-parser'; import serveStatic from 'serve-static'; import https from 'https'; import http from 'http'; import { Pool } from 'pg'; export * from './di'; export * from './graphQLUtils'; export * from './Orm/PostgresqlDriver'; export * from './request'; export * from './testUtils'; export * from './utils'; export * from './dateUtils'; export * from './assert'; export * from './logger'; export declare const bodyParser: typeof bodyparser; export declare const PRODUCTION: boolean; interface Options { https?: { privateKeyFile: string; certificateFile: string; port?: number; }; session?: SessionOptions; db?: DBOptions; graphql: { schema: string; resolver: object; }; static?: { rootDir: string; options?: serveStatic.ServeStaticOptions; }; parcel?: { indexFilename: string; }; errors: { unknown: unknown; }; port: number; } interface Result { server: https.Server | http.Server; express: Express.Express; projectDir: string; db: BaseDB; dbPool: Pool; } export declare function createGraphqApp(options: Options, runMiddlewares?: (app: Result) => Promise): Promise>; export declare function asyncThread(fn: (req: Express.Request, res: Express.Response) => Promise): Express.Handler; //# sourceMappingURL=index.d.ts.map