import { Request, Response, NextFunction } from 'express';
import { IncomingMessage } from 'http';
import busboy from 'busboy';
import { ProxyOptions } from './lib/models';
export declare class Proxy {
    private transport;
    private agent;
    constructor(config: ProxyOptions);
    private onError;
    express: () => (req: Request, res: Response, next: NextFunction) => void | Promise<any> | busboy.Busboy;
    stream: (req: IncomingMessage) => Promise<any> | undefined;
}
//# sourceMappingURL=index.d.ts.map