/** * @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 { FastifyReply, FastifyRequest } from 'fastify'; import { IErrorHandler } from '../../interfaces/controller.js'; export declare function createErrorsHandler(errorHandlers: Iterable, instance: Record void>): (error: Error, request: FastifyRequest, reply: FastifyReply) => Promise;