/** * Braintrust Exporter * Exports spans to Braintrust AI evaluation platform */ import type { BraintrustExporterConfig, ExporterHealthStatus, ExportResult, SpanData } from "../../types/index.js"; import { BaseExporter } from "./baseExporter.js"; /** * Braintrust exporter for AI evaluation and scoring * Supports project logs and evaluation metrics */ export declare class BraintrustExporter extends BaseExporter { private readonly apiKey; private readonly projectName; private readonly endpoint; constructor(config: BraintrustExporterConfig); initialize(): Promise; exportSpan(span: SpanData): Promise; exportBatch(spans: SpanData[]): Promise; flush(): Promise; shutdown(): Promise; healthCheck(): Promise; /** * Verify connectivity to Braintrust API */ protected ping(): Promise; /** * Convert span to Braintrust log format */ private convertToBraintrustLog; }