1 | import type { Client } from '@sentry/types';
|
2 | type UnhandledRejectionMode = 'none' | 'warn' | 'strict';
|
3 | interface OnUnhandledRejectionOptions {
|
4 | |
5 |
|
6 |
|
7 |
|
8 | mode: UnhandledRejectionMode;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 | export declare const onUnhandledRejectionIntegration: (options?: Partial<OnUnhandledRejectionOptions> | undefined) => import("@sentry/types").Integration;
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | export declare function makeUnhandledPromiseHandler(client: Client, options: OnUnhandledRejectionOptions): (reason: unknown, promise: unknown) => void;
|
22 | export {};
|
23 |
|
\ | No newline at end of file |