import { UISpan } from '../types';
/** Minimal span fields required for building the hierarchical timeline tree. */
type TimelineSpan = {
    spanId: string;
    name: string;
    spanType: string;
    startedAt: Date | string;
    endedAt?: Date | string | null;
    parentSpanId?: string | null;
};
export declare const formatHierarchicalSpans: (spans: TimelineSpan[]) => UISpan[];
export {};
