///
import {
Plugin,
Request,
ResponseObject,
} from '@hapi/hapi';
declare namespace hapiError{
interface Options {
statusCodes?: {};
}
type handleError = (error: Error, errorMessage: string) => boolean;
}
declare const hapiError: Plugin;
export = hapiError;
declare module 'hapi' {
interface Request {
handleError: hapiError.handleError;
}
}