/** * if err.userError is set, it inherits from AbstractError, which are user errors not Bit errors * and should not be reported to Sentry. * reason why we don't check (err instanceof AbstractError) is that it could be thrown from a fork, * in which case, it loses its class and has only the fields. */ export declare function sendToAnalyticsAndSentry(err: Error): void; declare const _default: (err: Error) => { message: string; error: Error; }; export default _default;