import type { Middleware } from './types.js';
/**
 * Composes multiple middlewares into a single middleware via left-fold.
 * compose(a, b, c)(handler) = a(b(c(handler)))
 *
 * This means `a` is the outermost wrapper (first to execute, last to return).
 */
export declare function composeMiddleware(...middlewares: Middleware[]): Middleware;
//# sourceMappingURL=compose.d.ts.map