import { SugoiError } from "../exceptions/sugoi-abstract.exception"; export declare type TError = typeof Error | typeof SugoiError; export declare function Catch(): any; export declare function Catch(handler: (err: Error | SugoiError) => any): any; export declare function Catch(...errors: Array): any; export declare function Catch(handler: (err: Error | SugoiError) => any, ...errors: Array): any; export declare function catcherCallback(errors: any, handler: any, next: any): (...args: any[]) => any;