UNPKG

689 BTypeScriptView Raw
1import type { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types';
2interface LinkedErrorsOptions {
3 key?: string;
4 limit?: number;
5}
6export declare const linkedErrorsIntegration: (options?: LinkedErrorsOptions | undefined) => import("@sentry/types").IntegrationFnResult;
7/**
8 * Aggregrate linked errors in an event.
9 * @deprecated Use `linkedErrorsIntegration()` instead.
10 */
11export declare const LinkedErrors: IntegrationClass<Integration & {
12 preprocessEvent: (event: Event, hint: EventHint, client: Client) => void;
13}> & (new (options?: {
14 key?: string;
15 limit?: number;
16}) => Integration);
17export {};
18//# sourceMappingURL=linkederrors.d.ts.map
\No newline at end of file