import type { Context } from '@opentelemetry/api'; import type { ReadableSpan, Span, SpanProcessor as SpanProcessorInterface } from '@opentelemetry/sdk-trace-base'; import type { Client } from '@sentry/core'; /** * Converts OpenTelemetry Spans to Sentry Spans and sends them to Sentry via * the Sentry SDK. */ export declare class SentrySpanProcessor implements SpanProcessorInterface { private _exporter; private _client; private _unsubscribePreprocessSpan; constructor(options?: { timeout?: number; client?: Client; }); /** * @inheritDoc */ forceFlush(): Promise; /** * @inheritDoc */ shutdown(): Promise; /** * @inheritDoc */ onStart(span: Span, parentContext: Context): void; /** @inheritDoc */ onEnd(span: Span & ReadableSpan): void; } //# sourceMappingURL=spanProcessor.d.ts.map