1 | import { DsnLike, Mechanism, WrappedFunction } from '@sentry/types';
|
2 |
|
3 |
|
4 |
|
5 | export declare function shouldIgnoreOnError(): boolean;
|
6 |
|
7 |
|
8 |
|
9 | export declare function ignoreNextOnError(): void;
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function wrap(fn: WrappedFunction, options?: {
|
19 | mechanism?: Mechanism;
|
20 | }, before?: WrappedFunction): any;
|
21 |
|
22 |
|
23 |
|
24 | export interface ReportDialogOptions {
|
25 | [key: string]: any;
|
26 | eventId?: string;
|
27 | dsn?: DsnLike;
|
28 | user?: {
|
29 | email?: string;
|
30 | name?: string;
|
31 | };
|
32 | lang?: string;
|
33 | title?: string;
|
34 | subtitle?: string;
|
35 | subtitle2?: string;
|
36 | labelName?: string;
|
37 | labelEmail?: string;
|
38 | labelComments?: string;
|
39 | labelClose?: string;
|
40 | labelSubmit?: string;
|
41 | errorGeneric?: string;
|
42 | errorFormEntry?: string;
|
43 | successMessage?: string;
|
44 |
|
45 | onLoad?(): void;
|
46 | }
|
47 |
|
48 |
|
49 |
|
50 |
|
51 | export declare function injectReportDialog(options?: ReportDialogOptions): void;
|
52 |
|
\ | No newline at end of file |