import { Request, Response, NextFunction } from 'express' export type ProvidedOptionsType = { cors?: boolean allowedOrigins?: Array security?: boolean dbMiddleware?: MiddlewareMethod } export type MiddlewareMethod = ( req: Request, res: Response, next: NextFunction, ) => Promise export interface dbInit { dbMiddleware: MiddlewareMethod dbSimpleStart: () => Promise }