import type { RequestHandler as Middleware, ProxyOptions } from '../types';
import type { UpgradeEvent } from './helper';
export declare const createProxyMiddleware: (proxyOptions: ProxyOptions) => Promise<{
    middlewares: Middleware[];
    upgrade: UpgradeEvent;
}>;
