/**
 * Intent Transform Service
 *
 * Transforms span trees into time-series compressed nodes for Intent view.
 * Groups only CONSECUTIVE same-category spans, preserving execution order.
 *
 * Example: LLM, TOOL, LLM, TOOL, TOOL, LLM
 * Result:  [LLM], [TOOL], [LLM], [TOOL ×2], [LLM]
 */
import { CategorizedSpan, IntentNode } from '../../types/index.js';
/**
 * Transform a categorized span tree into IntentNodes for the Intent view.
 * Groups only consecutive same-category spans, preserving execution order.
 */
export declare function spansToIntentNodes(spanTree: CategorizedSpan[]): IntentNode[];
/**
 * Get the root/container span for display as header (if exists)
 */
export declare function getRootContainerSpan(spanTree: CategorizedSpan[]): CategorizedSpan | null;
//# sourceMappingURL=intentTransform.d.ts.map