/// /// import TCustomErrors from "@edonec/custom-error/errorsTypes"; import { IMiddleware } from "../IMiddleware"; declare const middlewareWithTryCatch: >, import("express").Response>, any>>(middleware: T, eventSender: (payload: TCustomErrors) => void) => T; export default middlewareWithTryCatch;