@nakafa/aksara-contracts 8.2.0 → 8.4.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.
Files changed (79) hide show
  1. package/dist/math/boundary.d.ts +9 -0
  2. package/dist/math/boundary.js +81 -0
  3. package/dist/math/curve.d.ts +1 -0
  4. package/dist/math/curve.js +4 -2
  5. package/dist/math/formula/affine.d.ts +22 -0
  6. package/dist/math/formula/affine.js +79 -0
  7. package/dist/math/formula/contour.js +27 -12
  8. package/dist/math/object.d.ts +12 -0
  9. package/dist/math/object.js +11 -0
  10. package/dist/math/plane.d.ts +10 -0
  11. package/dist/math/plane.js +7 -1
  12. package/dist/math/space.d.ts +8 -0
  13. package/dist/math/space.js +5 -1
  14. package/dist/math/visual.d.ts +239 -212
  15. package/dist/visual/base/math.d.ts +78 -0
  16. package/dist/visual/base/math.js +31 -3
  17. package/dist/visual/base/media.d.ts +67 -0
  18. package/dist/visual/biology/bacteria.d.ts +268 -0
  19. package/dist/visual/biology/cell.d.ts +201 -0
  20. package/dist/visual/biology/climate.d.ts +201 -0
  21. package/dist/visual/biology/ecology.d.ts +268 -0
  22. package/dist/visual/biology/physiology.d.ts +201 -0
  23. package/dist/visual/biology/plant.d.ts +335 -0
  24. package/dist/visual/card.d.ts +79 -1
  25. package/dist/visual/card.js +18 -2
  26. package/dist/visual/catalog.d.ts +14164 -2
  27. package/dist/visual/catalog.js +4 -0
  28. package/dist/visual/chemistry/atom.d.ts +201 -0
  29. package/dist/visual/chemistry/balance.d.ts +335 -0
  30. package/dist/visual/chemistry/bonding.d.ts +335 -0
  31. package/dist/visual/chemistry/discovery.d.ts +469 -0
  32. package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
  33. package/dist/visual/chemistry/electron.d.ts +134 -0
  34. package/dist/visual/chemistry/laws.d.ts +268 -0
  35. package/dist/visual/chemistry/particles.d.ts +335 -0
  36. package/dist/visual/chemistry/periodic.d.ts +134 -0
  37. package/dist/visual/chemistry/rate.d.ts +67 -0
  38. package/dist/visual/chemistry/reaction.d.ts +201 -0
  39. package/dist/visual/chemistry/titration.d.ts +67 -0
  40. package/dist/visual/length.d.ts +79 -0
  41. package/dist/visual/length.js +37 -0
  42. package/dist/visual/mathematics/chance.d.ts +258 -0
  43. package/dist/visual/mathematics/chance.js +117 -0
  44. package/dist/visual/mathematics/chart.d.ts +67 -0
  45. package/dist/visual/mathematics/charts.d.ts +335 -0
  46. package/dist/visual/mathematics/function.d.ts +201 -0
  47. package/dist/visual/mathematics/numeral.d.ts +170 -0
  48. package/dist/visual/mathematics/numeral.js +85 -0
  49. package/dist/visual/physics/braking.d.ts +268 -0
  50. package/dist/visual/physics/circuit.d.ts +268 -0
  51. package/dist/visual/physics/circular.d.ts +134 -0
  52. package/dist/visual/physics/dynamics.d.ts +469 -0
  53. package/dist/visual/physics/efficiency.d.ts +402 -0
  54. package/dist/visual/physics/electronics.d.ts +201 -0
  55. package/dist/visual/physics/falling.d.ts +268 -0
  56. package/dist/visual/physics/field.d.ts +201 -0
  57. package/dist/visual/physics/fluid.d.ts +268 -0
  58. package/dist/visual/physics/force.d.ts +335 -0
  59. package/dist/visual/physics/gravity.d.ts +134 -0
  60. package/dist/visual/physics/heat.d.ts +201 -0
  61. package/dist/visual/physics/instrument.d.ts +469 -0
  62. package/dist/visual/physics/light.d.ts +268 -0
  63. package/dist/visual/physics/measurement.d.ts +268 -0
  64. package/dist/visual/physics/motion.d.ts +402 -0
  65. package/dist/visual/physics/nuclear.d.ts +201 -0
  66. package/dist/visual/physics/parabolic.d.ts +67 -0
  67. package/dist/visual/physics/position.d.ts +402 -0
  68. package/dist/visual/physics/power.d.ts +536 -0
  69. package/dist/visual/physics/precision.d.ts +469 -0
  70. package/dist/visual/physics/product.d.ts +268 -0
  71. package/dist/visual/physics/reading.d.ts +201 -0
  72. package/dist/visual/physics/record.d.ts +134 -0
  73. package/dist/visual/physics/relative.d.ts +201 -0
  74. package/dist/visual/physics/solar.d.ts +402 -0
  75. package/dist/visual/physics/vector.d.ts +335 -0
  76. package/dist/visual/physics/velocity.d.ts +469 -0
  77. package/dist/visual/physics/wave.d.ts +268 -0
  78. package/dist/visual/politics.d.ts +402 -0
  79. package/package.json +1 -1
