vizmatic 0.6.1 → 0.7.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.cts CHANGED
@@ -2475,6 +2475,311 @@ declare function tracePolyline(points: readonly MotionPoint[], progress: number)
2475
2475
  /** Return the point at a fraction of a polyline's actual arc length. */
2476
2476
  declare function pointAlongPath(points: readonly MotionPoint[], progress: number): MotionPoint;
2477
2477
 
2478
+ /** id identifies an occurrence; token is its vocabulary ID or displayed text. */
2479
+ interface HistoryToken {
2480
+ id: string;
2481
+ token: string | number;
2482
+ }
2483
+ interface TokenHistorySnapshot {
2484
+ prompt: readonly HistoryToken[];
2485
+ accepted: readonly HistoryToken[];
2486
+ processed: readonly HistoryToken[];
2487
+ emitted: readonly HistoryToken[];
2488
+ }
2489
+ type TokenHistoryPhase = 'resident' | 'dropped' | 'replay';
2490
+ interface TokenHistoryOptions extends TokenHistorySnapshot {
2491
+ phase?: TokenHistoryPhase;
2492
+ /** Fraction of the retained processed prefix rebuilt, including a moving copy. */
2493
+ replayProgress?: number;
2494
+ }
2495
+ interface TokenHistoryState extends TokenHistorySnapshot {
2496
+ phase: TokenHistoryPhase;
2497
+ replayProgress: number;
2498
+ history: readonly HistoryToken[];
2499
+ kv: readonly HistoryToken[];
2500
+ pendingAccepted: readonly HistoryToken[];
2501
+ moving: {
2502
+ token: HistoryToken;
2503
+ position: number;
2504
+ progress: number;
2505
+ } | null;
2506
+ }
2507
+ /** Ordinary autoregressive decoding: at most one accepted token awaits processing.
2508
+ * Pure frame sampling never creates accepted or emitted tokens; speculative verification needs a different contract. */
2509
+ declare function tokenHistoryState(options: TokenHistoryOptions): TokenHistoryState;
2510
+ /** Check authored transitions without introducing mutable render-time history. */
2511
+ declare function assertTokenHistoryTransition(before: TokenHistoryState, after: TokenHistoryState): void;
2512
+ type TokenHistoryLane = 'prompt' | 'accepted' | 'processed' | 'kv' | 'emitted';
2513
+ interface TeachingTokenHistoryOptions extends TokenHistoryOptions, CanvasBounds {
2514
+ labelWidth?: number;
2515
+ fontSize?: number;
2516
+ gap?: number;
2517
+ focusPrefix?: string;
2518
+ colors?: Partial<Record<TokenHistoryLane | 'pending' | 'empty' | 'text' | 'fill', string>>;
2519
+ }
2520
+ /** Synchronized occurrence columns preserve identity while a copy moves from processed history into KV. */
2521
+ declare function createTeachingTokenHistory<Shape>(painter: CanvasPainter<Shape>): (options: TeachingTokenHistoryOptions) => TokenHistoryState;
2522
+
2523
+ type ByteDifferenceKind = 'equal' | 'replace' | 'insert' | 'delete';
2524
+ interface ByteDifferenceColumn {
2525
+ id: string;
2526
+ kind: ByteDifferenceKind;
2527
+ before: {
2528
+ offset: number;
2529
+ value: number;
2530
+ } | null;
2531
+ after: {
2532
+ offset: number;
2533
+ value: number;
2534
+ } | null;
2535
+ }
2536
+ interface ByteDifference {
2537
+ algorithm: 'common-prefix/suffix with positional middle';
2538
+ beforeLength: number;
2539
+ afterLength: number;
2540
+ commonPrefix: number;
2541
+ commonSuffix: number;
2542
+ equal: boolean;
2543
+ columns: ByteDifferenceColumn[];
2544
+ }
2545
+ /** A linear alignment of one changed region, not a minimum-edit diff. */
2546
+ declare function compareByteSequences(before: Uint8Array, after: Uint8Array): ByteDifference;
2547
+ /** Labels describe individual bytes, never a lossy Unicode decoding. */
2548
+ declare function escapedByte(value: number): string;
2549
+ interface ByteDifferenceStateOptions {
2550
+ before: Uint8Array;
2551
+ after: Uint8Array;
2552
+ scanProgress: number;
2553
+ revealVerdict?: boolean;
2554
+ }
2555
+ declare function byteDifferenceState(options: ByteDifferenceStateOptions): {
2556
+ comparison: ByteDifference;
2557
+ progress: number;
2558
+ scannedColumns: number;
2559
+ scanComplete: boolean;
2560
+ verdict: "equal" | "different" | null;
2561
+ };
2562
+ interface TeachingByteDifferenceOptions extends CanvasBounds, ByteDifferenceStateOptions {
2563
+ /** Window into the complete alignment; omitted byte columns are counted. */
2564
+ startColumn?: number;
2565
+ maxColumns?: number;
2566
+ /** At least 24 px, leaving readable labels inside the checked 4 px padding. */
2567
+ fontSize?: number;
2568
+ beforeLabel?: string;
2569
+ afterLabel?: string;
2570
+ fill?: string;
2571
+ stroke?: string;
2572
+ textColor?: string;
2573
+ mutedColor?: string;
2574
+ scanColor?: string;
2575
+ changeColor?: string;
2576
+ }
2577
+ declare function layoutByteDifference(options: TeachingByteDifferenceOptions): {
2578
+ bounds: {
2579
+ x: number;
2580
+ y: number;
2581
+ width: number;
2582
+ height: number;
2583
+ };
2584
+ cells: {
2585
+ column: ByteDifferenceColumn;
2586
+ alignmentIndex: number;
2587
+ beforeBounds: {
2588
+ x: number;
2589
+ y: number;
2590
+ width: number;
2591
+ height: number;
2592
+ };
2593
+ afterBounds: {
2594
+ x: number;
2595
+ y: number;
2596
+ width: number;
2597
+ height: number;
2598
+ };
2599
+ }[];
2600
+ gutter: number;
2601
+ headerHeight: number;
2602
+ footerHeight: number;
2603
+ rowHeight: number;
2604
+ omittedLeading: number;
2605
+ omittedTrailing: number;
2606
+ comparison: ByteDifference;
2607
+ progress: number;
2608
+ scannedColumns: number;
2609
+ scanComplete: boolean;
2610
+ verdict: "equal" | "different" | null;
2611
+ };
2612
+ /** Paint through the host's checked primitives; verdict visibility never follows scan progress implicitly. */
2613
+ declare function createTeachingByteDifference<Shape>(painter: CanvasPainter<Shape>): (options: TeachingByteDifferenceOptions) => {
2614
+ bounds: {
2615
+ x: number;
2616
+ y: number;
2617
+ width: number;
2618
+ height: number;
2619
+ };
2620
+ cells: {
2621
+ column: ByteDifferenceColumn;
2622
+ alignmentIndex: number;
2623
+ beforeBounds: {
2624
+ x: number;
2625
+ y: number;
2626
+ width: number;
2627
+ height: number;
2628
+ };
2629
+ afterBounds: {
2630
+ x: number;
2631
+ y: number;
2632
+ width: number;
2633
+ height: number;
2634
+ };
2635
+ }[];
2636
+ gutter: number;
2637
+ headerHeight: number;
2638
+ footerHeight: number;
2639
+ rowHeight: number;
2640
+ omittedLeading: number;
2641
+ omittedTrailing: number;
2642
+ comparison: ByteDifference;
2643
+ progress: number;
2644
+ scannedColumns: number;
2645
+ scanComplete: boolean;
2646
+ verdict: "equal" | "different" | null;
2647
+ };
2648
+
2649
+ interface SamplingCategory {
2650
+ id: string;
2651
+ label: string;
2652
+ mass: number;
2653
+ color?: string;
2654
+ focusTarget?: string;
2655
+ }
2656
+ interface SuppliedCategoricalDraw {
2657
+ id: string;
2658
+ uniform: number;
2659
+ }
2660
+ interface CategoricalSamplingOptions {
2661
+ categories: readonly SamplingCategory[];
2662
+ draws: readonly SuppliedCategoricalDraw[];
2663
+ /** probabilities must sum to one within 1e-12; weights are explicitly normalized. */
2664
+ normalization: 'probabilities' | 'weights';
2665
+ }
2666
+ interface CategoricalSamplingModel {
2667
+ inputTotal: number;
2668
+ normalization: CategoricalSamplingOptions['normalization'];
2669
+ categories: (SamplingCategory & {
2670
+ probability: number;
2671
+ lower: number;
2672
+ upper: number;
2673
+ count: number;
2674
+ empiricalProbability: number | null;
2675
+ })[];
2676
+ draws: (SuppliedCategoricalDraw & {
2677
+ categoryId: string;
2678
+ categoryIndex: number;
2679
+ })[];
2680
+ }
2681
+ /** Explicit inverse-CDF sampling: [lower, upper), zero-mass intervals never win, and u=1 is invalid. */
2682
+ declare function categoricalSampling(options: CategoricalSamplingOptions): CategoricalSamplingModel;
2683
+ interface TeachingCategoricalSamplingOptions extends CategoricalSamplingOptions, CanvasBounds {
2684
+ /** Number of retained, visible samples. Hidden draws never paint their category or result. */
2685
+ visibleDraws?: number;
2686
+ /** Motion of the next supplied draw: neutral approach, interval landing, then copying to its sample slot. */
2687
+ drawProgress?: number;
2688
+ /** Explicit reveal; allowed only after every supplied draw has retained. */
2689
+ showEmpirical?: boolean;
2690
+ fontSize?: number;
2691
+ columns?: number;
2692
+ color?: string;
2693
+ trackColor?: string;
2694
+ sampleFocusTarget?: string;
2695
+ formatProbability?: (value: number) => string;
2696
+ }
2697
+ /** Paint original probabilities, causal supplied draws, persistent sample IDs, and a separately revealed empirical distribution. */
2698
+ declare function createTeachingCategoricalSampling<Shape extends CanvasBounds>(painter: TeachingPainter<Shape>): (options: TeachingCategoricalSamplingOptions) => {
2699
+ model: CategoricalSamplingModel;
2700
+ sampleBounds: {
2701
+ x: number;
2702
+ y: number;
2703
+ width: number;
2704
+ height: number;
2705
+ }[];
2706
+ shapes: Shape[];
2707
+ point: (u: number) => number;
2708
+ visibleDraws: number;
2709
+ };
2710
+
2711
+ interface WeightedVectorTerm {
2712
+ id: string;
2713
+ label?: string;
2714
+ weight: number;
2715
+ values: readonly number[];
2716
+ color?: string;
2717
+ }
2718
+ interface WeightedVectorOptions {
2719
+ terms: readonly WeightedVectorTerm[];
2720
+ progress: number;
2721
+ initial?: readonly number[];
2722
+ }
2723
+ type WeightedVectorStatus = 'pending' | 'current' | 'completed';
2724
+ interface WeightedVectorTermState extends WeightedVectorTerm {
2725
+ label: string;
2726
+ values: number[];
2727
+ status: WeightedVectorStatus;
2728
+ progress: number;
2729
+ contribution: number[];
2730
+ applied: number[];
2731
+ start: number[];
2732
+ end: number[];
2733
+ currentEnd: number[];
2734
+ zero: boolean;
2735
+ }
2736
+ interface WeightedVectorState {
2737
+ progress: number;
2738
+ dimensions: number;
2739
+ initial: number[];
2740
+ terms: WeightedVectorTermState[];
2741
+ completedCount: number;
2742
+ current: WeightedVectorTermState | null;
2743
+ completedSum: number[];
2744
+ sum: number[];
2745
+ total: number[];
2746
+ }
2747
+ /** Equal progress intervals preserve every term, including zero contributions. No frame history is retained. */
2748
+ declare function weightedVectorState(options: WeightedVectorOptions): WeightedVectorState;
2749
+ interface TeachingVectorProjection {
2750
+ label: string;
2751
+ point(values: readonly number[]): readonly [number, number];
2752
+ }
2753
+ interface TeachingVectorAccumulationOptions extends WeightedVectorOptions {
2754
+ plot: TeachingPlot;
2755
+ /** Required to display more than two coordinates. The declaration is also painted above the term ledger. */
2756
+ projection?: TeachingVectorProjection;
2757
+ ledger: CanvasBounds;
2758
+ fontSize?: number;
2759
+ color?: string;
2760
+ restColor?: string;
2761
+ completedOpacity?: number;
2762
+ width?: number;
2763
+ endpointRadius?: number;
2764
+ revealTotal?: boolean;
2765
+ totalLabel?: string;
2766
+ totalTarget?: string;
2767
+ format?: (value: number) => string;
2768
+ }
2769
+ interface TeachingVectorSegment {
2770
+ id: string;
2771
+ status: 'current' | 'completed';
2772
+ from: CanvasPoint;
2773
+ to: CanvasPoint;
2774
+ zero: boolean;
2775
+ }
2776
+ /** Draw only earned contribution geometry, using the host's checked painter for every mark. */
2777
+ declare function createTeachingVectorAccumulation<Shape extends CanvasBounds>(painter: TeachingPainter<Shape>): (options: TeachingVectorAccumulationOptions) => {
2778
+ state: WeightedVectorState;
2779
+ segments: TeachingVectorSegment[];
2780
+ endpoint: CanvasPoint;
2781
+ };
2782
+
2478
2783
  interface AllocationPart {
2479
2784
  id: string;
2480
2785
  label: string;
@@ -2586,6 +2891,55 @@ interface TeachingGridOptions extends CellGridOptions {
2586
2891
  /** Shared cell geometry for dense diagrams, without creating one panel per cell. */
2587
2892
  declare function layoutCellGrid(options: CellGridOptions): CellGridLayout;
2588
2893
 
2894
+ interface TeachingRoutedEndpoint<Shape extends CanvasBounds = CanvasBounds> {
2895
+ id: string;
2896
+ shape: Shape;
2897
+ opacity: number;
2898
+ side?: GraphPortSide;
2899
+ }
2900
+ interface TeachingRouteObstacle {
2901
+ id: string;
2902
+ bounds: CanvasBounds;
2903
+ }
2904
+ interface TeachingRoutedTransferOptions<Shape extends CanvasBounds = CanvasBounds> {
2905
+ id: string;
2906
+ source: TeachingRoutedEndpoint<Shape>;
2907
+ target: TeachingRoutedEndpoint<Shape>;
2908
+ /** The complete stroked path and marker stay inside this rectangle. */
2909
+ corridor: CanvasBounds;
2910
+ obstacles: readonly TeachingRouteObstacle[];
2911
+ color?: string;
2912
+ width?: number;
2913
+ margin?: number;
2914
+ opacity?: number;
2915
+ progress?: number;
2916
+ focusTarget?: string;
2917
+ marker?: {
2918
+ radius?: number;
2919
+ fill?: string;
2920
+ stroke?: string;
2921
+ strokeWidth?: number;
2922
+ };
2923
+ }
2924
+ interface TeachingRoutedTransfer<Shape extends CanvasBounds = CanvasBounds> {
2925
+ id: string;
2926
+ source: TeachingRoutedEndpoint<Shape>;
2927
+ target: TeachingRoutedEndpoint<Shape>;
2928
+ points: readonly Readonly<CanvasPoint>[];
2929
+ length: number;
2930
+ clearance: number;
2931
+ positionAt(progress: number): CanvasPoint;
2932
+ }
2933
+ /**
2934
+ * Plan one deterministic orthogonal transfer using the existing graph router.
2935
+ * Whole segments are checked against expanded rectangles, including endpoint
2936
+ * bounds. Replan when an endpoint or obstacle moves. No rounded corner or
2937
+ * unchecked straight-line fallback can invalidate the clearance contract.
2938
+ */
2939
+ declare function planTeachingRoutedTransfer<Shape extends CanvasBounds>(options: TeachingRoutedTransferOptions<Shape>): TeachingRoutedTransfer<Shape>;
2940
+ /** Paint through the host's checked path, target, opacity and marker primitives. */
2941
+ declare function createTeachingRoutedTransfer<Shape extends CanvasBounds>(painter: TeachingPainter<Shape>): (options: TeachingRoutedTransferOptions<Shape>) => TeachingRoutedTransfer<Shape> | null;
2942
+
2589
2943
  interface TeachingTransferEndpoint {
2590
2944
  shape: CanvasBounds;
2591
2945
  /** Use the same local opacity supplied when painting this endpoint. */
@@ -2800,6 +3154,7 @@ declare function createTeachingCanvas<Shape extends CanvasBounds>(painter: Teach
2800
3154
  routes: TeachingRoute[];
2801
3155
  };
2802
3156
  transfer: (options: TeachingTransferOptions) => TeachingRoute | null;
3157
+ routedTransfer: (options: TeachingRoutedTransferOptions<Shape>) => TeachingRoutedTransfer<Shape> | null;
2803
3158
  grid: (options: TeachingGridOptions) => CellGridLayout & {
2804
3159
  shape: Shape;
2805
3160
  };
@@ -2808,6 +3163,59 @@ declare function createTeachingCanvas<Shape extends CanvasBounds>(painter: Teach
2808
3163
  shapes: (Shape | null)[];
2809
3164
  shape: Shape;
2810
3165
  };
3166
+ vectorAccumulation: (options: TeachingVectorAccumulationOptions) => {
3167
+ state: WeightedVectorState;
3168
+ segments: TeachingVectorSegment[];
3169
+ endpoint: CanvasPoint;
3170
+ };
3171
+ categoricalSampling: (options: TeachingCategoricalSamplingOptions) => {
3172
+ model: CategoricalSamplingModel;
3173
+ sampleBounds: {
3174
+ x: number;
3175
+ y: number;
3176
+ width: number;
3177
+ height: number;
3178
+ }[];
3179
+ shapes: Shape[];
3180
+ point: (u: number) => number;
3181
+ visibleDraws: number;
3182
+ };
3183
+ byteDifference: (options: TeachingByteDifferenceOptions) => {
3184
+ bounds: {
3185
+ x: number;
3186
+ y: number;
3187
+ width: number;
3188
+ height: number;
3189
+ };
3190
+ cells: {
3191
+ column: ByteDifferenceColumn;
3192
+ alignmentIndex: number;
3193
+ beforeBounds: {
3194
+ x: number;
3195
+ y: number;
3196
+ width: number;
3197
+ height: number;
3198
+ };
3199
+ afterBounds: {
3200
+ x: number;
3201
+ y: number;
3202
+ width: number;
3203
+ height: number;
3204
+ };
3205
+ }[];
3206
+ gutter: number;
3207
+ headerHeight: number;
3208
+ footerHeight: number;
3209
+ rowHeight: number;
3210
+ omittedLeading: number;
3211
+ omittedTrailing: number;
3212
+ comparison: ByteDifference;
3213
+ progress: number;
3214
+ scannedColumns: number;
3215
+ scanComplete: boolean;
3216
+ verdict: "equal" | "different" | null;
3217
+ };
3218
+ tokenHistory: (options: TeachingTokenHistoryOptions) => TokenHistoryState;
2811
3219
  };
2812
3220
 
2813
3221
  interface CuePosition {
@@ -3098,5 +3506,5 @@ interface CheckFrameReport {
3098
3506
  */
3099
3507
  declare function checkFrame(input: CheckFrameInput, options?: CheckOptions): Promise<CheckFrameReport>;
3100
3508
 
3101
- export { Arrow, ArrowMarkerDef, AttentionMatrix, AxisPlot, Badge, BadgePill, BarChart, Board, Box, CANVAS_ITEM_COMPONENT, CHECK_DIAGNOSTIC_CODES, CalloutCard, Canvas, CanvasItem, CanvasOverflowError, Card, ChartFrame, CodeBlock, ColorName, Column, Comparison, Connector, DashedLine, DataTable, DataflowDiagram, DefinedAnimation, Density, DeploymentDiagram, DetailList, DiagramLegend, DonutChart, DotPoint, ELEMENT_SYMBOLS, EquationCard, FactRows, Flow, FlowArrow, FreeBodyDiagram, GeometryDiagram, GradientChip, GraphDiagram, Grid, Heatmap, Icon, InlineBar, IntervalPlot, KeyValueList, LayeredNetwork, Legend, LineChart, MathText, Matrix, MetricCard, MetricStrip, MiniBarChart, MoleculeDiagram, NumberLine, Panel, ParetoBarChart, ParetoChart, PieChart, Pipeline, PixelGrid, ProgressList, ProgressRow, QuadrantChart, ReactionEnergyDiagram, ReactionEquation, RenderBackground, Row, ScatterPlot, Scene, SceneFrameRequest, SceneRequest, SequenceDiagram, SmallMultiples, Sparkline, Stack, StackedBar, StatusDot, StatusList, StatusRow, StepCard, SvgFrame, SvgMathText, SvgPoint, TagList, TextLabel, ThemeColors, ThemeMode, Tile, TileGrid, TiledMatrix, Timeline, TitleBar, ToneName, ToneStrip, TransformerTopology, TreeDiagram, ValuePill, VectorArrow, VectorSegment, WatermarkInput, WaveDiagram, WindowFrame, arcSwap, cameraSvgTransform, checkFrame, createCanvasComponents, createCueTrack, createFocusDirector, createPlotArea, createPolylineMorph, createTeachingCanvas, createTeachingFocus, createTeachingValueChange, cropPixels, cropRgbImage, cropRgbRaster, crossCorrelate2d, decodeRgbPng, defineDiagramIcon, defineIconRegistry, defineIllustration, detectBackgroundColor, detectContentBounds, detectLayoutOverflow, detectOverflow, dotProduct, encodeRgbPng, entropy, estimateTextWidth, flattenRgbImage, formatMathText, formatTensorShape, gaussian, gaussianBlurRgb, gaussianKernel, geometryBounds, getFonts, importD2Graph, importMermaidGraph, interpolateCamera, layoutAllocation, layoutCellGrid, layoutTokenRow, lerpArray, loadAdditionalAsset, mapNumberLine, mergeFocusRegions, morphPolyline, multiplyMatrices, normalizeVector, pointAlongPath, projectWorldPoint, reactionBalance, renderAnimatedGif, renderAnimatedGifWithOutput, renderAnimationGif, renderAnimationGifWithOutput, renderMathSvg, renderSceneFrame, renderSceneVideo, renderToBuffer, renderToPng, renderToPngWithOutput, renderToSvg, rgbChannel, sampleFunction, sampleGaussian, sampleWave, scaledDotProductAttention, scopeDensity, seededRandom, smoothstep, stableSoftmax, statusColor, sumForces, tracePolyline, transposeMatrix, typography, valueChangeState, waveValue };
3102
- export type { AllocationLayout, AllocationLayoutOptions, AllocationPart, AnimatedScene, AnimationOptions, AnimationOutput, AnimationOverflowContext, ArcSwapOptions, AttentionMatrixProps, AttentionOptions, AttentionResult, AxisPlotPath, AxisPlotPoint, AxisPlotVector, BarChartDatum, BoardProps, Camera2D, CameraMotionOptions, CameraViewport, CanvasBounds, CanvasCardOptions, CanvasCardStyle, CanvasItemProps, CanvasMatrixOptions, CanvasPainter, CanvasPanelOptions, CanvasPanelStyle, CanvasParticleOptions, CanvasPoint, CanvasScopeOptions, CanvasTokenRowOptions, CellGridLayout, CellGridOptions, ChartLegendItem, ChartMargins, ChartValueFormat, CheckAutoSize, CheckAutoSizeAxes, CheckDiagnostic, CheckDiagnosticCode, CheckDiagnosticCounts, CheckDiagnosticLocation, CheckFailurePolicy, CheckFrameInput, CheckFrameReport, CheckOptions, CheckThemeReport, CodeLineSpec, ComparisonSideSpec, CropMode, CropRegion, CrossCorrelateOptions, CuePosition, CueSnapshot, CueTrackOptions, DataflowBoundary, DataflowDiagramProps, DataflowEdge, DataflowEdgeMode, DataflowNode, DataflowNodeKind, DataflowSchema, DataflowSchemaDefinition, DataflowSchemaField, DeploymentBoundary, DeploymentBoundaryKind, DeploymentConnection, DeploymentConnectionKind, DeploymentDiagramProps, DeploymentNode, DeploymentNodeKind, DeploymentPort, DeploymentPortDirection, DeploymentPortInput, DiagnosticSeverity, DiagramIconDefinition, DiagramIconRenderProps, DiagramLegendItem, DiagramStatus, DiscreteCue, DonutChartSegment, ElementComposition, ElementSymbol, FactRow, FlowStageSpec, ForceResultant, ForceVector, FreeBodyDiagramProps, GaussianBlurRgbOptions, GeometryAngle, GeometryBounds, GeometryDiagramProps, GeometryPoint, GeometrySegment, GraphDiagramAnnotation, GraphDiagramEdge, GraphDiagramEdgeArrow, GraphDiagramEdgeKind, GraphDiagramEdgeStyle, GraphDiagramGroup, GraphDiagramNode, GraphDiagramPort, GraphDiagramProps, GraphImportDiagnostic, GraphImportDiagnosticCode, GraphImportDirection, GraphImportGraph, GraphImportResult, GraphImportSource, GraphPortSide, GraphRouting, GridCell, IconName, IconProps, IllustrationBuilder, IntervalDatum, KernelPadding, KeyValueRow, LayeredNetworkLayer, LegendItem, LineChartSeries, MiniBarDatum, MoleculeAtom, MoleculeAtomId, MoleculeBond, MoleculeBondOrder, MoleculeDiagramProps, MotionEasing, MotionPoint, NumberLineInterval, NumberLineMarker, NumberLineProps, NumberLineTick, NumericImage, NumericMatrix, OverflowResult, ParetoBarChartProps, ParetoChartProps, ParetoObjective, ParetoXScale, PathMorphOptions, PieChartProps, PipelineStage, PixelGridProps, PixelRegion, PlotArea, ProgressRowSpec, QuadrantChartProps, QuadrantRegion, ReactionBalanceResult, ReactionEnergyDiagramProps, ReactionEquationProps, ReactionState, ReactionTerm, RenderMathSvgOptions, RenderMathSvgResult, RenderOptions, RenderOutput, RenderSceneFrameOptions, RenderSceneVideoOptions, RgbChannel, RgbPixel, RgbRaster, SatoriNode, ScatterPoint, SceneRenderOutput, SequenceActivation, SequenceDiagramProps, SequenceFragment, SequenceFragmentBranch, SequenceFragmentKind, SequenceItem, SequenceMessage, SequenceMessageKind, SequenceNote, SequenceParticipant, SequenceParticipantKind, SmallMultipleItem, StackedBarSegment, StatusKind, StatusRowSpec, StripMetric, TeachingAllocationOptions, TeachingAxesOptions, TeachingBarsOptions, TeachingBarsResult, TeachingChangeCueOptions, TeachingConnectionOptions, TeachingCurveOptions, TeachingFlowEdge, TeachingFlowGraphOptions, TeachingFlowNode, TeachingFocusCue, TeachingFocusPainter, TeachingGridHighlight, TeachingGridOptions, TeachingPainter, TeachingPathOptions, TeachingPlot, TeachingRoute, TeachingScatterOptions, TeachingScatterPoint, TeachingTimeInterval, TeachingTimeLane, TeachingTimelineInterval, TeachingTimelineOptions, TeachingTimelineResult, TeachingTransferEndpoint, TeachingTransferOptions, TeachingValueChangeOptions, TensorDimension, TensorLayout, TensorShape, TensorShapeObject, TileSpec, TiledMatrixRegion, TimelineEventSpec, TokenRowItem, TokenRowLayoutOptions, TransformerBlock, TransformerBlockKind, TransformerRoute, TransformerRouteKind, TransformerTopologyProps, TransitionType, TreeNodeSpec, ValueChangeOptions, ValueChangeState, Wave, WaveDiagramProps, WaveSample };
3509
+ export { Arrow, ArrowMarkerDef, AttentionMatrix, AxisPlot, Badge, BadgePill, BarChart, Board, Box, CANVAS_ITEM_COMPONENT, CHECK_DIAGNOSTIC_CODES, CalloutCard, Canvas, CanvasItem, CanvasOverflowError, Card, ChartFrame, CodeBlock, ColorName, Column, Comparison, Connector, DashedLine, DataTable, DataflowDiagram, DefinedAnimation, Density, DeploymentDiagram, DetailList, DiagramLegend, DonutChart, DotPoint, ELEMENT_SYMBOLS, EquationCard, FactRows, Flow, FlowArrow, FreeBodyDiagram, GeometryDiagram, GradientChip, GraphDiagram, Grid, Heatmap, Icon, InlineBar, IntervalPlot, KeyValueList, LayeredNetwork, Legend, LineChart, MathText, Matrix, MetricCard, MetricStrip, MiniBarChart, MoleculeDiagram, NumberLine, Panel, ParetoBarChart, ParetoChart, PieChart, Pipeline, PixelGrid, ProgressList, ProgressRow, QuadrantChart, ReactionEnergyDiagram, ReactionEquation, RenderBackground, Row, ScatterPlot, Scene, SceneFrameRequest, SceneRequest, SequenceDiagram, SmallMultiples, Sparkline, Stack, StackedBar, StatusDot, StatusList, StatusRow, StepCard, SvgFrame, SvgMathText, SvgPoint, TagList, TextLabel, ThemeColors, ThemeMode, Tile, TileGrid, TiledMatrix, Timeline, TitleBar, ToneName, ToneStrip, TransformerTopology, TreeDiagram, ValuePill, VectorArrow, VectorSegment, WatermarkInput, WaveDiagram, WindowFrame, arcSwap, assertTokenHistoryTransition, byteDifferenceState, cameraSvgTransform, categoricalSampling, checkFrame, compareByteSequences, createCanvasComponents, createCueTrack, createFocusDirector, createPlotArea, createPolylineMorph, createTeachingByteDifference, createTeachingCanvas, createTeachingCategoricalSampling, createTeachingFocus, createTeachingRoutedTransfer, createTeachingTokenHistory, createTeachingValueChange, createTeachingVectorAccumulation, cropPixels, cropRgbImage, cropRgbRaster, crossCorrelate2d, decodeRgbPng, defineDiagramIcon, defineIconRegistry, defineIllustration, detectBackgroundColor, detectContentBounds, detectLayoutOverflow, detectOverflow, dotProduct, encodeRgbPng, entropy, escapedByte, estimateTextWidth, flattenRgbImage, formatMathText, formatTensorShape, gaussian, gaussianBlurRgb, gaussianKernel, geometryBounds, getFonts, importD2Graph, importMermaidGraph, interpolateCamera, layoutAllocation, layoutByteDifference, layoutCellGrid, layoutTokenRow, lerpArray, loadAdditionalAsset, mapNumberLine, mergeFocusRegions, morphPolyline, multiplyMatrices, normalizeVector, planTeachingRoutedTransfer, pointAlongPath, projectWorldPoint, reactionBalance, renderAnimatedGif, renderAnimatedGifWithOutput, renderAnimationGif, renderAnimationGifWithOutput, renderMathSvg, renderSceneFrame, renderSceneVideo, renderToBuffer, renderToPng, renderToPngWithOutput, renderToSvg, rgbChannel, sampleFunction, sampleGaussian, sampleWave, scaledDotProductAttention, scopeDensity, seededRandom, smoothstep, stableSoftmax, statusColor, sumForces, tokenHistoryState, tracePolyline, transposeMatrix, typography, valueChangeState, waveValue, weightedVectorState };
3510
+ export type { AllocationLayout, AllocationLayoutOptions, AllocationPart, AnimatedScene, AnimationOptions, AnimationOutput, AnimationOverflowContext, ArcSwapOptions, AttentionMatrixProps, AttentionOptions, AttentionResult, AxisPlotPath, AxisPlotPoint, AxisPlotVector, BarChartDatum, BoardProps, ByteDifference, ByteDifferenceColumn, ByteDifferenceKind, ByteDifferenceStateOptions, Camera2D, CameraMotionOptions, CameraViewport, CanvasBounds, CanvasCardOptions, CanvasCardStyle, CanvasItemProps, CanvasMatrixOptions, CanvasPainter, CanvasPanelOptions, CanvasPanelStyle, CanvasParticleOptions, CanvasPoint, CanvasScopeOptions, CanvasTokenRowOptions, CategoricalSamplingModel, CategoricalSamplingOptions, CellGridLayout, CellGridOptions, ChartLegendItem, ChartMargins, ChartValueFormat, CheckAutoSize, CheckAutoSizeAxes, CheckDiagnostic, CheckDiagnosticCode, CheckDiagnosticCounts, CheckDiagnosticLocation, CheckFailurePolicy, CheckFrameInput, CheckFrameReport, CheckOptions, CheckThemeReport, CodeLineSpec, ComparisonSideSpec, CropMode, CropRegion, CrossCorrelateOptions, CuePosition, CueSnapshot, CueTrackOptions, DataflowBoundary, DataflowDiagramProps, DataflowEdge, DataflowEdgeMode, DataflowNode, DataflowNodeKind, DataflowSchema, DataflowSchemaDefinition, DataflowSchemaField, DeploymentBoundary, DeploymentBoundaryKind, DeploymentConnection, DeploymentConnectionKind, DeploymentDiagramProps, DeploymentNode, DeploymentNodeKind, DeploymentPort, DeploymentPortDirection, DeploymentPortInput, DiagnosticSeverity, DiagramIconDefinition, DiagramIconRenderProps, DiagramLegendItem, DiagramStatus, DiscreteCue, DonutChartSegment, ElementComposition, ElementSymbol, FactRow, FlowStageSpec, ForceResultant, ForceVector, FreeBodyDiagramProps, GaussianBlurRgbOptions, GeometryAngle, GeometryBounds, GeometryDiagramProps, GeometryPoint, GeometrySegment, GraphDiagramAnnotation, GraphDiagramEdge, GraphDiagramEdgeArrow, GraphDiagramEdgeKind, GraphDiagramEdgeStyle, GraphDiagramGroup, GraphDiagramNode, GraphDiagramPort, GraphDiagramProps, GraphImportDiagnostic, GraphImportDiagnosticCode, GraphImportDirection, GraphImportGraph, GraphImportResult, GraphImportSource, GraphPortSide, GraphRouting, GridCell, HistoryToken, IconName, IconProps, IllustrationBuilder, IntervalDatum, KernelPadding, KeyValueRow, LayeredNetworkLayer, LegendItem, LineChartSeries, MiniBarDatum, MoleculeAtom, MoleculeAtomId, MoleculeBond, MoleculeBondOrder, MoleculeDiagramProps, MotionEasing, MotionPoint, NumberLineInterval, NumberLineMarker, NumberLineProps, NumberLineTick, NumericImage, NumericMatrix, OverflowResult, ParetoBarChartProps, ParetoChartProps, ParetoObjective, ParetoXScale, PathMorphOptions, PieChartProps, PipelineStage, PixelGridProps, PixelRegion, PlotArea, ProgressRowSpec, QuadrantChartProps, QuadrantRegion, ReactionBalanceResult, ReactionEnergyDiagramProps, ReactionEquationProps, ReactionState, ReactionTerm, RenderMathSvgOptions, RenderMathSvgResult, RenderOptions, RenderOutput, RenderSceneFrameOptions, RenderSceneVideoOptions, RgbChannel, RgbPixel, RgbRaster, SamplingCategory, SatoriNode, ScatterPoint, SceneRenderOutput, SequenceActivation, SequenceDiagramProps, SequenceFragment, SequenceFragmentBranch, SequenceFragmentKind, SequenceItem, SequenceMessage, SequenceMessageKind, SequenceNote, SequenceParticipant, SequenceParticipantKind, SmallMultipleItem, StackedBarSegment, StatusKind, StatusRowSpec, StripMetric, SuppliedCategoricalDraw, TeachingAllocationOptions, TeachingAxesOptions, TeachingBarsOptions, TeachingBarsResult, TeachingByteDifferenceOptions, TeachingCategoricalSamplingOptions, TeachingChangeCueOptions, TeachingConnectionOptions, TeachingCurveOptions, TeachingFlowEdge, TeachingFlowGraphOptions, TeachingFlowNode, TeachingFocusCue, TeachingFocusPainter, TeachingGridHighlight, TeachingGridOptions, TeachingPainter, TeachingPathOptions, TeachingPlot, TeachingRoute, TeachingRouteObstacle, TeachingRoutedEndpoint, TeachingRoutedTransfer, TeachingRoutedTransferOptions, TeachingScatterOptions, TeachingScatterPoint, TeachingTimeInterval, TeachingTimeLane, TeachingTimelineInterval, TeachingTimelineOptions, TeachingTimelineResult, TeachingTokenHistoryOptions, TeachingTransferEndpoint, TeachingTransferOptions, TeachingValueChangeOptions, TeachingVectorAccumulationOptions, TeachingVectorProjection, TeachingVectorSegment, TensorDimension, TensorLayout, TensorShape, TensorShapeObject, TileSpec, TiledMatrixRegion, TimelineEventSpec, TokenHistoryLane, TokenHistoryOptions, TokenHistoryPhase, TokenHistorySnapshot, TokenHistoryState, TokenRowItem, TokenRowLayoutOptions, TransformerBlock, TransformerBlockKind, TransformerRoute, TransformerRouteKind, TransformerTopologyProps, TransitionType, TreeNodeSpec, ValueChangeOptions, ValueChangeState, Wave, WaveDiagramProps, WaveSample, WeightedVectorOptions, WeightedVectorState, WeightedVectorStatus, WeightedVectorTerm, WeightedVectorTermState };