@khanacademy/perseus-editor 5.0.2 → 5.1.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.
@@ -1,6 +1,6 @@
1
1
  import { SizingUtils } from "@khanacademy/perseus";
2
2
  import * as React from "react";
3
- import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, APIOptionsWithDefaults } from "@khanacademy/perseus";
3
+ import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, APIOptionsWithDefaults, LockedFigure } from "@khanacademy/perseus";
4
4
  import type { PropsFor } from "@khanacademy/wonder-blocks-core";
5
5
  declare const InteractiveGraph: {
6
6
  new (props: (PerseusInteractiveGraphWidgetOptions & {
@@ -26,15 +26,18 @@ declare const InteractiveGraph: {
26
26
  baseElements?: {
27
27
  Link: React.ComponentType<any>;
28
28
  } | undefined;
29
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
29
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
30
+ * Whether to show the ruler on the graph.
31
+ */
30
32
  trackInteraction?: ((args: {
31
33
  type: string;
32
34
  id: string;
33
35
  correct?: boolean | undefined;
34
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
35
- * Whether to show the ruler on the graph.
36
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
37
+ customKeypad?: boolean | undefined; /**
38
+ * Whether to show tooltips on the graph.
39
+ * (Currently not used, but will be in the future.)
36
40
  */
37
- customKeypad?: boolean | undefined;
38
41
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
39
42
  isMobile?: boolean | undefined;
40
43
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -99,15 +102,18 @@ declare const InteractiveGraph: {
99
102
  baseElements?: {
100
103
  Link: React.ComponentType<any>;
101
104
  } | undefined;
102
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
105
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
106
+ * Whether to show the ruler on the graph.
107
+ */
103
108
  trackInteraction?: ((args: {
104
109
  type: string;
105
110
  id: string;
106
111
  correct?: boolean | undefined;
107
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
108
- * Whether to show the ruler on the graph.
112
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
113
+ customKeypad?: boolean | undefined; /**
114
+ * Whether to show tooltips on the graph.
115
+ * (Currently not used, but will be in the future.)
109
116
  */
110
- customKeypad?: boolean | undefined;
111
117
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
112
118
  isMobile?: boolean | undefined;
113
119
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -193,15 +199,18 @@ declare const InteractiveGraph: {
193
199
  baseElements?: {
194
200
  Link: React.ComponentType<any>;
195
201
  } | undefined;
196
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
202
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
203
+ * Whether to show the ruler on the graph.
204
+ */
197
205
  trackInteraction?: ((args: {
198
206
  type: string;
199
207
  id: string;
200
208
  correct?: boolean | undefined;
201
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
202
- * Whether to show the ruler on the graph.
209
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
210
+ customKeypad?: boolean | undefined; /**
211
+ * Whether to show tooltips on the graph.
212
+ * (Currently not used, but will be in the future.)
203
213
  */
204
- customKeypad?: boolean | undefined;
205
214
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
206
215
  isMobile?: boolean | undefined;
207
216
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -267,15 +276,18 @@ declare const InteractiveGraph: {
267
276
  baseElements?: {
268
277
  Link: React.ComponentType<any>;
269
278
  } | undefined;
270
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
279
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
280
+ * Whether to show the ruler on the graph.
281
+ */
271
282
  trackInteraction?: ((args: {
272
283
  type: string;
273
284
  id: string;
274
285
  correct?: boolean | undefined;
275
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
276
- * Whether to show the ruler on the graph.
286
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
287
+ customKeypad?: boolean | undefined; /**
288
+ * Whether to show tooltips on the graph.
289
+ * (Currently not used, but will be in the future.)
277
290
  */
278
- customKeypad?: boolean | undefined;
279
291
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
280
292
  isMobile?: boolean | undefined;
281
293
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -341,15 +353,18 @@ declare const InteractiveGraph: {
341
353
  baseElements?: {
342
354
  Link: React.ComponentType<any>;
343
355
  } | undefined;
344
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
356
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
357
+ * Whether to show the ruler on the graph.
358
+ */
345
359
  trackInteraction?: ((args: {
346
360
  type: string;
347
361
  id: string;
348
362
  correct?: boolean | undefined;
349
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
350
- * Whether to show the ruler on the graph.
363
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
364
+ customKeypad?: boolean | undefined; /**
365
+ * Whether to show tooltips on the graph.
366
+ * (Currently not used, but will be in the future.)
351
367
  */
352
- customKeypad?: boolean | undefined;
353
368
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
354
369
  isMobile?: boolean | undefined;
355
370
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -394,13 +409,17 @@ declare const InteractiveGraph: {
394
409
  }) | null | undefined) => boolean;
395
410
  deprecatedProps: any;
396
411
  setGraphie: (arg1: any) => void;
397
- handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void; /**
398
- * The labels for the x and y axes.
412
+ handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
413
+ resetGraphie: () => void; /**
414
+ * The range of the graph in the x and y directions.
399
415
  */
400
- resetGraphie: () => void;
401
416
  setupGraphie: () => void;
402
417
  showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
403
418
  hideHairlines: () => void;
419
+ /**
420
+ * How far apart the tick marks on the axes are in the x and y
421
+ * directions.
422
+ */
404
423
  setTrashCanVisibility: (arg1: number) => void;
405
424
  isClickToAddPoints: (arg1?: (PerseusInteractiveGraphWidgetOptions & {
406
425
  widgetId: string;
@@ -425,15 +444,18 @@ declare const InteractiveGraph: {
425
444
  baseElements?: {
426
445
  Link: React.ComponentType<any>;
427
446
  } | undefined;
428
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
447
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
448
+ * Whether to show the ruler on the graph.
449
+ */
429
450
  trackInteraction?: ((args: {
430
451
  type: string;
431
452
  id: string;
432
453
  correct?: boolean | undefined;
433
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
434
- * Whether to show the ruler on the graph.
454
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
455
+ customKeypad?: boolean | undefined; /**
456
+ * Whether to show tooltips on the graph.
457
+ * (Currently not used, but will be in the future.)
435
458
  */
436
- customKeypad?: boolean | undefined;
437
459
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
438
460
  isMobile?: boolean | undefined;
439
461
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -481,7 +503,9 @@ declare const InteractiveGraph: {
481
503
  arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
482
504
  areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
483
505
  _lineStroke: () => {
484
- "stroke-width"?: number | undefined;
506
+ "stroke-width"?: number | undefined; /**
507
+ * The background image to display in the graph area and its properties.
508
+ */
485
509
  };
486
510
  addLine: (arg1: string) => void;
487
511
  removeLine: () => void;
@@ -500,6 +524,9 @@ declare const InteractiveGraph: {
500
524
  isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
501
525
  createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
502
526
  removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
527
+ /**
528
+ * The label to display on the ruler, if any.
529
+ */
503
530
  createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
504
531
  updateCoordsFromPoints: () => void;
505
532
  clearCoords: () => void;
@@ -515,8 +542,12 @@ declare const InteractiveGraph: {
515
542
  removePolygonControls: () => void;
516
543
  addAngleControls: () => void;
517
544
  removeAngleControls: () => void;
518
- toggleShowSides: () => void;
519
- getUserInput: () => import("../../../perseus/src/perseus-types").PerseusGraphType;
545
+ toggleShowSides: () => void; /**
546
+ * The locked figures to display in the graph area.
547
+ * Locked figures are graph elements (points, lines, line segmeents,
548
+ * etc.) that are locked in place and not interactive.
549
+ */
550
+ getUserInput: () => import("@khanacademy/perseus").PerseusGraphType;
520
551
  simpleValidate: (rubric: PerseusInteractiveGraphWidgetOptions) => import("@khanacademy/perseus").PerseusScore;
521
552
  focus: () => void;
522
553
  render(): React.ReactNode;
@@ -546,15 +577,18 @@ declare const InteractiveGraph: {
546
577
  baseElements?: {
547
578
  Link: React.ComponentType<any>;
548
579
  } | undefined;
549
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
580
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
581
+ * Whether to show the ruler on the graph.
582
+ */
550
583
  trackInteraction?: ((args: {
551
584
  type: string;
552
585
  id: string;
553
586
  correct?: boolean | undefined;
554
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
555
- * Whether to show the ruler on the graph.
587
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
588
+ customKeypad?: boolean | undefined; /**
589
+ * Whether to show tooltips on the graph.
590
+ * (Currently not used, but will be in the future.)
556
591
  */
557
- customKeypad?: boolean | undefined;
558
592
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
559
593
  isMobile?: boolean | undefined;
560
594
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -625,15 +659,18 @@ declare const InteractiveGraph: {
625
659
  baseElements?: {
626
660
  Link: React.ComponentType<any>;
627
661
  } | undefined;
628
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
662
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
663
+ * Whether to show the ruler on the graph.
664
+ */
629
665
  trackInteraction?: ((args: {
630
666
  type: string;
631
667
  id: string;
632
668
  correct?: boolean | undefined;
633
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
634
- * Whether to show the ruler on the graph.
669
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
670
+ customKeypad?: boolean | undefined; /**
671
+ * Whether to show tooltips on the graph.
672
+ * (Currently not used, but will be in the future.)
635
673
  */
636
- customKeypad?: boolean | undefined;
637
674
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
638
675
  isMobile?: boolean | undefined;
639
676
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -701,15 +738,18 @@ declare const InteractiveGraph: {
701
738
  baseElements?: {
702
739
  Link: React.ComponentType<any>;
703
740
  } | undefined;
704
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
741
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
742
+ * Whether to show the ruler on the graph.
743
+ */
705
744
  trackInteraction?: ((args: {
706
745
  type: string;
707
746
  id: string;
708
747
  correct?: boolean | undefined;
709
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
710
- * Whether to show the ruler on the graph.
748
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
749
+ customKeypad?: boolean | undefined; /**
750
+ * Whether to show tooltips on the graph.
751
+ * (Currently not used, but will be in the future.)
711
752
  */
712
- customKeypad?: boolean | undefined;
713
753
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
714
754
  isMobile?: boolean | undefined;
715
755
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -776,15 +816,18 @@ declare const InteractiveGraph: {
776
816
  baseElements?: {
777
817
  Link: React.ComponentType<any>;
778
818
  } | undefined;
779
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
819
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
820
+ * Whether to show the ruler on the graph.
821
+ */
780
822
  trackInteraction?: ((args: {
781
823
  type: string;
782
824
  id: string;
783
825
  correct?: boolean | undefined;
784
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
785
- * Whether to show the ruler on the graph.
826
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
827
+ customKeypad?: boolean | undefined; /**
828
+ * Whether to show tooltips on the graph.
829
+ * (Currently not used, but will be in the future.)
786
830
  */
787
- customKeypad?: boolean | undefined;
788
831
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
789
832
  isMobile?: boolean | undefined;
790
833
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -850,15 +893,18 @@ declare const InteractiveGraph: {
850
893
  baseElements?: {
851
894
  Link: React.ComponentType<any>;
852
895
  } | undefined;
853
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
896
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
897
+ * Whether to show the ruler on the graph.
898
+ */
854
899
  trackInteraction?: ((args: {
855
900
  type: string;
856
901
  id: string;
857
902
  correct?: boolean | undefined;
858
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
859
- * Whether to show the ruler on the graph.
903
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
904
+ customKeypad?: boolean | undefined; /**
905
+ * Whether to show tooltips on the graph.
906
+ * (Currently not used, but will be in the future.)
860
907
  */
861
- customKeypad?: boolean | undefined;
862
908
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
863
909
  isMobile?: boolean | undefined;
864
910
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -924,15 +970,18 @@ declare const InteractiveGraph: {
924
970
  baseElements?: {
925
971
  Link: React.ComponentType<any>;
926
972
  } | undefined;
927
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
973
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
974
+ * Whether to show the ruler on the graph.
975
+ */
928
976
  trackInteraction?: ((args: {
929
977
  type: string;
930
978
  id: string;
931
979
  correct?: boolean | undefined;
932
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
933
- * Whether to show the ruler on the graph.
980
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
981
+ customKeypad?: boolean | undefined; /**
982
+ * Whether to show tooltips on the graph.
983
+ * (Currently not used, but will be in the future.)
934
984
  */
935
- customKeypad?: boolean | undefined;
936
985
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
937
986
  isMobile?: boolean | undefined;
938
987
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -999,15 +1048,18 @@ declare const InteractiveGraph: {
999
1048
  baseElements?: {
1000
1049
  Link: React.ComponentType<any>;
1001
1050
  } | undefined;
1002
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1051
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1052
+ * Whether to show the ruler on the graph.
1053
+ */
1003
1054
  trackInteraction?: ((args: {
1004
1055
  type: string;
1005
1056
  id: string;
1006
1057
  correct?: boolean | undefined;
1007
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1008
- * Whether to show the ruler on the graph.
1058
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1059
+ customKeypad?: boolean | undefined; /**
1060
+ * Whether to show tooltips on the graph.
1061
+ * (Currently not used, but will be in the future.)
1009
1062
  */
1010
- customKeypad?: boolean | undefined;
1011
1063
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1012
1064
  isMobile?: boolean | undefined;
1013
1065
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1093,15 +1145,18 @@ declare const InteractiveGraph: {
1093
1145
  baseElements?: {
1094
1146
  Link: React.ComponentType<any>;
1095
1147
  } | undefined;
1096
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1148
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1149
+ * Whether to show the ruler on the graph.
1150
+ */
1097
1151
  trackInteraction?: ((args: {
1098
1152
  type: string;
1099
1153
  id: string;
1100
1154
  correct?: boolean | undefined;
1101
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1102
- * Whether to show the ruler on the graph.
1155
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1156
+ customKeypad?: boolean | undefined; /**
1157
+ * Whether to show tooltips on the graph.
1158
+ * (Currently not used, but will be in the future.)
1103
1159
  */
1104
- customKeypad?: boolean | undefined;
1105
1160
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1106
1161
  isMobile?: boolean | undefined;
1107
1162
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1167,15 +1222,18 @@ declare const InteractiveGraph: {
1167
1222
  baseElements?: {
1168
1223
  Link: React.ComponentType<any>;
1169
1224
  } | undefined;
1170
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1225
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1226
+ * Whether to show the ruler on the graph.
1227
+ */
1171
1228
  trackInteraction?: ((args: {
1172
1229
  type: string;
1173
1230
  id: string;
1174
1231
  correct?: boolean | undefined;
1175
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1176
- * Whether to show the ruler on the graph.
1232
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1233
+ customKeypad?: boolean | undefined; /**
1234
+ * Whether to show tooltips on the graph.
1235
+ * (Currently not used, but will be in the future.)
1177
1236
  */
1178
- customKeypad?: boolean | undefined;
1179
1237
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1180
1238
  isMobile?: boolean | undefined;
1181
1239
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1241,15 +1299,18 @@ declare const InteractiveGraph: {
1241
1299
  baseElements?: {
1242
1300
  Link: React.ComponentType<any>;
1243
1301
  } | undefined;
1244
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1302
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1303
+ * Whether to show the ruler on the graph.
1304
+ */
1245
1305
  trackInteraction?: ((args: {
1246
1306
  type: string;
1247
1307
  id: string;
1248
1308
  correct?: boolean | undefined;
1249
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1250
- * Whether to show the ruler on the graph.
1309
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1310
+ customKeypad?: boolean | undefined; /**
1311
+ * Whether to show tooltips on the graph.
1312
+ * (Currently not used, but will be in the future.)
1251
1313
  */
1252
- customKeypad?: boolean | undefined;
1253
1314
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1254
1315
  isMobile?: boolean | undefined;
1255
1316
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1294,13 +1355,17 @@ declare const InteractiveGraph: {
1294
1355
  }) | null | undefined) => boolean;
1295
1356
  deprecatedProps: any;
1296
1357
  setGraphie: (arg1: any) => void;
1297
- handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void; /**
1298
- * The labels for the x and y axes.
1358
+ handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
1359
+ resetGraphie: () => void; /**
1360
+ * The range of the graph in the x and y directions.
1299
1361
  */
1300
- resetGraphie: () => void;
1301
1362
  setupGraphie: () => void;
1302
1363
  showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
1303
1364
  hideHairlines: () => void;
1365
+ /**
1366
+ * How far apart the tick marks on the axes are in the x and y
1367
+ * directions.
1368
+ */
1304
1369
  setTrashCanVisibility: (arg1: number) => void;
1305
1370
  isClickToAddPoints: (arg1?: (PerseusInteractiveGraphWidgetOptions & {
1306
1371
  widgetId: string;
@@ -1325,15 +1390,18 @@ declare const InteractiveGraph: {
1325
1390
  baseElements?: {
1326
1391
  Link: React.ComponentType<any>;
1327
1392
  } | undefined;
1328
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1393
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1394
+ * Whether to show the ruler on the graph.
1395
+ */
1329
1396
  trackInteraction?: ((args: {
1330
1397
  type: string;
1331
1398
  id: string;
1332
1399
  correct?: boolean | undefined;
1333
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1334
- * Whether to show the ruler on the graph.
1400
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1401
+ customKeypad?: boolean | undefined; /**
1402
+ * Whether to show tooltips on the graph.
1403
+ * (Currently not used, but will be in the future.)
1335
1404
  */
1336
- customKeypad?: boolean | undefined;
1337
1405
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1338
1406
  isMobile?: boolean | undefined;
1339
1407
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1381,7 +1449,9 @@ declare const InteractiveGraph: {
1381
1449
  arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
1382
1450
  areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
1383
1451
  _lineStroke: () => {
1384
- "stroke-width"?: number | undefined;
1452
+ "stroke-width"?: number | undefined; /**
1453
+ * The background image to display in the graph area and its properties.
1454
+ */
1385
1455
  };
1386
1456
  addLine: (arg1: string) => void;
1387
1457
  removeLine: () => void;
@@ -1400,6 +1470,9 @@ declare const InteractiveGraph: {
1400
1470
  isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
1401
1471
  createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
1402
1472
  removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
1473
+ /**
1474
+ * The label to display on the ruler, if any.
1475
+ */
1403
1476
  createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
1404
1477
  updateCoordsFromPoints: () => void;
1405
1478
  clearCoords: () => void;
@@ -1415,8 +1488,12 @@ declare const InteractiveGraph: {
1415
1488
  removePolygonControls: () => void;
1416
1489
  addAngleControls: () => void;
1417
1490
  removeAngleControls: () => void;
1418
- toggleShowSides: () => void;
1419
- getUserInput: () => import("../../../perseus/src/perseus-types").PerseusGraphType;
1491
+ toggleShowSides: () => void; /**
1492
+ * The locked figures to display in the graph area.
1493
+ * Locked figures are graph elements (points, lines, line segmeents,
1494
+ * etc.) that are locked in place and not interactive.
1495
+ */
1496
+ getUserInput: () => import("@khanacademy/perseus").PerseusGraphType;
1420
1497
  simpleValidate: (rubric: PerseusInteractiveGraphWidgetOptions) => import("@khanacademy/perseus").PerseusScore;
1421
1498
  focus: () => void;
1422
1499
  render(): React.ReactNode;
@@ -1446,15 +1523,18 @@ declare const InteractiveGraph: {
1446
1523
  baseElements?: {
1447
1524
  Link: React.ComponentType<any>;
1448
1525
  } | undefined;
1449
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1526
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1527
+ * Whether to show the ruler on the graph.
1528
+ */
1450
1529
  trackInteraction?: ((args: {
1451
1530
  type: string;
1452
1531
  id: string;
1453
1532
  correct?: boolean | undefined;
1454
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1455
- * Whether to show the ruler on the graph.
1533
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1534
+ customKeypad?: boolean | undefined; /**
1535
+ * Whether to show tooltips on the graph.
1536
+ * (Currently not used, but will be in the future.)
1456
1537
  */
1457
- customKeypad?: boolean | undefined;
1458
1538
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1459
1539
  isMobile?: boolean | undefined;
1460
1540
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1525,15 +1605,18 @@ declare const InteractiveGraph: {
1525
1605
  baseElements?: {
1526
1606
  Link: React.ComponentType<any>;
1527
1607
  } | undefined;
1528
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1608
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1609
+ * Whether to show the ruler on the graph.
1610
+ */
1529
1611
  trackInteraction?: ((args: {
1530
1612
  type: string;
1531
1613
  id: string;
1532
1614
  correct?: boolean | undefined;
1533
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1534
- * Whether to show the ruler on the graph.
1615
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1616
+ customKeypad?: boolean | undefined; /**
1617
+ * Whether to show tooltips on the graph.
1618
+ * (Currently not used, but will be in the future.)
1535
1619
  */
1536
- customKeypad?: boolean | undefined;
1537
1620
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1538
1621
  isMobile?: boolean | undefined;
1539
1622
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1601,15 +1684,18 @@ declare const InteractiveGraph: {
1601
1684
  baseElements?: {
1602
1685
  Link: React.ComponentType<any>;
1603
1686
  } | undefined;
1604
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1687
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1688
+ * Whether to show the ruler on the graph.
1689
+ */
1605
1690
  trackInteraction?: ((args: {
1606
1691
  type: string;
1607
1692
  id: string;
1608
1693
  correct?: boolean | undefined;
1609
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1610
- * Whether to show the ruler on the graph.
1694
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1695
+ customKeypad?: boolean | undefined; /**
1696
+ * Whether to show tooltips on the graph.
1697
+ * (Currently not used, but will be in the future.)
1611
1698
  */
1612
- customKeypad?: boolean | undefined;
1613
1699
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1614
1700
  isMobile?: boolean | undefined;
1615
1701
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1676,15 +1762,18 @@ declare const InteractiveGraph: {
1676
1762
  baseElements?: {
1677
1763
  Link: React.ComponentType<any>;
1678
1764
  } | undefined;
1679
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1765
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1766
+ * Whether to show the ruler on the graph.
1767
+ */
1680
1768
  trackInteraction?: ((args: {
1681
1769
  type: string;
1682
1770
  id: string;
1683
1771
  correct?: boolean | undefined;
1684
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1685
- * Whether to show the ruler on the graph.
1772
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1773
+ customKeypad?: boolean | undefined; /**
1774
+ * Whether to show tooltips on the graph.
1775
+ * (Currently not used, but will be in the future.)
1686
1776
  */
1687
- customKeypad?: boolean | undefined;
1688
1777
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1689
1778
  isMobile?: boolean | undefined;
1690
1779
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1750,15 +1839,18 @@ declare const InteractiveGraph: {
1750
1839
  baseElements?: {
1751
1840
  Link: React.ComponentType<any>;
1752
1841
  } | undefined;
1753
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1842
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1843
+ * Whether to show the ruler on the graph.
1844
+ */
1754
1845
  trackInteraction?: ((args: {
1755
1846
  type: string;
1756
1847
  id: string;
1757
1848
  correct?: boolean | undefined;
1758
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1759
- * Whether to show the ruler on the graph.
1849
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1850
+ customKeypad?: boolean | undefined; /**
1851
+ * Whether to show tooltips on the graph.
1852
+ * (Currently not used, but will be in the future.)
1760
1853
  */
1761
- customKeypad?: boolean | undefined;
1762
1854
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1763
1855
  isMobile?: boolean | undefined;
1764
1856
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1824,15 +1916,18 @@ declare const InteractiveGraph: {
1824
1916
  baseElements?: {
1825
1917
  Link: React.ComponentType<any>;
1826
1918
  } | undefined;
1827
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1919
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
1920
+ * Whether to show the ruler on the graph.
1921
+ */
1828
1922
  trackInteraction?: ((args: {
1829
1923
  type: string;
1830
1924
  id: string;
1831
1925
  correct?: boolean | undefined;
1832
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1833
- * Whether to show the ruler on the graph.
1926
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1927
+ customKeypad?: boolean | undefined; /**
1928
+ * Whether to show tooltips on the graph.
1929
+ * (Currently not used, but will be in the future.)
1834
1930
  */
1835
- customKeypad?: boolean | undefined;
1836
1931
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1837
1932
  isMobile?: boolean | undefined;
1838
1933
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1887,11 +1982,11 @@ declare const InteractiveGraph: {
1887
1982
  showRuler: boolean;
1888
1983
  rulerLabel: string;
1889
1984
  rulerTicks: number;
1890
- graph: import("../../../perseus/src/perseus-types").PerseusGraphType;
1985
+ graph: import("@khanacademy/perseus").PerseusGraphType;
1891
1986
  };
1892
1987
  getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
1893
1988
  getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").SineCoefficient;
1894
- getLineCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
1989
+ getLineCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
1895
1990
  widgetId: string;
1896
1991
  alignment: string | null | undefined;
1897
1992
  static: boolean | null | undefined;
@@ -1914,15 +2009,18 @@ declare const InteractiveGraph: {
1914
2009
  baseElements?: {
1915
2010
  Link: React.ComponentType<any>;
1916
2011
  } | undefined;
1917
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2012
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2013
+ * Whether to show the ruler on the graph.
2014
+ */
1918
2015
  trackInteraction?: ((args: {
1919
2016
  type: string;
1920
2017
  id: string;
1921
2018
  correct?: boolean | undefined;
1922
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1923
- * Whether to show the ruler on the graph.
2019
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2020
+ customKeypad?: boolean | undefined; /**
2021
+ * Whether to show tooltips on the graph.
2022
+ * (Currently not used, but will be in the future.)
1924
2023
  */
1925
- customKeypad?: boolean | undefined;
1926
2024
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1927
2025
  isMobile?: boolean | undefined;
1928
2026
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -1988,15 +2086,18 @@ declare const InteractiveGraph: {
1988
2086
  baseElements?: {
1989
2087
  Link: React.ComponentType<any>;
1990
2088
  } | undefined;
1991
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2089
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2090
+ * Whether to show the ruler on the graph.
2091
+ */
1992
2092
  trackInteraction?: ((args: {
1993
2093
  type: string;
1994
2094
  id: string;
1995
2095
  correct?: boolean | undefined;
1996
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
1997
- * Whether to show the ruler on the graph.
2096
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2097
+ customKeypad?: boolean | undefined; /**
2098
+ * Whether to show tooltips on the graph.
2099
+ * (Currently not used, but will be in the future.)
1998
2100
  */
1999
- customKeypad?: boolean | undefined;
2000
2101
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2001
2102
  isMobile?: boolean | undefined;
2002
2103
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2039,7 +2140,7 @@ declare const InteractiveGraph: {
2039
2140
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
2040
2141
  containerSizeClass: SizingUtils.SizeClass;
2041
2142
  }): readonly import("@khanacademy/perseus").Coord[];
2042
- getLinearSystemCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
2143
+ getLinearSystemCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
2043
2144
  widgetId: string;
2044
2145
  alignment: string | null | undefined;
2045
2146
  static: boolean | null | undefined;
@@ -2062,15 +2163,18 @@ declare const InteractiveGraph: {
2062
2163
  baseElements?: {
2063
2164
  Link: React.ComponentType<any>;
2064
2165
  } | undefined;
2065
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2166
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2167
+ * Whether to show the ruler on the graph.
2168
+ */
2066
2169
  trackInteraction?: ((args: {
2067
2170
  type: string;
2068
2171
  id: string;
2069
2172
  correct?: boolean | undefined;
2070
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2071
- * Whether to show the ruler on the graph.
2173
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2174
+ customKeypad?: boolean | undefined; /**
2175
+ * Whether to show tooltips on the graph.
2176
+ * (Currently not used, but will be in the future.)
2072
2177
  */
2073
- customKeypad?: boolean | undefined;
2074
2178
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2075
2179
  isMobile?: boolean | undefined;
2076
2180
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2113,7 +2217,7 @@ declare const InteractiveGraph: {
2113
2217
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
2114
2218
  containerSizeClass: SizingUtils.SizeClass;
2115
2219
  }): readonly (readonly import("@khanacademy/perseus").Coord[])[];
2116
- getPolygonCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
2220
+ getPolygonCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
2117
2221
  widgetId: string;
2118
2222
  alignment: string | null | undefined;
2119
2223
  static: boolean | null | undefined;
@@ -2136,15 +2240,18 @@ declare const InteractiveGraph: {
2136
2240
  baseElements?: {
2137
2241
  Link: React.ComponentType<any>;
2138
2242
  } | undefined;
2139
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2243
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2244
+ * Whether to show the ruler on the graph.
2245
+ */
2140
2246
  trackInteraction?: ((args: {
2141
2247
  type: string;
2142
2248
  id: string;
2143
2249
  correct?: boolean | undefined;
2144
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2145
- * Whether to show the ruler on the graph.
2250
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2251
+ customKeypad?: boolean | undefined; /**
2252
+ * Whether to show tooltips on the graph.
2253
+ * (Currently not used, but will be in the future.)
2146
2254
  */
2147
- customKeypad?: boolean | undefined;
2148
2255
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2149
2256
  isMobile?: boolean | undefined;
2150
2257
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2210,15 +2317,18 @@ declare const InteractiveGraph: {
2210
2317
  baseElements?: {
2211
2318
  Link: React.ComponentType<any>;
2212
2319
  } | undefined;
2213
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2320
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2321
+ * Whether to show the ruler on the graph.
2322
+ */
2214
2323
  trackInteraction?: ((args: {
2215
2324
  type: string;
2216
2325
  id: string;
2217
2326
  correct?: boolean | undefined;
2218
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2219
- * Whether to show the ruler on the graph.
2327
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2328
+ customKeypad?: boolean | undefined; /**
2329
+ * Whether to show tooltips on the graph.
2330
+ * (Currently not used, but will be in the future.)
2220
2331
  */
2221
- customKeypad?: boolean | undefined;
2222
2332
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2223
2333
  isMobile?: boolean | undefined;
2224
2334
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2284,15 +2394,18 @@ declare const InteractiveGraph: {
2284
2394
  baseElements?: {
2285
2395
  Link: React.ComponentType<any>;
2286
2396
  } | undefined;
2287
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2397
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2398
+ * Whether to show the ruler on the graph.
2399
+ */
2288
2400
  trackInteraction?: ((args: {
2289
2401
  type: string;
2290
2402
  id: string;
2291
2403
  correct?: boolean | undefined;
2292
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2293
- * Whether to show the ruler on the graph.
2404
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2405
+ customKeypad?: boolean | undefined; /**
2406
+ * Whether to show tooltips on the graph.
2407
+ * (Currently not used, but will be in the future.)
2294
2408
  */
2295
- customKeypad?: boolean | undefined;
2296
2409
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2297
2410
  isMobile?: boolean | undefined;
2298
2411
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2359,15 +2472,18 @@ declare const InteractiveGraph: {
2359
2472
  baseElements?: {
2360
2473
  Link: React.ComponentType<any>;
2361
2474
  } | undefined;
2362
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2475
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2476
+ * Whether to show the ruler on the graph.
2477
+ */
2363
2478
  trackInteraction?: ((args: {
2364
2479
  type: string;
2365
2480
  id: string;
2366
2481
  correct?: boolean | undefined;
2367
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2368
- * Whether to show the ruler on the graph.
2482
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2483
+ customKeypad?: boolean | undefined; /**
2484
+ * Whether to show tooltips on the graph.
2485
+ * (Currently not used, but will be in the future.)
2369
2486
  */
2370
- customKeypad?: boolean | undefined;
2371
2487
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2372
2488
  isMobile?: boolean | undefined;
2373
2489
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2433,15 +2549,18 @@ declare const InteractiveGraph: {
2433
2549
  baseElements?: {
2434
2550
  Link: React.ComponentType<any>;
2435
2551
  } | undefined;
2436
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2552
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2553
+ * Whether to show the ruler on the graph.
2554
+ */
2437
2555
  trackInteraction?: ((args: {
2438
2556
  type: string;
2439
2557
  id: string;
2440
2558
  correct?: boolean | undefined;
2441
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2442
- * Whether to show the ruler on the graph.
2559
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2560
+ customKeypad?: boolean | undefined; /**
2561
+ * Whether to show tooltips on the graph.
2562
+ * (Currently not used, but will be in the future.)
2443
2563
  */
2444
- customKeypad?: boolean | undefined;
2445
2564
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2446
2565
  isMobile?: boolean | undefined;
2447
2566
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2507,15 +2626,18 @@ declare const InteractiveGraph: {
2507
2626
  baseElements?: {
2508
2627
  Link: React.ComponentType<any>;
2509
2628
  } | undefined;
2510
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2629
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2630
+ * Whether to show the ruler on the graph.
2631
+ */
2511
2632
  trackInteraction?: ((args: {
2512
2633
  type: string;
2513
2634
  id: string;
2514
2635
  correct?: boolean | undefined;
2515
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2516
- * Whether to show the ruler on the graph.
2636
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2637
+ customKeypad?: boolean | undefined; /**
2638
+ * Whether to show tooltips on the graph.
2639
+ * (Currently not used, but will be in the future.)
2517
2640
  */
2518
- customKeypad?: boolean | undefined;
2519
2641
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2520
2642
  isMobile?: boolean | undefined;
2521
2643
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2581,15 +2703,18 @@ declare const InteractiveGraph: {
2581
2703
  baseElements?: {
2582
2704
  Link: React.ComponentType<any>;
2583
2705
  } | undefined;
2584
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2706
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2707
+ * Whether to show the ruler on the graph.
2708
+ */
2585
2709
  trackInteraction?: ((args: {
2586
2710
  type: string;
2587
2711
  id: string;
2588
2712
  correct?: boolean | undefined;
2589
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2590
- * Whether to show the ruler on the graph.
2713
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2714
+ customKeypad?: boolean | undefined; /**
2715
+ * Whether to show tooltips on the graph.
2716
+ * (Currently not used, but will be in the future.)
2591
2717
  */
2592
- customKeypad?: boolean | undefined;
2593
2718
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2594
2719
  isMobile?: boolean | undefined;
2595
2720
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2655,15 +2780,18 @@ declare const InteractiveGraph: {
2655
2780
  baseElements?: {
2656
2781
  Link: React.ComponentType<any>;
2657
2782
  } | undefined;
2658
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2783
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2784
+ * Whether to show the ruler on the graph.
2785
+ */
2659
2786
  trackInteraction?: ((args: {
2660
2787
  type: string;
2661
2788
  id: string;
2662
2789
  correct?: boolean | undefined;
2663
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2664
- * Whether to show the ruler on the graph.
2790
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2791
+ customKeypad?: boolean | undefined; /**
2792
+ * Whether to show tooltips on the graph.
2793
+ * (Currently not used, but will be in the future.)
2665
2794
  */
2666
- customKeypad?: boolean | undefined;
2667
2795
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2668
2796
  isMobile?: boolean | undefined;
2669
2797
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2729,15 +2857,18 @@ declare const InteractiveGraph: {
2729
2857
  baseElements?: {
2730
2858
  Link: React.ComponentType<any>;
2731
2859
  } | undefined;
2732
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2860
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2861
+ * Whether to show the ruler on the graph.
2862
+ */
2733
2863
  trackInteraction?: ((args: {
2734
2864
  type: string;
2735
2865
  id: string;
2736
2866
  correct?: boolean | undefined;
2737
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2738
- * Whether to show the ruler on the graph.
2867
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2868
+ customKeypad?: boolean | undefined; /**
2869
+ * Whether to show tooltips on the graph.
2870
+ * (Currently not used, but will be in the future.)
2739
2871
  */
2740
- customKeypad?: boolean | undefined;
2741
2872
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2742
2873
  isMobile?: boolean | undefined;
2743
2874
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2803,15 +2934,18 @@ declare const InteractiveGraph: {
2803
2934
  baseElements?: {
2804
2935
  Link: React.ComponentType<any>;
2805
2936
  } | undefined;
2806
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2937
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
2938
+ * Whether to show the ruler on the graph.
2939
+ */
2807
2940
  trackInteraction?: ((args: {
2808
2941
  type: string;
2809
2942
  id: string;
2810
2943
  correct?: boolean | undefined;
2811
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2812
- * Whether to show the ruler on the graph.
2944
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2945
+ customKeypad?: boolean | undefined; /**
2946
+ * Whether to show tooltips on the graph.
2947
+ * (Currently not used, but will be in the future.)
2813
2948
  */
2814
- customKeypad?: boolean | undefined;
2815
2949
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2816
2950
  isMobile?: boolean | undefined;
2817
2951
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2877,15 +3011,18 @@ declare const InteractiveGraph: {
2877
3011
  baseElements?: {
2878
3012
  Link: React.ComponentType<any>;
2879
3013
  } | undefined;
2880
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3014
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3015
+ * Whether to show the ruler on the graph.
3016
+ */
2881
3017
  trackInteraction?: ((args: {
2882
3018
  type: string;
2883
3019
  id: string;
2884
3020
  correct?: boolean | undefined;
2885
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2886
- * Whether to show the ruler on the graph.
3021
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3022
+ customKeypad?: boolean | undefined; /**
3023
+ * Whether to show tooltips on the graph.
3024
+ * (Currently not used, but will be in the future.)
2887
3025
  */
2888
- customKeypad?: boolean | undefined;
2889
3026
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2890
3027
  isMobile?: boolean | undefined;
2891
3028
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -2951,15 +3088,18 @@ declare const InteractiveGraph: {
2951
3088
  baseElements?: {
2952
3089
  Link: React.ComponentType<any>;
2953
3090
  } | undefined;
2954
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3091
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3092
+ * Whether to show the ruler on the graph.
3093
+ */
2955
3094
  trackInteraction?: ((args: {
2956
3095
  type: string;
2957
3096
  id: string;
2958
3097
  correct?: boolean | undefined;
2959
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
2960
- * Whether to show the ruler on the graph.
3098
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3099
+ customKeypad?: boolean | undefined; /**
3100
+ * Whether to show tooltips on the graph.
3101
+ * (Currently not used, but will be in the future.)
2961
3102
  */
2962
- customKeypad?: boolean | undefined;
2963
3103
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2964
3104
  isMobile?: boolean | undefined;
2965
3105
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3025,15 +3165,18 @@ declare const InteractiveGraph: {
3025
3165
  baseElements?: {
3026
3166
  Link: React.ComponentType<any>;
3027
3167
  } | undefined;
3028
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3168
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3169
+ * Whether to show the ruler on the graph.
3170
+ */
3029
3171
  trackInteraction?: ((args: {
3030
3172
  type: string;
3031
3173
  id: string;
3032
3174
  correct?: boolean | undefined;
3033
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3034
- * Whether to show the ruler on the graph.
3175
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3176
+ customKeypad?: boolean | undefined; /**
3177
+ * Whether to show tooltips on the graph.
3178
+ * (Currently not used, but will be in the future.)
3035
3179
  */
3036
- customKeypad?: boolean | undefined;
3037
3180
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3038
3181
  isMobile?: boolean | undefined;
3039
3182
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3099,15 +3242,18 @@ declare const InteractiveGraph: {
3099
3242
  baseElements?: {
3100
3243
  Link: React.ComponentType<any>;
3101
3244
  } | undefined;
3102
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3245
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3246
+ * Whether to show the ruler on the graph.
3247
+ */
3103
3248
  trackInteraction?: ((args: {
3104
3249
  type: string;
3105
3250
  id: string;
3106
3251
  correct?: boolean | undefined;
3107
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3108
- * Whether to show the ruler on the graph.
3252
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3253
+ customKeypad?: boolean | undefined; /**
3254
+ * Whether to show tooltips on the graph.
3255
+ * (Currently not used, but will be in the future.)
3109
3256
  */
3110
- customKeypad?: boolean | undefined;
3111
3257
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3112
3258
  isMobile?: boolean | undefined;
3113
3259
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3173,15 +3319,18 @@ declare const InteractiveGraph: {
3173
3319
  baseElements?: {
3174
3320
  Link: React.ComponentType<any>;
3175
3321
  } | undefined;
3176
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3322
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3323
+ * Whether to show the ruler on the graph.
3324
+ */
3177
3325
  trackInteraction?: ((args: {
3178
3326
  type: string;
3179
3327
  id: string;
3180
3328
  correct?: boolean | undefined;
3181
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3182
- * Whether to show the ruler on the graph.
3329
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3330
+ customKeypad?: boolean | undefined; /**
3331
+ * Whether to show tooltips on the graph.
3332
+ * (Currently not used, but will be in the future.)
3183
3333
  */
3184
- customKeypad?: boolean | undefined;
3185
3334
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3186
3335
  isMobile?: boolean | undefined;
3187
3336
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3247,15 +3396,18 @@ declare const InteractiveGraph: {
3247
3396
  baseElements?: {
3248
3397
  Link: React.ComponentType<any>;
3249
3398
  } | undefined;
3250
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3399
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3400
+ * Whether to show the ruler on the graph.
3401
+ */
3251
3402
  trackInteraction?: ((args: {
3252
3403
  type: string;
3253
3404
  id: string;
3254
3405
  correct?: boolean | undefined;
3255
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3256
- * Whether to show the ruler on the graph.
3406
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3407
+ customKeypad?: boolean | undefined; /**
3408
+ * Whether to show tooltips on the graph.
3409
+ * (Currently not used, but will be in the future.)
3257
3410
  */
3258
- customKeypad?: boolean | undefined;
3259
3411
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3260
3412
  isMobile?: boolean | undefined;
3261
3413
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3321,15 +3473,18 @@ declare const InteractiveGraph: {
3321
3473
  baseElements?: {
3322
3474
  Link: React.ComponentType<any>;
3323
3475
  } | undefined;
3324
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3476
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3477
+ * Whether to show the ruler on the graph.
3478
+ */
3325
3479
  trackInteraction?: ((args: {
3326
3480
  type: string;
3327
3481
  id: string;
3328
3482
  correct?: boolean | undefined;
3329
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3330
- * Whether to show the ruler on the graph.
3483
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3484
+ customKeypad?: boolean | undefined; /**
3485
+ * Whether to show tooltips on the graph.
3486
+ * (Currently not used, but will be in the future.)
3331
3487
  */
3332
- customKeypad?: boolean | undefined;
3333
3488
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3334
3489
  isMobile?: boolean | undefined;
3335
3490
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3395,15 +3550,18 @@ declare const InteractiveGraph: {
3395
3550
  baseElements?: {
3396
3551
  Link: React.ComponentType<any>;
3397
3552
  } | undefined;
3398
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3553
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3554
+ * Whether to show the ruler on the graph.
3555
+ */
3399
3556
  trackInteraction?: ((args: {
3400
3557
  type: string;
3401
3558
  id: string;
3402
3559
  correct?: boolean | undefined;
3403
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3404
- * Whether to show the ruler on the graph.
3560
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3561
+ customKeypad?: boolean | undefined; /**
3562
+ * Whether to show tooltips on the graph.
3563
+ * (Currently not used, but will be in the future.)
3405
3564
  */
3406
- customKeypad?: boolean | undefined;
3407
3565
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3408
3566
  isMobile?: boolean | undefined;
3409
3567
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3469,15 +3627,18 @@ declare const InteractiveGraph: {
3469
3627
  baseElements?: {
3470
3628
  Link: React.ComponentType<any>;
3471
3629
  } | undefined;
3472
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3630
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3631
+ * Whether to show the ruler on the graph.
3632
+ */
3473
3633
  trackInteraction?: ((args: {
3474
3634
  type: string;
3475
3635
  id: string;
3476
3636
  correct?: boolean | undefined;
3477
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3478
- * Whether to show the ruler on the graph.
3637
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3638
+ customKeypad?: boolean | undefined; /**
3639
+ * Whether to show tooltips on the graph.
3640
+ * (Currently not used, but will be in the future.)
3479
3641
  */
3480
- customKeypad?: boolean | undefined;
3481
3642
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3482
3643
  isMobile?: boolean | undefined;
3483
3644
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3520,7 +3681,7 @@ declare const InteractiveGraph: {
3520
3681
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
3521
3682
  containerSizeClass: SizingUtils.SizeClass;
3522
3683
  }): string;
3523
- validate(state: import("../../../perseus/src/perseus-types").PerseusGraphType, rubric: PerseusInteractiveGraphWidgetOptions, component: any): import("@khanacademy/perseus").PerseusScore;
3684
+ validate(state: import("@khanacademy/perseus").PerseusGraphType, rubric: PerseusInteractiveGraphWidgetOptions, component: any): import("@khanacademy/perseus").PerseusScore;
3524
3685
  getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
3525
3686
  widgetId: string;
3526
3687
  alignment: string | null | undefined;
@@ -3544,15 +3705,18 @@ declare const InteractiveGraph: {
3544
3705
  baseElements?: {
3545
3706
  Link: React.ComponentType<any>;
3546
3707
  } | undefined;
3547
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3708
+ imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined; /**
3709
+ * Whether to show the ruler on the graph.
3710
+ */
3548
3711
  trackInteraction?: ((args: {
3549
3712
  type: string;
3550
3713
  id: string;
3551
3714
  correct?: boolean | undefined;
3552
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined; /**
3553
- * Whether to show the ruler on the graph.
3715
+ } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3716
+ customKeypad?: boolean | undefined; /**
3717
+ * Whether to show tooltips on the graph.
3718
+ * (Currently not used, but will be in the future.)
3554
3719
  */
3555
- customKeypad?: boolean | undefined;
3556
3720
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3557
3721
  isMobile?: boolean | undefined;
3558
3722
  setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
@@ -3594,12 +3758,12 @@ declare const InteractiveGraph: {
3594
3758
  isLastUsedWidget: boolean;
3595
3759
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
3596
3760
  containerSizeClass: SizingUtils.SizeClass;
3597
- }): import("../../../perseus/src/perseus-types").PerseusGraphType;
3761
+ }): import("@khanacademy/perseus").PerseusGraphType;
3598
3762
  contextType?: React.Context<any> | undefined;
3599
3763
  };
3600
3764
  type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
3601
3765
  type Range = [min: number, max: number];
3602
- type Props = {
3766
+ export type Props = {
3603
3767
  apiOptions: APIOptionsWithDefaults;
3604
3768
  /**
3605
3769
  * The labels for the x and y axes.
@@ -3673,6 +3837,12 @@ type Props = {
3673
3837
  * editor page.
3674
3838
  */
3675
3839
  correct: any;
3840
+ /**
3841
+ * The locked figures to display in the graph area.
3842
+ * Locked figures are graph elements (points, lines, line segmeents,
3843
+ * etc.) that are locked in place and not interactive.
3844
+ */
3845
+ lockedFigures?: Array<LockedFigure>;
3676
3846
  /**
3677
3847
  * The graph to display in the graph area.
3678
3848
  */
@@ -3711,7 +3881,7 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
3711
3881
  };
3712
3882
  UNSAFE_componentWillMount(): void;
3713
3883
  render(): JSX.Element;
3714
- changeMatchType(e: any): void;
3884
+ changeMatchType: (newValue: any) => void;
3715
3885
  serialize(): PerseusInteractiveGraphWidgetOptions;
3716
3886
  }
3717
3887
  export default InteractiveGraphEditor;