import { type HostedCall } from "../hostedCalls.js"; import { type Round } from "./rounds.js"; import type { TimelineSpan } from "./spans.js"; export type SpanRow = { kind: "span"; id: string; depth: number; span: TimelineSpan; }; export type RoundRow = { kind: "round"; id: string; depth: number; round: Round; }; /** A tool the provider ran inside `round`. The log records no time for it. */ export type HostedRow = { kind: "hosted"; id: string; depth: number; round: Round; call: HostedCall; }; export type TimelineRow = SpanRow | RoundRow | HostedRow; export declare function timelineRows(spans: TimelineSpan[], rounds: Round[], traceId?: string): TimelineRow[]; export declare function rowIdFor(focusId: string, rows: TimelineRow[], rounds: Round[]): string | undefined;