import { Application, HttpContext, Middleware, NextHandler, StaticAssetsConfig } from '@supercharge/contracts'; export declare class ServeStaticAssetsMiddleware implements Middleware { /** * Stores the path to the "public" directory. */ protected readonly app: Application; /** * The asset handler serving static files for an incoming request. */ private readonly handleAssets; /** * Create a new middleware instance. * * @param {Application} config */ constructor(app: Application); /** * Returns the path to the asset files. * * @returns {Array} */ assetsLocation(): string; /** * Returns the options determining how to serve assets. * * @returns {StaticAssetsConfig} */ config(): StaticAssetsConfig; /** * Handle the incoming request. * * @param ctx HttpContext * @param next NextHandler */ handle(ctx: HttpContext, next: NextHandler): Promise; }