export interface HttpServer { post: (route: string, handler: (req: any, res: any) => Promise) => void get: (route: string, handler: (req: any, res: any) => Promise) => void patch: (route: string, handler: (req: any, res: any) => Promise) => void put: (route: string, handler: (req: any, res: any) => Promise) => void delete: (route: string, handler: (req: any, res: any) => Promise) => void register: (router: any, opts?: any) => void }