import { Request, Response, NextFunction } from 'express'; import { TrustProxyConfig } from './types.js'; export declare function createTrustProxy(config: TrustProxyConfig): (req: Request, res: Response, next: NextFunction) => Promise>>; /** * Pre-configured middleware for strict x402 enforcement */ export declare function strictTrustProxy(config: Omit): (req: Request, res: Response, next: NextFunction) => Promise>>; /** * Pre-configured middleware for optional validation (logging mode) */ export declare function optionalTrustProxy(config: Omit): (req: Request, res: Response, next: NextFunction) => Promise>>; //# sourceMappingURL=middleware.d.ts.map