import { Request, Response, NextFunction } from 'express';
interface IHijackConfig {
    json?: boolean;
    onJsonParseError?: (err: Error) => void | any;
    handler: (responseBody: any, req: Request, res: Response, next: NextFunction) => void | any;
}
declare const Hijack: (config: IHijackConfig) => (req: Request, res: Response, next: NextFunction) => any;
export { Hijack, };
//# sourceMappingURL=index.d.ts.map