import { Event, EventHint, Integration } from '@sentry/core'; /** * Deduplication filter. * * @deprecated 仅保留给依赖 `fuzzyMatch` 的 1.x 历史用法,将在 2.0 移除。 * 新代码请使用 `dedupeIntegration()`,它直接复用 `@sentry/core` 官方实现。 */ export declare class Dedupe implements Integration { /** * @inheritDoc */ static id: string; /** * @inheritDoc */ name: string; /** * @inheritDoc */ private _previousEvent?; private readonly _fuzzyMatch; constructor(options?: { fuzzyMatch?: boolean; }); /** * @inheritDoc */ setupOnce(): void; /** * @inheritDoc */ processEvent(currentEvent: Event, _hint?: EventHint): Event | null; /** JSDoc */ private _shouldDropEvent; /** JSDoc */ private _isSameMessageEvent; /** JSDoc */ private _isSameExceptionEvent; /** JSDoc */ private _isSameStacktrace; /** JSDoc */ private _isSameFingerprint; /** JSDoc */ private _getExceptionFromEvent; /** 浅拷贝事件的关键去重字段 */ private _cloneEventForComparison; /** JSDoc */ private _getFramesFromEvent; } /** * Dedupe integration */ export declare const dedupeIntegration: () => Integration; //# sourceMappingURL=dedupe.d.ts.map