/** * @license * Copyright Andrey Chalkin (https://github.com/L2jLiga). All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/L2jLiga/fastify-decorators/blob/master/LICENSE */ import { Constructor } from './helpers/inject-dependencies.js'; export declare function ErrorHandler(): PropertyDecorator; export declare function ErrorHandler(code: string): PropertyDecorator; export declare function ErrorHandler(configuration: Constructor): PropertyDecorator;