export interface ITryCatchDecoratorOptions { /** * The default value that is returned when an error has occurred. * @default null */ defaultValueOnError?: T | null | undefined; } /** * Decorator to wrap a class method with a try-catch block. Works also with Promise * @param {ITryCatchDecoratorOptions} options custom options for the decorators * @returns {T|null|undefined} In case of success the expected result T, otherwise the specified default value or null or undefined. * @since 1.4.0 */ export declare const tryCatch: (options?: ITryCatchDecoratorOptions) => any; //# sourceMappingURL=tryCatch.d.ts.map