1 | import { Event, EventProcessor, Hub, Integration, StackFrame } from '@sentry/types';
|
2 | declare type StackFrameIteratee = (frame: StackFrame) => StackFrame;
|
3 |
|
4 | export declare class RewriteFrames implements Integration {
|
5 | |
6 |
|
7 |
|
8 | static id: string;
|
9 | |
10 |
|
11 |
|
12 | name: string;
|
13 | |
14 |
|
15 |
|
16 | private readonly _root?;
|
17 | |
18 |
|
19 |
|
20 | private readonly _prefix;
|
21 | |
22 |
|
23 |
|
24 | constructor(options?: {
|
25 | root?: string;
|
26 | prefix?: string;
|
27 | iteratee?: StackFrameIteratee;
|
28 | });
|
29 | /**
|
30 | * @inheritDoc
|
31 | */
|
32 | setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
|
33 | /** JSDoc */
|
34 | process(originalEvent: Event): Event;
|
35 | /**
|
36 | * @inheritDoc
|
37 | */
|
38 | private readonly _iteratee;
|
39 | /** JSDoc */
|
40 | private _processExceptionsEvent;
|
41 | /** JSDoc */
|
42 | private _processStacktrace;
|
43 | }
|
44 | export {};
|
45 |
|
\ | No newline at end of file |