import { Boom } from '@hapi/boom'; declare class DecoratedBoom extends Boom { name: string; code: string; } export declare function isDecoratedBoom(err: unknown): err is DecoratedBoom; export declare function createBoomError(name: string, statusCode: number, message?: string | ((...args: unknown[]) => string), code?: string): typeof DecoratedBoom;