@@ -27,6 +27,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
27
27
  readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
28
28
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
29
29
  readonly id: Schema.String;
30
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
30
31
  readonly domain: Schema.optionalKey<Schema.Struct<{
31
32
  readonly max: Schema.Finite;
32
33
  readonly min: Schema.Finite;
@@ -108,6 +109,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
108
109
  }>, Schema.Struct<{
109
110
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
110
111
  readonly id: Schema.String;
112
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
111
113
  readonly kind: Schema.Literal<"line">;
112
114
  readonly through: Schema.Tuple<readonly [Schema.Struct<{
113
115
  readonly x: Schema.Finite;
@@ -144,6 +146,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
144
146
  }>, Schema.Struct<{
145
147
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
146
148
  readonly id: Schema.String;
149
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
147
150
  readonly kind: Schema.Literal<"polyline">;
148
151
  readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
149
152
  readonly x: Schema.Finite;
@@ -172,6 +175,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
172
175
  }>, Schema.Struct<{
173
176
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
174
177
  readonly id: Schema.String;
178
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
175
179
  readonly from: Schema.Struct<{
176
180
  readonly x: Schema.Finite;
177
181
  readonly y: Schema.Finite;
@@ -184,6 +188,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
184
188
  }>, Schema.Struct<{
185
189
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
186
190
  readonly id: Schema.String;
191
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
187
192
  readonly from: Schema.Struct<{
188
193
  readonly x: Schema.Finite;
189
194
  readonly y: Schema.Finite;
@@ -369,6 +374,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
369
374
  }>, Schema.Struct<{
370
375
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
371
376
  readonly id: Schema.String;
377
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
372
378
  readonly kind: Schema.Literal<"line">;
373
379
  readonly through: Schema.Tuple<readonly [Schema.Struct<{
374
380
  readonly x: Schema.Finite;
@@ -412,6 +418,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
412
418
  }>, Schema.Struct<{
413
419
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
414
420
  readonly id: Schema.String;
421
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
415
422
  readonly kind: Schema.Literal<"polyline">;
416
423
  readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
417
424
  readonly x: Schema.Finite;
@@ -429,6 +436,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
429
436
  }>, Schema.Struct<{
430
437
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
431
438
  readonly id: Schema.String;
439
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
432
440
  readonly from: Schema.Struct<{
433
441
  readonly x: Schema.Finite;
434
442
  readonly y: Schema.Finite;
@@ -443,6 +451,7 @@ export declare const MathVisualSchema: Schema.Union<readonly [Schema.Struct<{
443
451
  }>, Schema.Struct<{
444
452
  readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
445
453
  readonly id: Schema.String;
454
+ readonly stroke: Schema.optionalKey<Schema.Literals<readonly ["dashed"]>>;
446
455
  readonly from: Schema.Struct<{
447
456
  readonly x: Schema.Finite;
448
457
  readonly y: Schema.Finite;
@@ -630,54 +639,92 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
630
639
  } | {
631
640
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
632
641
  readonly id: string;
633
- readonly kind: "line";
634
- readonly through: readonly [{
642
+ readonly from: {
635
643
  readonly x: number;
636
644
  readonly y: number;
637
645
  readonly z: number;
638
- }, {
646
+ };
647
+ readonly kind: "vector";
648
+ readonly to: {
639
649
  readonly x: number;
640
650
  readonly y: number;
641
651
  readonly z: number;
642
- }];
652
+ };
643
653
  } | {
644
654
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
645
655
  readonly id: string;
646
- readonly from: {
656
+ readonly kind: "polygon";
657
+ readonly vertices: readonly [{
647
658
  readonly x: number;
648
659
  readonly y: number;
649
660
  readonly z: number;
650
- };
651
- readonly kind: "ray";
652
- readonly through: {
661
+ }, {
653
662
  readonly x: number;
654
663
  readonly y: number;
655
664
  readonly z: number;
656
- };
665
+ }, {
666
+ readonly x: number;
667
+ readonly y: number;
668
+ readonly z: number;
669
+ }, ...{
670
+ readonly x: number;
671
+ readonly y: number;
672
+ readonly z: number;
673
+ }[]];
657
674
  } | {
658
675
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
659
676
  readonly id: string;
660
- readonly from: {
677
+ readonly center: {
661
678
  readonly x: number;
662
679
  readonly y: number;
663
680
  readonly z: number;
664
681
  };
665
- readonly kind: "segment";
666
- readonly to: {
682
+ readonly kind: "cuboid";
683
+ readonly size: {
684
+ readonly height: number;
685
+ readonly length: number;
686
+ readonly width: number;
687
+ };
688
+ } | {
689
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
690
+ readonly id: string;
691
+ readonly domain?: {
692
+ readonly x: {
693
+ readonly max: number;
694
+ readonly min: number;
695
+ };
696
+ readonly y: {
697
+ readonly max: number;
698
+ readonly min: number;
699
+ };
700
+ };
701
+ readonly formula: string;
702
+ readonly kind: "function";
703
+ } | {
704
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
705
+ readonly id: string;
706
+ readonly stroke?: "dashed";
707
+ readonly kind: "line";
708
+ readonly through: readonly [{
667
709
  readonly x: number;
668
710
  readonly y: number;
669
711
  readonly z: number;
670
- };
712
+ }, {
713
+ readonly x: number;
714
+ readonly y: number;
715
+ readonly z: number;
716
+ }];
671
717
  } | {
672
718
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
673
719
  readonly id: string;
720
+ readonly stroke?: "dashed";
674
721
  readonly from: {
675
722
  readonly x: number;
676
723
  readonly y: number;
677
724
  readonly z: number;
678
725
  };
679
- readonly kind: "vector";
680
- readonly to: {
726
+ readonly kind: "ray";
727
+ readonly through: {
681
728
  readonly x: number;
682
729
  readonly y: number;
683
730
  readonly z: number;
@@ -685,24 +732,23 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
685
732
  } | {
686
733
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
687
734
  readonly id: string;
688
- readonly kind: "polyline";
689
- readonly vertices: readonly [{
690
- readonly x: number;
691
- readonly y: number;
692
- readonly z: number;
693
- }, {
735
+ readonly stroke?: "dashed";
736
+ readonly from: {
694
737
  readonly x: number;
695
738
  readonly y: number;
696
739
  readonly z: number;
697
- }, ...{
740
+ };
741
+ readonly kind: "segment";
742
+ readonly to: {
698
743
  readonly x: number;
699
744
  readonly y: number;
700
745
  readonly z: number;
701
- }[]];
746
+ };
702
747
  } | {
703
748
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
704
749
  readonly id: string;
705
- readonly kind: "polygon";
750
+ readonly stroke?: "dashed";
751
+ readonly kind: "polyline";
706
752
  readonly vertices: readonly [{
707
753
  readonly x: number;
708
754
  readonly y: number;
@@ -711,44 +757,11 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
711
757
  readonly x: number;
712
758
  readonly y: number;
713
759
  readonly z: number;
714
- }, {
715
- readonly x: number;
716
- readonly y: number;
717
- readonly z: number;
718
760
  }, ...{
719
761
  readonly x: number;
720
762
  readonly y: number;
721
763
  readonly z: number;
722
764
  }[]];
723
- } | {
724
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
725
- readonly id: string;
726
- readonly center: {
727
- readonly x: number;
728
- readonly y: number;
729
- readonly z: number;
730
- };
731
- readonly kind: "cuboid";
732
- readonly size: {
733
- readonly height: number;
734
- readonly length: number;
735
- readonly width: number;
736
- };
737
- } | {
738
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
739
- readonly id: string;
740
- readonly domain?: {
741
- readonly x: {
742
- readonly max: number;
743
- readonly min: number;
744
- };
745
- readonly y: {
746
- readonly max: number;
747
- readonly min: number;
748
- };
749
- };
750
- readonly formula: string;
751
- readonly kind: "function";
752
765
  }, ...({
753
766
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
754
767
  readonly id: string;
@@ -849,54 +862,92 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
849
862
  } | {
850
863
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
851
864
  readonly id: string;
852
- readonly kind: "line";
853
- readonly through: readonly [{
865
+ readonly from: {
854
866
  readonly x: number;
855
867
  readonly y: number;
856
868
  readonly z: number;
857
- }, {
869
+ };
870
+ readonly kind: "vector";
871
+ readonly to: {
858
872
  readonly x: number;
859
873
  readonly y: number;
860
874
  readonly z: number;
861
- }];
875
+ };
862
876
  } | {
863
877
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
864
878
  readonly id: string;
865
- readonly from: {
879
+ readonly kind: "polygon";
880
+ readonly vertices: readonly [{
866
881
  readonly x: number;
867
882
  readonly y: number;
868
883
  readonly z: number;
869
- };
870
- readonly kind: "ray";
871
- readonly through: {
884
+ }, {
872
885
  readonly x: number;
873
886
  readonly y: number;
874
887
  readonly z: number;
875
- };
888
+ }, {
889
+ readonly x: number;
890
+ readonly y: number;
891
+ readonly z: number;
892
+ }, ...{
893
+ readonly x: number;
894
+ readonly y: number;
895
+ readonly z: number;
896
+ }[]];
876
897
  } | {
877
898
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
878
899
  readonly id: string;
879
- readonly from: {
900
+ readonly center: {
880
901
  readonly x: number;
881
902
  readonly y: number;
882
903
  readonly z: number;
883
904
  };
884
- readonly kind: "segment";
885
- readonly to: {
905
+ readonly kind: "cuboid";
906
+ readonly size: {
907
+ readonly height: number;
908
+ readonly length: number;
909
+ readonly width: number;
910
+ };
911
+ } | {
912
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
913
+ readonly id: string;
914
+ readonly domain?: {
915
+ readonly x: {
916
+ readonly max: number;
917
+ readonly min: number;
918
+ };
919
+ readonly y: {
920
+ readonly max: number;
921
+ readonly min: number;
922
+ };
923
+ };
924
+ readonly formula: string;
925
+ readonly kind: "function";
926
+ } | {
927
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
928
+ readonly id: string;
929
+ readonly stroke?: "dashed";
930
+ readonly kind: "line";
931
+ readonly through: readonly [{
886
932
  readonly x: number;
887
933
  readonly y: number;
888
934
  readonly z: number;
889
- };
935
+ }, {
936
+ readonly x: number;
937
+ readonly y: number;
938
+ readonly z: number;
939
+ }];
890
940
  } | {
891
941
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
892
942
  readonly id: string;
943
+ readonly stroke?: "dashed";
893
944
  readonly from: {
894
945
  readonly x: number;
895
946
  readonly y: number;
896
947
  readonly z: number;
897
948
  };
898
- readonly kind: "vector";
899
- readonly to: {
949
+ readonly kind: "ray";
950
+ readonly through: {
900
951
  readonly x: number;
901
952
  readonly y: number;
902
953
  readonly z: number;
@@ -904,24 +955,23 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
904
955
  } | {
905
956
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
906
957
  readonly id: string;
907
- readonly kind: "polyline";
908
- readonly vertices: readonly [{
909
- readonly x: number;
910
- readonly y: number;
911
- readonly z: number;
912
- }, {
958
+ readonly stroke?: "dashed";
959
+ readonly from: {
913
960
  readonly x: number;
914
961
  readonly y: number;
915
962
  readonly z: number;
916
- }, ...{
963
+ };
964
+ readonly kind: "segment";
965
+ readonly to: {
917
966
  readonly x: number;
918
967
  readonly y: number;
919
968
  readonly z: number;
920
- }[]];
969
+ };
921
970
  } | {
922
971
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
923
972
  readonly id: string;
924
- readonly kind: "polygon";
973
+ readonly stroke?: "dashed";
974
+ readonly kind: "polyline";
925
975
  readonly vertices: readonly [{
926
976
  readonly x: number;
927
977
  readonly y: number;
@@ -930,44 +980,11 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
930
980
  readonly x: number;
931
981
  readonly y: number;
932
982
  readonly z: number;
933
- }, {
934
- readonly x: number;
935
- readonly y: number;
936
- readonly z: number;
937
983
  }, ...{
938
984
  readonly x: number;
939
985
  readonly y: number;
940
986
  readonly z: number;
941
987
  }[]];
942
- } | {
943
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
944
- readonly id: string;
945
- readonly center: {
946
- readonly x: number;
947
- readonly y: number;
948
- readonly z: number;
949
- };
950
- readonly kind: "cuboid";
951
- readonly size: {
952
- readonly height: number;
953
- readonly length: number;
954
- readonly width: number;
955
- };
956
- } | {
957
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
958
- readonly id: string;
959
- readonly domain?: {
960
- readonly x: {
961
- readonly max: number;
962
- readonly min: number;
963
- };
964
- readonly y: {
965
- readonly max: number;
966
- readonly min: number;
967
- };
968
- };
969
- readonly formula: string;
970
- readonly kind: "function";
971
988
  })[]];
972
989
  readonly parameters?: readonly {
973
990
  readonly label?: string;
@@ -1084,41 +1101,6 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1084
1101
  readonly y: number;
1085
1102
  };
1086
1103
  readonly kind: "point";
1087
- } | {
1088
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1089
- readonly id: string;
1090
- readonly kind: "line";
1091
- readonly through: readonly [{
1092
- readonly x: number;
1093
- readonly y: number;
1094
- }, {
1095
- readonly x: number;
1096
- readonly y: number;
1097
- }];
1098
- } | {
1099
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1100
- readonly id: string;
1101
- readonly from: {
1102
- readonly x: number;
1103
- readonly y: number;
1104
- };
1105
- readonly kind: "ray";
1106
- readonly through: {
1107
- readonly x: number;
1108
- readonly y: number;
1109
- };
1110
- } | {
1111
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1112
- readonly id: string;
1113
- readonly from: {
1114
- readonly x: number;
1115
- readonly y: number;
1116
- };
1117
- readonly kind: "segment";
1118
- readonly to: {
1119
- readonly x: number;
1120
- readonly y: number;
1121
- };
1122
1104
  } | {
1123
1105
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1124
1106
  readonly id: string;
@@ -1131,20 +1113,6 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1131
1113
  readonly x: number;
1132
1114
  readonly y: number;
1133
1115
  };
1134
- } | {
1135
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1136
- readonly id: string;
1137
- readonly kind: "polyline";
1138
- readonly vertices: readonly [{
1139
- readonly x: number;
1140
- readonly y: number;
1141
- }, {
1142
- readonly x: number;
1143
- readonly y: number;
1144
- }, ...{
1145
- readonly x: number;
1146
- readonly y: number;
1147
- }[]];
1148
1116
  } | {
1149
1117
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1150
1118
  readonly id: string;
@@ -1199,6 +1167,7 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1199
1167
  } | {
1200
1168
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1201
1169
  readonly id: string;
1170
+ readonly stroke?: "dashed";
1202
1171
  readonly domain?: {
1203
1172
  readonly max: number;
1204
1173
  readonly min: number;
@@ -1206,6 +1175,59 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1206
1175
  readonly formula: string;
1207
1176
  readonly inputAxis?: "x" | "y";
1208
1177
  readonly kind: "function";
1178
+ } | {
1179
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1180
+ readonly id: string;
1181
+ readonly stroke?: "dashed";
1182
+ readonly kind: "line";
1183
+ readonly through: readonly [{
1184
+ readonly x: number;
1185
+ readonly y: number;
1186
+ }, {
1187
+ readonly x: number;
1188
+ readonly y: number;
1189
+ }];
1190
+ } | {
1191
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1192
+ readonly id: string;
1193
+ readonly stroke?: "dashed";
1194
+ readonly from: {
1195
+ readonly x: number;
1196
+ readonly y: number;
1197
+ };
1198
+ readonly kind: "ray";
1199
+ readonly through: {
1200
+ readonly x: number;
1201
+ readonly y: number;
1202
+ };
1203
+ } | {
1204
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1205
+ readonly id: string;
1206
+ readonly stroke?: "dashed";
1207
+ readonly from: {
1208
+ readonly x: number;
1209
+ readonly y: number;
1210
+ };
1211
+ readonly kind: "segment";
1212
+ readonly to: {
1213
+ readonly x: number;
1214
+ readonly y: number;
1215
+ };
1216
+ } | {
1217
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1218
+ readonly id: string;
1219
+ readonly stroke?: "dashed";
1220
+ readonly kind: "polyline";
1221
+ readonly vertices: readonly [{
1222
+ readonly x: number;
1223
+ readonly y: number;
1224
+ }, {
1225
+ readonly x: number;
1226
+ readonly y: number;
1227
+ }, ...{
1228
+ readonly x: number;
1229
+ readonly y: number;
1230
+ }[]];
1209
1231
  }, ...({
1210
1232
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1211
1233
  readonly id: string;
@@ -1265,41 +1287,6 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1265
1287
  readonly y: number;
1266
1288
  };
1267
1289
  readonly kind: "point";
1268
- } | {
1269
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1270
- readonly id: string;
1271
- readonly kind: "line";
1272
- readonly through: readonly [{
1273
- readonly x: number;
1274
- readonly y: number;
1275
- }, {
1276
- readonly x: number;
1277
- readonly y: number;
1278
- }];
1279
- } | {
1280
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1281
- readonly id: string;
1282
- readonly from: {
1283
- readonly x: number;
1284
- readonly y: number;
1285
- };
1286
- readonly kind: "ray";
1287
- readonly through: {
1288
- readonly x: number;
1289
- readonly y: number;
1290
- };
1291
- } | {
1292
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1293
- readonly id: string;
1294
- readonly from: {
1295
- readonly x: number;
1296
- readonly y: number;
1297
- };
1298
- readonly kind: "segment";
1299
- readonly to: {
1300
- readonly x: number;
1301
- readonly y: number;
1302
- };
1303
1290
  } | {
1304
1291
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1305
1292
  readonly id: string;
@@ -1312,20 +1299,6 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1312
1299
  readonly x: number;
1313
1300
  readonly y: number;
1314
1301
  };
1315
- } | {
1316
- readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1317
- readonly id: string;
1318
- readonly kind: "polyline";
1319
- readonly vertices: readonly [{
1320
- readonly x: number;
1321
- readonly y: number;
1322
- }, {
1323
- readonly x: number;
1324
- readonly y: number;
1325
- }, ...{
1326
- readonly x: number;
1327
- readonly y: number;
1328
- }[]];
1329
1302
  } | {
1330
1303
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1331
1304
  readonly id: string;
@@ -1380,6 +1353,7 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1380
1353
  } | {
1381
1354
  readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1382
1355
  readonly id: string;
1356
+ readonly stroke?: "dashed";
1383
1357
  readonly domain?: {
1384
1358
  readonly max: number;
1385
1359
  readonly min: number;
@@ -1387,6 +1361,59 @@ export declare const decodeMathVisual: (input: unknown) => Effect.Effect<{
1387
1361
  readonly formula: string;
1388
1362
  readonly inputAxis?: "x" | "y";
1389
1363
  readonly kind: "function";
1364
+ } | {
1365
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1366
+ readonly id: string;
1367
+ readonly stroke?: "dashed";
1368
+ readonly kind: "line";
1369
+ readonly through: readonly [{
1370
+ readonly x: number;
1371
+ readonly y: number;
1372
+ }, {
1373
+ readonly x: number;
1374
+ readonly y: number;
1375
+ }];
1376
+ } | {
1377
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1378
+ readonly id: string;
1379
+ readonly stroke?: "dashed";
1380
+ readonly from: {
1381
+ readonly x: number;
1382
+ readonly y: number;
1383
+ };
1384
+ readonly kind: "ray";
1385
+ readonly through: {
1386
+ readonly x: number;
1387
+ readonly y: number;
1388
+ };
1389
+ } | {
1390
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1391
+ readonly id: string;
1392
+ readonly stroke?: "dashed";
1393
+ readonly from: {
1394
+ readonly x: number;
1395
+ readonly y: number;
1396
+ };
1397
+ readonly kind: "segment";
1398
+ readonly to: {
1399
+ readonly x: number;
1400
+ readonly y: number;
1401
+ };
1402
+ } | {
1403
+ readonly appearance: "answer" | "construction" | "highlight" | "primary" | "reference" | "secondary" | "warning";
1404
+ readonly id: string;
1405
+ readonly stroke?: "dashed";
1406
+ readonly kind: "polyline";
1407
+ readonly vertices: readonly [{
1408
+ readonly x: number;
1409
+ readonly y: number;
1410
+ }, {
1411
+ readonly x: number;
1412
+ readonly y: number;
1413
+ }, ...{
1414
+ readonly x: number;
1415
+ readonly y: number;
1416
+ }[]];
1390
1417
  })[]];
1391
1418
  readonly parameters?: readonly {
1392
1419
  readonly label?: string;