import { ErrorCallback } from '../@types';
import Request from './Request';
import Logger from './Logger';
import Response from './Response';
export declare const setErrorCallback: (callback: ErrorCallback<Request, Response>) => void;
export declare const handleError: (err: string | Error, callback: ErrorCallback<Request, Response> | null, logger: Logger, request: Request, response: Response, code?: number | undefined) => Promise<boolean>;
