strata-react 2.1.23 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -6408,5 +6408,315 @@ type PartialDateFieldProps = {
6408
6408
  };
6409
6409
  /** Input for an uncertain or partial ISO date (`YYYY`, `YYYY-MM`, `YYYY-MM-DD`) with an optional approximate toggle. Wrap in `Field`. */
6410
6410
  export declare function PartialDateField({ value, onChange, placeholder, allowCirca, circaLabel, disabled, className }: PartialDateFieldProps): React.JSX.Element;
6411
- export { type ActiveItem, type AlertDialogProps, type AlertProps, type Api, type ApiOptions, type ApiPage, type AspectRatio, type AsyncAction, type AsyncActionOptions, AsyncButton, type AsyncLabels, type AudioMedia, type AutoRecorder, type AutoRecorderState, type AutoSave, type AutoSaveOptions, type AutoTake, type BalanceProps, type BalanceSide, type BinaryByteUnit, type BookPage, type BookUrl, type BookViewerProps, type BoxListProps, type BoxOverlayProps, type BoxSource, type BoxTone, type BoxedPictureProps, type BoxesState, type Brush, type BrushControl, type BrushKind, Button, type ButtonLinkProps, type ButtonProps, type ByteHighlight, type ByteRange, type ByteUnit, type ByteViewProps, type BytesOptions, COLOR_SCHEME_STORAGE_KEY, type Candidate, type CellValue, type ChartMark, type ChartSpan, type CheckboxGesture, type CheckboxProps, type Choice, type ChoiceCounts, type ChoiceGridProps, type ChoiceGroupProps, type ChoiceMarks, type ChoiceSize, type ChoiceState, type Choices, type ClientWork, type Clips, type ClipsContext, type ClipsProviderProps, type ClockFaceProps, type ClockFaceStyle, type ClockHands, type ClockMarks, type ClockNumbers, type ClockNumerals, type ClockParts, type ClockProps, type ClockStyle, type ClockTime, type ClockWordsOptions, type ColorFieldProps, type ColorScheme, ColorSchemeChoice, type ColorSchemeLabels, type ColorSchemePreference, type ColorSchemeState, type Column, type Command, type CommandMenuProps, type CommandsOptions, type CompareAudioProps, type CompareGridProps, type CompareMode, type CompareProps, type CompareTextProps, type CompareVideoGridProps, type CompareVideoProps, type ComposerProps, type CompositionBarProps, type CompositionPart, type ConcealedProps, type ConsoleLevel, type ConsoleLine, type ConsoleProps, type ContextMenuProps, type ControlSize, type ConversationImage, type ConversationProps, type ConversationTurn, type CountOptions, type CountdownOptions, type CurrencyOptions, type CursorMapping, type CursorOwner, CursorScope, type CursorScopeProps, type CutChange, type CutLimit, type CutRoom, DEFAULT_PALETTE, type DataTableProps, type DateFormatter, type DateInput, type DecodedAudio, type Delivery, Density, type DensityName, type DensityProps, type DescribeError, type DialogProps, type Difference, type DifferenceState, type DigitalClockProps, type DigitalClockStyle, type DigitalTimeOptions, type DisclosureOpenProps, type DisclosureProps, type DragData, type DragSourceProps, type DrawTool, type Drawing, type Box as DrawingBox, type DrawingLayerProps, type DrawingOp, type DrawingOptions, type DrawingState, type DrawingToolbarProps, type DropTarget, type Easing, type EditClip, type EditListOptions, type EditListPlayerProps, type EditListSlot, type EditListState, type EditTimes, type EditableRegion, type EntityMatch, type EntityMatcher, type ErrorBody, type EventLogEntry, type EventLogImage, type EventLogProps, type Expanded, type ExpandedOptions, type Facing, type FailedRemoval, type FetchJsonInit, type FetchJsonOptions, type FieldErrors, type FieldProps, type FileIntake, type FileIntakeOptions, type FileOutcome, type FillLevelProps, type FilmFrame, type FilmStripProps, type Folder, type FolderListing, type FolderPickerProps, type Format, type FormatOptions, type FractionCut, type FractionOutline, type FractionShapeProps, type FullscreenFrameProps, type GlimpseLook, type GlimpseProps, type GlimpseWhy, type Grid, type GroupMember, type GroupedChart, type Handle, type History, type HistoryOptions, type HistoryStateOptions, type HistoryStep, type HotkeysOptions, IconButton, type IconButtonProps, type IconComponent, type ImageMedia, type Implies, type InViewOptions, type InfiniteListProps, type InfiniteLoad, type InfiniteLoadOptions, type InitialSelection, type InkColours, type InkMatch, type InkMatchState, type InputLevelProps, type InspectorProps, type InspectorSectionProps, type Job, type JobAction, type JobActionOptions, type JobFailure, type JobOptions, type JobProgress, type JobRow, type JobStatusProps, type JobWords, type JobsTableProps, type JsonViewProps, type KeyCheck, KeysLegend, type LatLng, type LengthBarProps, type LengthLook, type LightboxItem, type LightboxProps, type LightboxUrl, LineChart, LineChartGroup, type LineChartGroupProps, type LineChartProps, type LinkCardProps, type ListeningLevelProps, type Load, type LoadFailure, type LoadMoreProps, type Loudness, type MarkKind, type MarkPattern, type MarkTone, type MarkableTextProps, type MediaContentsItem, type MediaContentsProps, type MediaElementOptions, type MediaElementState, type MediaHeading, type MediaMark, MediaPlayer, type MediaPlayerProps, type MediaProblem, type MediaProgress, type MediaSession, type MediaSource, type MediaSpanData, type MediaSpansState, MediaStage, type MediaStat, type MediaStats, type MediaWindow, type MenuEntry, type MenuProps, type MeterProps, type MeterThreshold, type MetricProps, type Microphone, MicrophoneContext, MicrophoneError, type MicrophoneStream, type MoneyProps, type MoneyValue, type More, type NativeSelectProps, type NavItem, type Nib, type NumberFieldProps, type NumberFormatter, type Outbox, type OutboxItem, type OutboxOptions, type OutboxRefusal, type OutboxRequest, type OutboxSnapshot, type OutboxStatusProps, PALETTE_STORAGE_KEY, type PageNames, type Pair, type PairAnswer, type PairJudgeProps, type PairVoteProps, type PairVoteSlot, type PairVoteWords, PaletteChoice, type PaletteOption, type PaletteState, type PaneProps, type PartialDateFieldProps, type PartialDateParseResult, type PartialDatePrecision, type PartialDateValue, type PeakPair, type PendingRemoval, type Phase, type PictureBox, type PictureRegion, type PixelImageProps, type Pixels, type PlaceBoardProps, type PlaceState, type Platform, type PlayWindowButtonProps, PlayerNotice, type PlayerWarning, type PlayerWarningEvent, type Point, type Poll, type PopoverProps, type Precision, type Property, type PropertyListProps, type PropertyRowProps, type RangeProps, type RangeSliderProps, RateChoice, type ReadAlongPart, type ReadAlongProps, type ReadAloud, type ReadAloudOptions, type ReadPixels, type Rebinding, type Recorder, type RecorderState, type Recording, type Rect, type RectLimits, type Region, type RegionEditorProps, type RegionTone, type Reserve, type ReserveOptions, type ResumeWords, type Revealed, type Block as RichBlock, type Inline as RichInline, type RichTextProps, RowAction, type RowActionProps, type RowExpansion, type RowSelection, SPEECH_RATES, type SaveState, type SayAgainProps, type SayOnShowOptions, type SayPictureProps, type Saying, type ScheduleRow, type ScheduleTableProps, type SearchParam, type SearchParamOptions, type SecretFieldProps, type SecretTestResult, SeekBar, type SeekBarProps, type SeekBarSpan, type Segment, type Segmenter, type SegmenterOptions, type SelectableGridProps, type SequenceItem, type SequenceTimelineProps, type SetClockProps, type SetOptions, type ShareBox, type SharedCursor, type Shortcut, type ShortcutOverrides, type SkipAction, type SkipLevel, type SkipSteps, type SliderProps, type SolidProps, type SolidShape, type Sort, type SortableListProps, type SourceAttacher, SpanActions, type SpanActionsNotice, type SpanBehaviour, type SpanKind, type SpanOutcome, SpanStrip, type SpanTone, type SpanWords, type SpeakOptions, type SpeakerReference, type SpeakerTimelineProps, type SpeakerTurn, type Speech, type SpeechLevel, type SpeechPart, StageGuides, type StageState, type StageWords, type Stale, type StrataToastRegionProps, type StreamAttachment, type StreamContext, type StreamStats, type Stroke, type StrokeChange, type StrokeNoteWords, type StrokePoint, type StrokeShape, type SwitchProps, type SystemFact, type SystemFolder, type SystemInfoLike, type SystemPanelProps, type SystemService, type TabItem, type TakeLevelProps, type TextDifference, type TextLinkProps, type TextMedia, type TextSegment, ThemeProvider, type ThumbnailProps, type TileAspect, type TileGridProps, type TileSize, TimeReadout, type TimelineChange, type TimelineClock, type TimelineClockOptions, type TimelineDrop, type TimelineItem, type TimelineLane, type TimelineMarker, type TimelinePlayerProps, type TimelineProps, type ToastContentProps, type ToggleGroupProps, type ToggleOption, type ToggleProps, type Tone, type ToolChoice, type ToolbarProps, type TooltipProps, type TranscriptGroup, type TranscriptPhrase, type TranscriptPhraseState, type TranscriptSeek, type TranscriptViewProps, type TranscriptWord, Transport, type TransportProps, type TreeNodeState, type TreeProps, type Turn, type TurnArrowProps, type TurnEdit, type TypedApi, type Undoable, type UndoableOptions, type UseAutoRecorderOptions, type UseRecorderOptions, type UseSpeechOptions, type VideoLoop, type VideoMedia, type VideoMode, type ViewGroup, type ViewGroupRows, type ViewOptionsConfig, type ViewOptionsProps, type ViewOptionsState, type ViewPointerOptions, type ViewSort, type Viewport, type ViewportFrameProps, type ViewportState, VolumeControl, type VolumeControlProps, type WaveformMark, type WaveformMarkKind, type WaveformPeaks, type WaveformProps, type WaveformSpan, type WaveformTone, type WorkContext, type WorkPhase, type WorkflowRunLike, type WorkflowRunOptions, type WorkflowStage, type WorkflowStepsProps, type WorkflowSummaryData, type WorkflowSummaryProps, type WorkflowSummaryState, type WorkflowSummaryWords, type WorkspaceBarProps, type WorkspaceState, type YScale, browserMicrophone, buttonVariants, colorSchemeScript, explainMicrophoneError, format$1 as format, geo, isTypingTarget, keyName, logScale, marksFor, mediaStatRows, paletteScript, palettes, readPixels$1 as readPixels, skipAction, transportShortcuts, useAsyncAction, useAttachedSource, useColorScheme, useHotkeys, useMediaElement, useMediaSpans, useMediaStats, useMicrophone, usePalette, usePlayerWarnings, useSharedCursor, useSystemColorScheme, valueAt };
6411
+ type AxisDirection = "higher" | "lower";
6412
+ type NiceScale = {
6413
+ min: number;
6414
+ max: number;
6415
+ ticks: number[];
6416
+ step: number;
6417
+ };
6418
+ /**
6419
+ * Compute clean 1-2-5 axis bounds and tick positions covering `[rawMin, rawMax]`.
6420
+ * Never crops a value: the returned `[min, max]` always contains `[rawMin, rawMax]`.
6421
+ */
6422
+ export declare function niceScale(rawMin: number, rawMax: number, targetTicks?: number): NiceScale;
6423
+ type FrontierPoint = {
6424
+ id: string;
6425
+ x: number;
6426
+ y: number;
6427
+ };
6428
+ /**
6429
+ * Return the non-dominated (Pareto optimal) point IDs and the frontier points ordered along `x`.
6430
+ * A point A dominates B when A is at least as good on both axes and strictly better on at least one.
6431
+ */
6432
+ export declare function paretoFrontier<T extends FrontierPoint>(points: readonly T[], xDirection: AxisDirection, yDirection: AxisDirection): {
6433
+ ids: Set<string>;
6434
+ ordered: T[];
6435
+ };
6436
+ type DistributionSummary = {
6437
+ n: number;
6438
+ min: number;
6439
+ p25: number;
6440
+ median: number;
6441
+ p75: number;
6442
+ max: number;
6443
+ mean: number;
6444
+ };
6445
+ /** Compute five-number summary + mean for finite numeric observations. */
6446
+ export declare function summarizeDistribution(values: readonly number[]): DistributionSummary | null;
6447
+ /** Empirical cumulative distribution function points `(x, proportion in [0, 1])`. */
6448
+ export declare function ecdfPoints(values: readonly number[]): Array<{
6449
+ x: number;
6450
+ y: number;
6451
+ }>;
6452
+ /** Deterministic jitter in `[-1, 1]` from a string/number key so visual snapshots never drift. */
6453
+ export declare function deterministicJitter(key: string | number): number;
6454
+ /** Categorical chart colours from the Strata token contract (`--chart-1`…`--chart-5`). */
6455
+ export declare const CHART_COLOURS: readonly ["var(--chart-1)", "var(--chart-2)", "var(--chart-3)", "var(--chart-4)", "var(--chart-5)"];
6456
+ export declare function chartColour(index: number): string;
6457
+ type ForestGuard = {
6458
+ label: string;
6459
+ passed: boolean | null;
6460
+ };
6461
+ type ForestRow = {
6462
+ id: string;
6463
+ label: string;
6464
+ /** Optional short detail beneath the label (model key, quantisation, preset). */
6465
+ subtitle?: string;
6466
+ /** Paired effect estimate (oriented positive = improvement). Null when not estimable. */
6467
+ estimate: number | null;
6468
+ /** Lower bound of confidence interval. */
6469
+ low?: number | null;
6470
+ /** Upper bound of confidence interval. */
6471
+ high?: number | null;
6472
+ /** Paired sample size. */
6473
+ n: number;
6474
+ /** Mark the reference/baseline row. */
6475
+ baseline?: boolean;
6476
+ /** Optional status word (e.g. "Adopt", "Reject", "Unclear", "Baseline"). */
6477
+ verdict?: {
6478
+ label: string;
6479
+ tone: Tone;
6480
+ };
6481
+ /** Optional guardrail outcomes shown with explicit pass/fail icons and labels. */
6482
+ guards?: readonly ForestGuard[];
6483
+ };
6484
+ type ForestPlotProps = {
6485
+ /** Accessible name and table caption describing what is compared. */
6486
+ label: string;
6487
+ rows: readonly ForestRow[];
6488
+ /** Formats an effect value on the axis and in the readout (e.g. `v => `${v >= 0 ? "+" : ""}${v.toFixed(2)} pts``). */
6489
+ formatValue: (value: number) => string;
6490
+ /** Reference line value (default `0`). */
6491
+ reference?: number;
6492
+ /** Label for the reference line (default `"Baseline (0)"`). */
6493
+ referenceLabel?: string;
6494
+ /** Optional minimum worthwhile effect threshold (drawn as a shaded band from `reference` to `minEffect`). */
6495
+ minEffect?: number;
6496
+ /** Label for the minimum effect band (e.g. `"Min effect (+0.5 pts)"`). */
6497
+ minEffectLabel?: string;
6498
+ /** Explicit axis direction labels (default `"Worse"` and `"Better"`). */
6499
+ worseLabel?: string;
6500
+ betterLabel?: string;
6501
+ /** Short note explaining metric orientation or CI level (e.g. `"95% paired bootstrap CI · positive = lower CER"`). */
6502
+ note?: string;
6503
+ /** Currently selected row id. */
6504
+ selectedId?: string | null;
6505
+ /** Called when a row is clicked or activated with the keyboard. */
6506
+ onSelect?: (row: ForestRow) => void;
6507
+ className?: string;
6508
+ };
6509
+ /** Horizontal forest plot of paired effect estimates with confidence intervals, minimum-effect band, guardrails and verdicts. */
6510
+ export declare function ForestPlot({ label, rows, formatValue, reference, referenceLabel, minEffect, minEffectLabel, worseLabel, betterLabel, note, selectedId, onSelect, className }: ForestPlotProps): React.JSX.Element;
6511
+ type ScatterAxisOption = {
6512
+ id: string;
6513
+ label: string;
6514
+ direction: AxisDirection;
6515
+ format: (value: number) => string;
6516
+ };
6517
+ type ScatterPoint = {
6518
+ id: string;
6519
+ label: string;
6520
+ /** Values keyed by axis id (or use `x` / `y` when only one pair of axes is supplied). */
6521
+ values?: Readonly<Record<string, number | null | undefined>>;
6522
+ x?: number;
6523
+ y?: number;
6524
+ /** Optional confidence intervals for the active axes. */
6525
+ xLow?: number;
6526
+ xHigh?: number;
6527
+ yLow?: number;
6528
+ yHigh?: number;
6529
+ /** Optional grouping/cohort key (e.g. "Local GPU", "Cloud API", "Classical"). Encoded by shape + colour. */
6530
+ group?: string;
6531
+ /** Sample size shown in the detail card and table. */
6532
+ n?: number;
6533
+ /** Short technical note (e.g. hardware, quantisation, config). */
6534
+ note?: string;
6535
+ /** Optional status badge (e.g. "Default", "Adopt", "Guard failed"). */
6536
+ status?: {
6537
+ label: string;
6538
+ tone: Tone;
6539
+ };
6540
+ };
6541
+ type ScatterFrontierProps = {
6542
+ /** Accessible name and caption. */
6543
+ label: string;
6544
+ points: readonly ScatterPoint[];
6545
+ /** X-axis definition, or multiple selectable X axes. */
6546
+ xAxis: ScatterAxisOption | readonly ScatterAxisOption[];
6547
+ /** Y-axis definition, or multiple selectable Y axes. */
6548
+ yAxis: ScatterAxisOption | readonly ScatterAxisOption[];
6549
+ /** Draw the Pareto non-dominated frontier line (default `true`). */
6550
+ showFrontier?: boolean;
6551
+ /** Always render error crosshairs when interval bounds are present (default: on hover/selection). */
6552
+ showIntervals?: boolean;
6553
+ /** Plot height in pixels (default `300`). */
6554
+ height?: number;
6555
+ /** Methodological caveat shown beneath the plot (e.g. uncertainty or cohort warning). */
6556
+ caveat?: string;
6557
+ selectedId?: string | null;
6558
+ onSelect?: (point: ScatterPoint | null) => void;
6559
+ className?: string;
6560
+ };
6561
+ /** Interactive 2D scatter plot with automatic Pareto frontier, switchable axes, category shapes and detail readout. */
6562
+ export declare function ScatterFrontier({ label, points, xAxis, yAxis, showFrontier, showIntervals, height, caveat, selectedId: controlledSelectedId, onSelect, className }: ScatterFrontierProps): React.JSX.Element;
6563
+ type DistributionItem = {
6564
+ id: string;
6565
+ label?: string;
6566
+ value: number;
6567
+ };
6568
+ type DistributionSeries = {
6569
+ id: string;
6570
+ label: string;
6571
+ subtitle?: string;
6572
+ items: readonly DistributionItem[];
6573
+ /** Number of missing, timed-out or failed items excluded from finite values (shown explicitly). */
6574
+ missing?: number;
6575
+ baseline?: boolean;
6576
+ };
6577
+ type DistributionMode = "strip" | "ecdf";
6578
+ type MetricDistributionProps = {
6579
+ /** Accessible name and caption. */
6580
+ label: string;
6581
+ series: readonly DistributionSeries[];
6582
+ formatValue: (value: number) => string;
6583
+ /** Metric axis label (e.g. `"CER (%)"`, `"DER (%)"`, `"Latency (s)"`). */
6584
+ metricLabel: string;
6585
+ /** Initial view mode (default `"strip"`). */
6586
+ defaultMode?: DistributionMode;
6587
+ /** Allow switching between Strip/Box and ECDF views (default `true`). */
6588
+ allowModeSwitch?: boolean;
6589
+ /** Called when a reader clicks an individual observation dot in Strip mode. */
6590
+ onItemSelect?: (series: DistributionSeries, item: DistributionItem) => void;
6591
+ className?: string;
6592
+ };
6593
+ /** Per-item outcome distribution (Strip + IQR box plot and ECDF toggle) with explicit missing counts. */
6594
+ export declare function MetricDistribution({ label, series, formatValue, metricLabel, defaultMode, allowModeSwitch, onItemSelect, className }: MetricDistributionProps): React.JSX.Element;
6595
+ type SliceColumn = {
6596
+ id: string;
6597
+ label: string;
6598
+ /** Optional slice sample size shown in the column header. */
6599
+ n?: number;
6600
+ };
6601
+ type SliceCell = {
6602
+ value: number | null;
6603
+ /** Optional difference vs baseline (positive = improvement when `deltaPositiveIsBetter` is true, or raw delta formatted by `formatDelta`). */
6604
+ delta?: number | null;
6605
+ /** Optional per-cell sample size (when candidate coverage varies across a slice). */
6606
+ n?: number;
6607
+ };
6608
+ type SliceRow = {
6609
+ id: string;
6610
+ label: string;
6611
+ subtitle?: string;
6612
+ baseline?: boolean;
6613
+ cells: Readonly<Record<string, SliceCell | undefined>>;
6614
+ };
6615
+ type SliceMatrixProps = {
6616
+ /** Accessible name and table caption. */
6617
+ label: string;
6618
+ columns: readonly SliceColumn[];
6619
+ rows: readonly SliceRow[];
6620
+ formatValue: (value: number) => string;
6621
+ /** Optional formatter for cell delta vs baseline. */
6622
+ formatDelta?: (delta: number) => string;
6623
+ /** Whether higher or lower values are better (controls tint direction). */
6624
+ direction: AxisDirection;
6625
+ /** Cells with `n < lowNThreshold` are muted and marked as low-N (default `5`). */
6626
+ lowNThreshold?: number;
6627
+ /** Optional note shown in the header (e.g. metric name, direction, low-N rule). */
6628
+ note?: string;
6629
+ selectedCell?: {
6630
+ rowId: string;
6631
+ columnId: string;
6632
+ } | null;
6633
+ onCellSelect?: (row: SliceRow, column: SliceColumn, cell: SliceCell | undefined) => void;
6634
+ className?: string;
6635
+ };
6636
+ /** Candidate × dataset-slice matrix with subtle performance tinting, deltas vs baseline and low-N flagging. */
6637
+ export declare function SliceMatrix({ label, columns, rows, formatValue, formatDelta, direction, lowNThreshold, note, selectedCell, onCellSelect, className }: SliceMatrixProps): React.JSX.Element;
6638
+ type ConfusionSummaryStat = {
6639
+ label: string;
6640
+ value: string;
6641
+ };
6642
+ type ConfusionMatrixProps = {
6643
+ /** Accessible name and caption. */
6644
+ label: string;
6645
+ /** Row labels (typically Ground Truth / Reference / Human Judge). */
6646
+ rowLabels: readonly string[];
6647
+ /** Column labels (defaults to `rowLabels` for square matrices). */
6648
+ colLabels?: readonly string[];
6649
+ /** Counts indexed as `counts[row][col]`. */
6650
+ counts: readonly (readonly number[])[];
6651
+ /** Axis title for rows (default `"Reference"`). */
6652
+ rowAxisLabel?: string;
6653
+ /** Axis title for columns (default `"Predicted"`). */
6654
+ colAxisLabel?: string;
6655
+ /** Show row-normalised percentage beneath the count (default `true`). */
6656
+ showPercent?: boolean;
6657
+ /** Optional summary stats rendered in a compact footer strip (e.g. Accuracy, Macro F1, κ). */
6658
+ summary?: readonly ConfusionSummaryStat[];
6659
+ selectedCell?: {
6660
+ row: number;
6661
+ col: number;
6662
+ } | null;
6663
+ onCellSelect?: (selection: {
6664
+ row: number;
6665
+ col: number;
6666
+ rowLabel: string;
6667
+ colLabel: string;
6668
+ count: number;
6669
+ }) => void;
6670
+ className?: string;
6671
+ };
6672
+ /** Interactive confusion or judge-agreement matrix with row-normalised percentages and clickable cells. */
6673
+ export declare function ConfusionMatrix({ label, rowLabels, colLabels, counts, rowAxisLabel, colAxisLabel, showPercent, summary, selectedCell, onCellSelect, className }: ConfusionMatrixProps): React.JSX.Element;
6674
+ type PipelineMetric = {
6675
+ label: string;
6676
+ value: string;
6677
+ };
6678
+ type PipelineStage = {
6679
+ id: string;
6680
+ label: string;
6681
+ /** Model key, runtime, or component subtitle. */
6682
+ subtitle?: string;
6683
+ /** Optional status badge (e.g. "OK", "Failed", "Cached", "Lease"). */
6684
+ status?: {
6685
+ label: string;
6686
+ tone: Tone;
6687
+ };
6688
+ /** Compact metrics shown inside the card (duration, VRAM, cost, throughput). */
6689
+ metrics?: readonly PipelineMetric[];
6690
+ /** Optional short intermediate output, config snippet or failure reason. */
6691
+ detail?: string;
6692
+ /** Optional label on the arrow leaving this stage (e.g. "SVG", "expanded prompt"). */
6693
+ edgeLabel?: string;
6694
+ };
6695
+ /** Either a single stage or a vertical column of parallel stages/lanes. */
6696
+ type PipelineStep = PipelineStage | {
6697
+ id: string;
6698
+ /** Group heading for parallel lanes (e.g. "Execution lanes"). */
6699
+ groupLabel?: string;
6700
+ parallel: readonly PipelineStage[];
6701
+ edgeLabel?: string;
6702
+ };
6703
+ type PipelineSummaryItem = {
6704
+ label: string;
6705
+ value: string;
6706
+ };
6707
+ type PipelineDiagramProps = {
6708
+ /** Accessible name and caption. */
6709
+ label: string;
6710
+ steps: readonly PipelineStep[];
6711
+ /** Optional note shown in the header. */
6712
+ note?: string;
6713
+ /** Summary strip beneath the diagram (e.g. Wall time, Summed stage time, Total cost). */
6714
+ summary?: readonly PipelineSummaryItem[];
6715
+ selectedId?: string | null;
6716
+ onSelect?: (stage: PipelineStage) => void;
6717
+ className?: string;
6718
+ };
6719
+ /** Multi-stage pipeline and architecture flow diagram with parallel lane support and timing/cost summary. */
6720
+ export declare function PipelineDiagram({ label, steps, note, summary, selectedId, onSelect, className }: PipelineDiagramProps): React.JSX.Element;
6721
+ export { type ActiveItem, type AlertDialogProps, type AlertProps, type Api, type ApiOptions, type ApiPage, type AspectRatio, type AsyncAction, type AsyncActionOptions, AsyncButton, type AsyncLabels, type AudioMedia, type AutoRecorder, type AutoRecorderState, type AutoSave, type AutoSaveOptions, type AutoTake, type AxisDirection, type BalanceProps, type BalanceSide, type BinaryByteUnit, type BookPage, type BookUrl, type BookViewerProps, type BoxListProps, type BoxOverlayProps, type BoxSource, type BoxTone, type BoxedPictureProps, type BoxesState, type Brush, type BrushControl, type BrushKind, Button, type ButtonLinkProps, type ButtonProps, type ByteHighlight, type ByteRange, type ByteUnit, type ByteViewProps, type BytesOptions, COLOR_SCHEME_STORAGE_KEY, type Candidate, type CellValue, type ChartMark, type ChartSpan, type CheckboxGesture, type CheckboxProps, type Choice, type ChoiceCounts, type ChoiceGridProps, type ChoiceGroupProps, type ChoiceMarks, type ChoiceSize, type ChoiceState, type Choices, type ClientWork, type Clips, type ClipsContext, type ClipsProviderProps, type ClockFaceProps, type ClockFaceStyle, type ClockHands, type ClockMarks, type ClockNumbers, type ClockNumerals, type ClockParts, type ClockProps, type ClockStyle, type ClockTime, type ClockWordsOptions, type ColorFieldProps, type ColorScheme, ColorSchemeChoice, type ColorSchemeLabels, type ColorSchemePreference, type ColorSchemeState, type Column, type Command, type CommandMenuProps, type CommandsOptions, type CompareAudioProps, type CompareGridProps, type CompareMode, type CompareProps, type CompareTextProps, type CompareVideoGridProps, type CompareVideoProps, type ComposerProps, type CompositionBarProps, type CompositionPart, type ConcealedProps, type ConfusionMatrixProps, type ConfusionSummaryStat, type ConsoleLevel, type ConsoleLine, type ConsoleProps, type ContextMenuProps, type ControlSize, type ConversationImage, type ConversationProps, type ConversationTurn, type CountOptions, type CountdownOptions, type CurrencyOptions, type CursorMapping, type CursorOwner, CursorScope, type CursorScopeProps, type CutChange, type CutLimit, type CutRoom, DEFAULT_PALETTE, type DataTableProps, type DateFormatter, type DateInput, type DecodedAudio, type Delivery, Density, type DensityName, type DensityProps, type DescribeError, type DialogProps, type Difference, type DifferenceState, type DigitalClockProps, type DigitalClockStyle, type DigitalTimeOptions, type DisclosureOpenProps, type DisclosureProps, type DistributionItem, type DistributionMode, type DistributionSeries, type DistributionSummary, type DragData, type DragSourceProps, type DrawTool, type Drawing, type Box as DrawingBox, type DrawingLayerProps, type DrawingOp, type DrawingOptions, type DrawingState, type DrawingToolbarProps, type DropTarget, type Easing, type EditClip, type EditListOptions, type EditListPlayerProps, type EditListSlot, type EditListState, type EditTimes, type EditableRegion, type EntityMatch, type EntityMatcher, type ErrorBody, type EventLogEntry, type EventLogImage, type EventLogProps, type Expanded, type ExpandedOptions, type Facing, type FailedRemoval, type FetchJsonInit, type FetchJsonOptions, type FieldErrors, type FieldProps, type FileIntake, type FileIntakeOptions, type FileOutcome, type FillLevelProps, type FilmFrame, type FilmStripProps, type Folder, type FolderListing, type FolderPickerProps, type ForestGuard, type ForestPlotProps, type ForestRow, type Format, type FormatOptions, type FractionCut, type FractionOutline, type FractionShapeProps, type FrontierPoint, type FullscreenFrameProps, type GlimpseLook, type GlimpseProps, type GlimpseWhy, type Grid, type GroupMember, type GroupedChart, type Handle, type History, type HistoryOptions, type HistoryStateOptions, type HistoryStep, type HotkeysOptions, IconButton, type IconButtonProps, type IconComponent, type ImageMedia, type Implies, type InViewOptions, type InfiniteListProps, type InfiniteLoad, type InfiniteLoadOptions, type InitialSelection, type InkColours, type InkMatch, type InkMatchState, type InputLevelProps, type InspectorProps, type InspectorSectionProps, type Job, type JobAction, type JobActionOptions, type JobFailure, type JobOptions, type JobProgress, type JobRow, type JobStatusProps, type JobWords, type JobsTableProps, type JsonViewProps, type KeyCheck, KeysLegend, type LatLng, type LengthBarProps, type LengthLook, type LightboxItem, type LightboxProps, type LightboxUrl, LineChart, LineChartGroup, type LineChartGroupProps, type LineChartProps, type LinkCardProps, type ListeningLevelProps, type Load, type LoadFailure, type LoadMoreProps, type Loudness, type MarkKind, type MarkPattern, type MarkTone, type MarkableTextProps, type MediaContentsItem, type MediaContentsProps, type MediaElementOptions, type MediaElementState, type MediaHeading, type MediaMark, MediaPlayer, type MediaPlayerProps, type MediaProblem, type MediaProgress, type MediaSession, type MediaSource, type MediaSpanData, type MediaSpansState, MediaStage, type MediaStat, type MediaStats, type MediaWindow, type MenuEntry, type MenuProps, type MeterProps, type MeterThreshold, type MetricDistributionProps, type MetricProps, type Microphone, MicrophoneContext, MicrophoneError, type MicrophoneStream, type MoneyProps, type MoneyValue, type More, type NativeSelectProps, type NavItem, type Nib, type NiceScale, type NumberFieldProps, type NumberFormatter, type Outbox, type OutboxItem, type OutboxOptions, type OutboxRefusal, type OutboxRequest, type OutboxSnapshot, type OutboxStatusProps, PALETTE_STORAGE_KEY, type PageNames, type Pair, type PairAnswer, type PairJudgeProps, type PairVoteProps, type PairVoteSlot, type PairVoteWords, PaletteChoice, type PaletteOption, type PaletteState, type PaneProps, type PartialDateFieldProps, type PartialDateParseResult, type PartialDatePrecision, type PartialDateValue, type PeakPair, type PendingRemoval, type Phase, type PictureBox, type PictureRegion, type PipelineDiagramProps, type PipelineMetric, type PipelineStage, type PipelineStep, type PipelineSummaryItem, type PixelImageProps, type Pixels, type PlaceBoardProps, type PlaceState, type Platform, type PlayWindowButtonProps, PlayerNotice, type PlayerWarning, type PlayerWarningEvent, type Point, type Poll, type PopoverProps, type Precision, type Property, type PropertyListProps, type PropertyRowProps, type RangeProps, type RangeSliderProps, RateChoice, type ReadAlongPart, type ReadAlongProps, type ReadAloud, type ReadAloudOptions, type ReadPixels, type Rebinding, type Recorder, type RecorderState, type Recording, type Rect, type RectLimits, type Region, type RegionEditorProps, type RegionTone, type Reserve, type ReserveOptions, type ResumeWords, type Revealed, type Block as RichBlock, type Inline as RichInline, type RichTextProps, RowAction, type RowActionProps, type RowExpansion, type RowSelection, SPEECH_RATES, type SaveState, type SayAgainProps, type SayOnShowOptions, type SayPictureProps, type Saying, type ScatterAxisOption, type ScatterFrontierProps, type ScatterPoint, type ScheduleRow, type ScheduleTableProps, type SearchParam, type SearchParamOptions, type SecretFieldProps, type SecretTestResult, SeekBar, type SeekBarProps, type SeekBarSpan, type Segment, type Segmenter, type SegmenterOptions, type SelectableGridProps, type SequenceItem, type SequenceTimelineProps, type SetClockProps, type SetOptions, type ShareBox, type SharedCursor, type Shortcut, type ShortcutOverrides, type SkipAction, type SkipLevel, type SkipSteps, type SliceCell, type SliceColumn, type SliceMatrixProps, type SliceRow, type SliderProps, type SolidProps, type SolidShape, type Sort, type SortableListProps, type SourceAttacher, SpanActions, type SpanActionsNotice, type SpanBehaviour, type SpanKind, type SpanOutcome, SpanStrip, type SpanTone, type SpanWords, type SpeakOptions, type SpeakerReference, type SpeakerTimelineProps, type SpeakerTurn, type Speech, type SpeechLevel, type SpeechPart, StageGuides, type StageState, type StageWords, type Stale, type StrataToastRegionProps, type StreamAttachment, type StreamContext, type StreamStats, type Stroke, type StrokeChange, type StrokeNoteWords, type StrokePoint, type StrokeShape, type SwitchProps, type SystemFact, type SystemFolder, type SystemInfoLike, type SystemPanelProps, type SystemService, type TabItem, type TakeLevelProps, type TextDifference, type TextLinkProps, type TextMedia, type TextSegment, ThemeProvider, type ThumbnailProps, type TileAspect, type TileGridProps, type TileSize, TimeReadout, type TimelineChange, type TimelineClock, type TimelineClockOptions, type TimelineDrop, type TimelineItem, type TimelineLane, type TimelineMarker, type TimelinePlayerProps, type TimelineProps, type ToastContentProps, type ToggleGroupProps, type ToggleOption, type ToggleProps, type Tone, type ToolChoice, type ToolbarProps, type TooltipProps, type TranscriptGroup, type TranscriptPhrase, type TranscriptPhraseState, type TranscriptSeek, type TranscriptViewProps, type TranscriptWord, Transport, type TransportProps, type TreeNodeState, type TreeProps, type Turn, type TurnArrowProps, type TurnEdit, type TypedApi, type Undoable, type UndoableOptions, type UseAutoRecorderOptions, type UseRecorderOptions, type UseSpeechOptions, type VideoLoop, type VideoMedia, type VideoMode, type ViewGroup, type ViewGroupRows, type ViewOptionsConfig, type ViewOptionsProps, type ViewOptionsState, type ViewPointerOptions, type ViewSort, type Viewport, type ViewportFrameProps, type ViewportState, VolumeControl, type VolumeControlProps, type WaveformMark, type WaveformMarkKind, type WaveformPeaks, type WaveformProps, type WaveformSpan, type WaveformTone, type WorkContext, type WorkPhase, type WorkflowRunLike, type WorkflowRunOptions, type WorkflowStage, type WorkflowStepsProps, type WorkflowSummaryData, type WorkflowSummaryProps, type WorkflowSummaryState, type WorkflowSummaryWords, type WorkspaceBarProps, type WorkspaceState, type YScale, browserMicrophone, buttonVariants, colorSchemeScript, explainMicrophoneError, format$1 as format, geo, isTypingTarget, keyName, logScale, marksFor, mediaStatRows, paletteScript, palettes, readPixels$1 as readPixels, skipAction, transportShortcuts, useAsyncAction, useAttachedSource, useColorScheme, useHotkeys, useMediaElement, useMediaSpans, useMediaStats, useMicrophone, usePalette, usePlayerWarnings, useSharedCursor, useSystemColorScheme, valueAt };
6412
6722
  //# sourceMappingURL=index.d.ts.map