import type { SessionTraceItem } from "../../../lib/session/types.js"; export interface SessionTimelineProps { /** The session's traces (rendered in start-time order regardless of input order). */ items: SessionTraceItem[]; selectedId: string | null; onSelect: (id: string) => void; /** ns → label for the row timestamp. Default ISO datetime. */ formatTimestamp?: (ns: bigint) => string; /** USD cost formatter. Default `$0.0000`. */ formatCostUsd?: (usd: number) => string; /** Row count at/above which the virtualized path engages. Default 200. */ virtualizeThreshold?: number; className?: string; "aria-label"?: string; } /** * SessionTimeline — a temporal replay of a session: one row per trace, sorted by start time, each * showing the timestamp, name, a duration bar relative to the session window (via the trace-core * `computeBarLayout`), status, and cost. Controlled selection; virtualizes above the threshold. * Escaped text only. */ export declare function SessionTimeline({ items, selectedId, onSelect, formatTimestamp, formatCostUsd, virtualizeThreshold, className, "aria-label": ariaLabel, }: SessionTimelineProps): import("react").JSX.Element;