import { type CommonMiddlewareArgs } from "./common.js"; import type { NextFunction, Request, Response } from "express"; type createMiddlewareArgs = CommonMiddlewareArgs; /** * Creates Express middleware that gates routes behind x402 and MPP payment. * * @param args - Configuration including handlers + pricing or facilitator URL * @returns An Express middleware function */ export declare function createMiddleware(args: createMiddlewareArgs): Promise<(req: Request, res: Response, next: NextFunction) => Promise>; export {}; //# sourceMappingURL=express.d.ts.map