/**
 * Message Extraction Service
 *
 * Transforms OTel spans into a chronological conversation message list.
 * Supports Claude Code telemetry events and generic OTel GenAI conventions.
 */
import { Span, ConversationMessage } from '../../types/index.js';
/**
 * Extract conversation messages from a flat array of spans.
 *
 * Claude Code emits spans with events: user_prompt, api_request, tool_decision, tool_result.
 * Generic agents use OTel GenAI conventions: llm.request/llm.response events and gen_ai.* attributes.
 */
export declare function extractMessagesFromSpans(spans: Span[], serviceName?: string): ConversationMessage[];
//# sourceMappingURL=messageExtraction.d.ts.map