import type { IRawSpan } from '../../../../types/TraceModels';
export interface NormalizedSpan extends IRawSpan {
    normalizedStart: number;
    normalizedDuration: number;
    depth: number;
}
export declare const shouldRenderTimelinePlayer: (enableTimelinePlayer: boolean | undefined, durationMs: number, normalizedSpans: NormalizedSpan[]) => boolean;
export declare function calculateSpanDepth(spans: IRawSpan[]): Map<string, number>;
export declare function normalizeSpans(spans: IRawSpan[]): NormalizedSpan[];
export declare function findAgentRunSpan(spans: IRawSpan[]): IRawSpan | undefined;
export declare function findAllAgentRunSpans(spans: IRawSpan[]): IRawSpan[];
export declare function filterChildSpans(spans: IRawSpan[], agentSpans: IRawSpan[]): IRawSpan[];
export declare function calculateDurationMs(parentSpan: IRawSpan | undefined): number;
export declare const calculateTimelineHeight: (enableTimelinePlayer: boolean | undefined, spans: IRawSpan[]) => number;
//# sourceMappingURL=TimelinePlayer.utils.d.ts.map