import { Middleware, MiddlewareContext } from "../types/Middleware.js";
/**
 * Helper to execute middleware chains in order.
 * @internal
 */
export declare function runMiddleware<T = void>(middlewares: Middleware[], hookName: keyof Middleware, context: MiddlewareContext, ...args: any[]): Promise<T | undefined>;
//# sourceMappingURL=middleware-runner.d.ts.map