UNPKG

800 BTypeScriptView Raw
1import type { Event, EventHint, EventProcessor } from '@sentry/types';
2/**
3 * Returns the global event processors.
4 * @deprecated Global event processors will be removed in v8.
5 */
6export declare function getGlobalEventProcessors(): EventProcessor[];
7/**
8 * Add a EventProcessor to be kept globally.
9 * @deprecated Use `addEventProcessor` instead. Global event processors will be removed in v8.
10 */
11export declare function addGlobalEventProcessor(callback: EventProcessor): void;
12/**
13 * Process an array of event processors, returning the processed event (or `null` if the event was dropped).
14 */
15export declare function notifyEventProcessors(processors: EventProcessor[], event: Event | null, hint: EventHint, index?: number): PromiseLike<Event | null>;
16//# sourceMappingURL=eventProcessors.d.ts.map
\No newline at end of file