/** * Sentry Exporter * Exports spans to Sentry error tracking and performance platform */ import type { ExporterHealthStatus, ExportResult, SentryExporterConfig, SpanData } from "../../types/index.js"; import { BaseExporter } from "./baseExporter.js"; /** * Sentry exporter for error tracking and performance monitoring * Captures AI errors as exceptions and traces as transactions */ export declare class SentryExporter extends BaseExporter { private readonly dsn; private readonly tracesSampleRate; private readonly release?; private sentryHub; constructor(config: SentryExporterConfig); initialize(): Promise; /** * Load Sentry SDK dynamically as an optional dependency * @returns Sentry module or null if not installed */ private loadSentry; exportSpan(span: SpanData): Promise; exportBatch(spans: SpanData[]): Promise; flush(): Promise; shutdown(): Promise; healthCheck(): Promise; /** * Verify Sentry SDK is functional */ protected ping(): Promise; }