import Context from './context'; declare class Core { private _server; private _port; private readonly _middleware_list; private _config; constructor(); use(middleware: (ctx: Context, next: (i?: number) => {}) => {}): void; listen(listeningListener?: (Environment: any) => void): Promise; composeMiddleware(): (ctx: Context) => {}; } export default Core;