UNPKG

618 BTypeScriptView Raw
1import { Event, EventProcessor, Hub, Integration } from '@sentry/types';
2/** Deduplication filter */
3export declare class Dedupe implements Integration {
4 /**
5 * @inheritDoc
6 */
7 static id: string;
8 /**
9 * @inheritDoc
10 */
11 name: string;
12 /**
13 * @inheritDoc
14 */
15 private _previousEvent?;
16 /**
17 * @inheritDoc
18 */
19 setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
20}
21/** JSDoc */
22export declare function _shouldDropEvent(currentEvent: Event, previousEvent?: Event): boolean;
23//# sourceMappingURL=dedupe.d.ts.map
\No newline at end of file