import { Span } from '@opentelemetry/api'; import { InstrumentationConfig } from '@opentelemetry/instrumentation'; import * as SentryTypesV7 from '@sentry/types-v7'; import * as SentryTypesV8 from '@sentry/types-v8'; export type Event = SentryTypesV7.Event | SentryTypesV8.Event; export type EventHint = SentryTypesV7.EventHint | SentryTypesV8.EventHint; export type Exception = SentryTypesV7.Exception | SentryTypesV8.Exception; export interface EventCustomAttributeFunction { (span: Span, event: Event): void; } export interface SentryNodeInstrumentationConfig extends InstrumentationConfig { eventHook?: EventCustomAttributeFunction; } //# sourceMappingURL=types.d.ts.map