Version: 0.0.10.0.20.0.30.0.40.0.50.1.00.2.00.3.00.3.10.3.20.4.00.5.00.6.00.7.00.8.00.8.10.8.20.9.00.9.10.10.0-beta0.10.00.11.00.12.00.13.00.14.00.15.00.15.1-beta0.15.10.15.20.16.00.17.0-beta0.17.00.17.10.17.2-beta0.17.20.17.30.17.40.18.00.19.00.19.10.19.20.20.0-beta.00.20.0-beta.10.20.0-beta.20.20.00.21.0-beta.10.21.0-beta.20.21.0-beta.30.21.00.22.0-alpha1.0.01.0.11.0.21.0.31.0.41.0.51.0.61.1.01.1.1-alpha.11.1.11.1.2-alpha.01.1.2-alpha.11.1.21.2.0-beta.11.2.0-beta.21.2.01.2.1-alpha.11.2.11.3.01.3.12.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.7-beta.02.0.7-beta.12.0.73.0.0-beta.03.0.0-beta.13.0.03.0.1-beta.03.0.1-beta.13.0.13.0.23.0.3
import { Plugin } from '../../types';
/**
* Implements option.on object to subscribe to http-proxy events.
*
* @example
* ```js
* createProxyMiddleware({
* on: {
* error: (error, req, res, target) => {},
* proxyReq: (proxyReq, req, res, options) => {},
* proxyReqWs: (proxyReq, req, socket, options) => {},
* proxyRes: (proxyRes, req, res) => {},
* open: (proxySocket) => {},
* close: (proxyRes, proxySocket, proxyHead) => {},
* start: (req, res, target) => {},
* end: (req, res, proxyRes) => {},
* econnreset: (error, req, res, target) => {},
* }
* });
* ```
*/
export declare const proxyEventsPlugin: Plugin;