export declare const tryCatchWrapper: (func: () => Promise, onError?: ((error: unknown) => void) | undefined) => Promise;