export declare const handleAsyncErrors: (fn: (...args: T) => Promise) => (...args: T) => Promise;