import type { TraceSpan, TranscriptRow } from "../../../lib/trace/types.js"; export interface TraceTranscriptProps { /** Trace root — the row model is derived via `toTranscriptRows`. */ root: TraceSpan; /** Pre-computed rows (overrides `root` derivation — mainly for tests / custom row models). */ rows?: TranscriptRow[]; selectedId: string | null; onSelect: (id: string) => void; /** Collapsed group ids (subagent subtrees). Uncontrolled-friendly: omit to keep all expanded. */ collapsedGroups?: Set; onToggleGroup?: (groupId: string) => void; /** USD cost formatter for per-row stats. 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; } /** * TraceTranscript — a reader-mode feed of a trace: one card per span (role * badge + name + output preview + micro-stats), with collapsible group * headers for subagent subtrees. Virtualizes at/above `virtualizeThreshold`. * Controlled selection; group collapse is controlled when `collapsedGroups` * is supplied. Escaped text only. */ export declare function TraceTranscript({ root, rows: rowsProp, selectedId, onSelect, collapsedGroups, onToggleGroup, formatCostUsd, virtualizeThreshold, className, "aria-label": ariaLabel, }: TraceTranscriptProps): import("react").JSX.Element;