import { Application, HttpContext, Middleware, NextHandler } from '@supercharge/contracts'; export declare abstract class HttpMiddleware implements Middleware { /** * Stores meta data. */ private readonly meta; /** * Create a new service provider instance. * * @param app */ constructor(app: Application); /** * Returns the application instance. * * @returns {Application} */ app(): Application; /** * Handle the given HTTP `ctx`. */ abstract handle(ctx: HttpContext, next: NextHandler): Promise | any; }