import { AmplitudeAI } from "../client.js";

//#region src/integrations/openai-agents.d.ts
interface TracingProcessorOptions {
  amplitudeAI: AmplitudeAI;
  userId?: string;
  sessionId?: string;
  traceId?: string;
  agentId?: string;
  env?: string;
}
declare class AmplitudeTracingProcessor {
  private _ai;
  private _defaults;
  private _turnId;
  constructor(options: TracingProcessorOptions);
  onSpanStart(_span: Record<string, unknown>): void;
  onTraceStart(_trace: Record<string, unknown>): void;
  onTraceEnd(_trace: Record<string, unknown>): void;
  onSpanEnd(span: Record<string, unknown>): void;
  shutdown(): void;
  private _handleGeneration;
  private _handleFunction;
  private _inferKind;
  private _getSpanData;
  private _getTraceId;
  private _getLatencyMs;
  private _safeNumber;
  private _normalizeMessagesArray;
  private _extractAssistantText;
  private _extractToolCalls;
}
//#endregion
export { AmplitudeTracingProcessor, TracingProcessorOptions };
//# sourceMappingURL=openai-agents.d.ts.map