import { RequestHandler } from 'express'; interface GatewayOptions { target: string; pathRewrite?: Record; } declare function gateway(options: GatewayOptions): RequestHandler; type Gateway = typeof gateway; export { type Gateway, gateway };