import { ExpsMiddleware } from '../TYPES'; /** * A utility function to wrap asynchronous middleware functions. * This ensures that any errors thrown in the middleware are passed to the next error handling middleware. * * @export * @param {ExpsMiddleware} middleware * @returns {ExpsMiddleware} */ export declare function asyncWrapper(middleware: ExpsMiddleware): ExpsMiddleware;