1 | import type { ClientOptions, Event, EventHint, StackParser } from '@sentry/types';
|
2 | import { Scope } from '../scope';
|
3 | /**
|
4 | * Adds common information to events.
|
5 | *
|
6 | * The information includes release and environment from `options`,
|
7 | * breadcrumbs and context (extra, tags and user) from the scope.
|
8 | *
|
9 | * Information that is already present in the event is never overwritten. For
|
10 | * nested objects, such as the context, keys are merged.
|
11 | *
|
12 | * Note: This also triggers callbacks for `addGlobalEventProcessor`, but not `beforeSend`.
|
13 | *
|
14 | * @param event The original event.
|
15 | * @param hint May contain additional information about the original exception.
|
16 | * @param scope A scope containing event metadata.
|
17 | * @returns A new event with more information.
|
18 | * @hidden
|
19 | */
|
20 | export declare function prepareEvent(options: ClientOptions, event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event | null>;
|
21 | /**
|
22 | * Applies debug metadata images to the event in order to apply source maps by looking up their debug ID.
|
23 | */
|
24 | export declare function applyDebugMetadata(event: Event, stackParser: StackParser): void;
|
25 | //# sourceMappingURL=prepareEvent.d.ts.map |
\ | No newline at end of file |