import { Filter, RequestHandler } from '../types'; import { LegacyOptions } from './types'; import type * as http from 'http'; /** * @deprecated * This function is deprecated and will be removed in a future version. * * Use {@link createProxyMiddleware} instead. */ export declare function legacyCreateProxyMiddleware(shortHand: string): RequestHandler; export declare function legacyCreateProxyMiddleware(legacyOptions: LegacyOptions): RequestHandler; export declare function legacyCreateProxyMiddleware(legacyContext: Filter, legacyOptions: LegacyOptions): RequestHandler;