@khanacademy/perseus-editor 14.0.1 → 14.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, LockedFigure } from "@khanacademy/perseus";
3
+ import type { APIOptionsWithDefaults, LockedFigure, PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, PerseusGraphType } from "@khanacademy/perseus";
4
4
  import type { PropsFor } from "@khanacademy/wonder-blocks-core";
5
5
  declare const InteractiveGraph: {
6
6
  new (props: PerseusInteractiveGraphWidgetOptions & {
@@ -9,6 +9,10 @@ declare const InteractiveGraph: {
9
9
  static: boolean | null | undefined;
10
10
  problemNum: number | null | undefined;
11
11
  apiOptions: Readonly<Readonly<{
12
+ /**
13
+ * An error message to display in the graph area, or true if the
14
+ * graph is valid.
15
+ */
12
16
  isArticle?: boolean | undefined;
13
17
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
14
18
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -26,12 +30,12 @@ declare const InteractiveGraph: {
26
30
  baseElements?: {
27
31
  Link: React.ComponentType<any>;
28
32
  } | undefined;
29
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
33
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
30
34
  trackInteraction?: ((args: {
31
35
  type: string;
32
36
  id: string;
33
37
  correct?: boolean | undefined;
34
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
38
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
35
39
  customKeypad?: boolean | undefined;
36
40
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
37
41
  isMobile?: boolean | undefined;
@@ -86,8 +90,8 @@ declare const InteractiveGraph: {
86
90
  questionCompleted?: boolean | undefined;
87
91
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
88
92
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
89
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
90
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
93
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
94
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
91
95
  onChange: import("@khanacademy/perseus").ChangeHandler;
92
96
  trackInteraction: (extraData?: Empty | undefined) => void;
93
97
  isLastUsedWidget: boolean;
@@ -96,7 +100,7 @@ declare const InteractiveGraph: {
96
100
  }): {
97
101
  legacyGraphRef: React.RefObject<{
98
102
  context: {
99
- strings: import("../../../perseus/src/strings").PerseusStrings;
103
+ strings: import("../../../../perseus/src/strings").PerseusStrings;
100
104
  locale: string;
101
105
  };
102
106
  angle: any;
@@ -123,6 +127,10 @@ declare const InteractiveGraph: {
123
127
  static: boolean | null | undefined;
124
128
  problemNum: number | null | undefined;
125
129
  apiOptions: Readonly<Readonly<{
130
+ /**
131
+ * An error message to display in the graph area, or true if the
132
+ * graph is valid.
133
+ */
126
134
  isArticle?: boolean | undefined;
127
135
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
128
136
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -140,12 +148,12 @@ declare const InteractiveGraph: {
140
148
  baseElements?: {
141
149
  Link: React.ComponentType<any>;
142
150
  } | undefined;
143
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
151
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
144
152
  trackInteraction?: ((args: {
145
153
  type: string;
146
154
  id: string;
147
155
  correct?: boolean | undefined;
148
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
156
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
149
157
  customKeypad?: boolean | undefined;
150
158
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
151
159
  isMobile?: boolean | undefined;
@@ -200,8 +208,8 @@ declare const InteractiveGraph: {
200
208
  questionCompleted?: boolean | undefined;
201
209
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
202
210
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
203
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
204
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
211
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
212
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
205
213
  onChange: import("@khanacademy/perseus").ChangeHandler;
206
214
  trackInteraction: (extraData?: Empty | undefined) => void;
207
215
  isLastUsedWidget: boolean;
@@ -214,6 +222,10 @@ declare const InteractiveGraph: {
214
222
  static: boolean | null | undefined;
215
223
  problemNum: number | null | undefined;
216
224
  apiOptions: Readonly<Readonly<{
225
+ /**
226
+ * An error message to display in the graph area, or true if the
227
+ * graph is valid.
228
+ */
217
229
  isArticle?: boolean | undefined;
218
230
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
219
231
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -231,12 +243,12 @@ declare const InteractiveGraph: {
231
243
  baseElements?: {
232
244
  Link: React.ComponentType<any>;
233
245
  } | undefined;
234
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
246
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
235
247
  trackInteraction?: ((args: {
236
248
  type: string;
237
249
  id: string;
238
250
  correct?: boolean | undefined;
239
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
251
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
240
252
  customKeypad?: boolean | undefined;
241
253
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
242
254
  isMobile?: boolean | undefined;
@@ -291,8 +303,8 @@ declare const InteractiveGraph: {
291
303
  questionCompleted?: boolean | undefined;
292
304
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
293
305
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
294
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
295
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
306
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
307
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
296
308
  onChange: import("@khanacademy/perseus").ChangeHandler;
297
309
  trackInteraction: (extraData?: Empty | undefined) => void;
298
310
  isLastUsedWidget: boolean;
@@ -305,6 +317,10 @@ declare const InteractiveGraph: {
305
317
  static: boolean | null | undefined;
306
318
  problemNum: number | null | undefined;
307
319
  apiOptions: Readonly<Readonly<{
320
+ /**
321
+ * An error message to display in the graph area, or true if the
322
+ * graph is valid.
323
+ */
308
324
  isArticle?: boolean | undefined;
309
325
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
310
326
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -322,12 +338,12 @@ declare const InteractiveGraph: {
322
338
  baseElements?: {
323
339
  Link: React.ComponentType<any>;
324
340
  } | undefined;
325
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
341
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
326
342
  trackInteraction?: ((args: {
327
343
  type: string;
328
344
  id: string;
329
345
  correct?: boolean | undefined;
330
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
346
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
331
347
  customKeypad?: boolean | undefined;
332
348
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
333
349
  isMobile?: boolean | undefined;
@@ -382,16 +398,14 @@ declare const InteractiveGraph: {
382
398
  questionCompleted?: boolean | undefined;
383
399
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
384
400
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
385
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
386
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
401
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
402
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
387
403
  onChange: import("@khanacademy/perseus").ChangeHandler;
388
404
  trackInteraction: (extraData?: Empty | undefined) => void;
389
405
  isLastUsedWidget: boolean;
390
406
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
391
407
  containerSizeClass: SizingUtils.SizeClass;
392
- }) | null | undefined) => boolean; /**
393
- * The range of the graph in the x and y directions.
394
- */
408
+ }) | null | undefined) => boolean;
395
409
  setGraphie: (arg1: any) => void;
396
410
  handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
397
411
  resetGraphie: () => void;
@@ -405,6 +419,10 @@ declare const InteractiveGraph: {
405
419
  static: boolean | null | undefined;
406
420
  problemNum: number | null | undefined;
407
421
  apiOptions: Readonly<Readonly<{
422
+ /**
423
+ * An error message to display in the graph area, or true if the
424
+ * graph is valid.
425
+ */
408
426
  isArticle?: boolean | undefined;
409
427
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
410
428
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -422,12 +440,12 @@ declare const InteractiveGraph: {
422
440
  baseElements?: {
423
441
  Link: React.ComponentType<any>;
424
442
  } | undefined;
425
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
443
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
426
444
  trackInteraction?: ((args: {
427
445
  type: string;
428
446
  id: string;
429
447
  correct?: boolean | undefined;
430
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
448
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
431
449
  customKeypad?: boolean | undefined;
432
450
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
433
451
  isMobile?: boolean | undefined;
@@ -482,18 +500,18 @@ declare const InteractiveGraph: {
482
500
  questionCompleted?: boolean | undefined;
483
501
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
484
502
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
485
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
486
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
503
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
504
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
487
505
  onChange: import("@khanacademy/perseus").ChangeHandler;
488
506
  trackInteraction: (extraData?: Empty | undefined) => void;
489
507
  isLastUsedWidget: boolean;
490
508
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
491
509
  containerSizeClass: SizingUtils.SizeClass;
492
510
  }) | null | undefined) => boolean;
493
- areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
494
- arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
495
- arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
496
- areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
511
+ areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
512
+ arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
513
+ arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
514
+ areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
497
515
  _lineStroke: () => {
498
516
  "stroke-width"?: number | undefined;
499
517
  };
@@ -518,26 +536,20 @@ declare const InteractiveGraph: {
518
536
  updateCoordsFromPoints: () => void;
519
537
  clearCoords: () => void;
520
538
  onChange: import("@khanacademy/perseus").ChangeHandler;
521
- addPointControls: () => void; /**
522
- * The locked figures to display in the graph area.
523
- * Locked figures are graph elements (points, lines, line segmeents,
524
- * etc.) that are locked in place and not interactive.
525
- */
539
+ addPointControls: () => void;
526
540
  removePointControls: () => void;
527
541
  addSegmentControls: () => void;
528
542
  removeSegmentControls: () => void;
529
543
  addRayControls: () => void;
530
544
  removeRayControls: () => void;
531
545
  addPolygonControls: () => void;
532
- updatePolygon: () => void; /**
533
- * The graph to display in the graph area.
534
- */
546
+ updatePolygon: () => void;
535
547
  removePolygonControls: () => void;
536
548
  addAngleControls: () => void;
537
549
  removeAngleControls: () => void;
538
550
  toggleShowSides: () => void;
539
- getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
540
- simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
551
+ getUserInput(): PerseusGraphType;
552
+ simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
541
553
  focus: () => void;
542
554
  render(): React.ReactNode;
543
555
  setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
@@ -548,6 +560,10 @@ declare const InteractiveGraph: {
548
560
  static: boolean | null | undefined;
549
561
  problemNum: number | null | undefined;
550
562
  apiOptions: Readonly<Readonly<{
563
+ /**
564
+ * An error message to display in the graph area, or true if the
565
+ * graph is valid.
566
+ */
551
567
  isArticle?: boolean | undefined;
552
568
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
553
569
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -565,12 +581,12 @@ declare const InteractiveGraph: {
565
581
  baseElements?: {
566
582
  Link: React.ComponentType<any>;
567
583
  } | undefined;
568
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
584
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
569
585
  trackInteraction?: ((args: {
570
586
  type: string;
571
587
  id: string;
572
588
  correct?: boolean | undefined;
573
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
589
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
574
590
  customKeypad?: boolean | undefined;
575
591
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
576
592
  isMobile?: boolean | undefined;
@@ -625,8 +641,8 @@ declare const InteractiveGraph: {
625
641
  questionCompleted?: boolean | undefined;
626
642
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
627
643
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
628
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
629
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
644
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
645
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
630
646
  onChange: import("@khanacademy/perseus").ChangeHandler;
631
647
  trackInteraction: (extraData?: Empty | undefined) => void;
632
648
  isLastUsedWidget: boolean;
@@ -642,6 +658,10 @@ declare const InteractiveGraph: {
642
658
  static: boolean | null | undefined;
643
659
  problemNum: number | null | undefined;
644
660
  apiOptions: Readonly<Readonly<{
661
+ /**
662
+ * An error message to display in the graph area, or true if the
663
+ * graph is valid.
664
+ */
645
665
  isArticle?: boolean | undefined;
646
666
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
647
667
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -659,12 +679,12 @@ declare const InteractiveGraph: {
659
679
  baseElements?: {
660
680
  Link: React.ComponentType<any>;
661
681
  } | undefined;
662
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
682
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
663
683
  trackInteraction?: ((args: {
664
684
  type: string;
665
685
  id: string;
666
686
  correct?: boolean | undefined;
667
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
687
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
668
688
  customKeypad?: boolean | undefined;
669
689
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
670
690
  isMobile?: boolean | undefined;
@@ -719,8 +739,8 @@ declare const InteractiveGraph: {
719
739
  questionCompleted?: boolean | undefined;
720
740
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
721
741
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
722
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
723
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
742
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
743
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
724
744
  onChange: import("@khanacademy/perseus").ChangeHandler;
725
745
  trackInteraction: (extraData?: Empty | undefined) => void;
726
746
  isLastUsedWidget: boolean;
@@ -735,6 +755,10 @@ declare const InteractiveGraph: {
735
755
  static: boolean | null | undefined;
736
756
  problemNum: number | null | undefined;
737
757
  apiOptions: Readonly<Readonly<{
758
+ /**
759
+ * An error message to display in the graph area, or true if the
760
+ * graph is valid.
761
+ */
738
762
  isArticle?: boolean | undefined;
739
763
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
740
764
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -752,12 +776,12 @@ declare const InteractiveGraph: {
752
776
  baseElements?: {
753
777
  Link: React.ComponentType<any>;
754
778
  } | undefined;
755
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
779
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
756
780
  trackInteraction?: ((args: {
757
781
  type: string;
758
782
  id: string;
759
783
  correct?: boolean | undefined;
760
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
784
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
761
785
  customKeypad?: boolean | undefined;
762
786
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
763
787
  isMobile?: boolean | undefined;
@@ -812,8 +836,8 @@ declare const InteractiveGraph: {
812
836
  questionCompleted?: boolean | undefined;
813
837
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
814
838
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
815
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
816
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
839
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
840
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
817
841
  onChange: import("@khanacademy/perseus").ChangeHandler;
818
842
  trackInteraction: (extraData?: Empty | undefined) => void;
819
843
  isLastUsedWidget: boolean;
@@ -828,6 +852,10 @@ declare const InteractiveGraph: {
828
852
  static: boolean | null | undefined;
829
853
  problemNum: number | null | undefined;
830
854
  apiOptions: Readonly<Readonly<{
855
+ /**
856
+ * An error message to display in the graph area, or true if the
857
+ * graph is valid.
858
+ */
831
859
  isArticle?: boolean | undefined;
832
860
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
833
861
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -845,12 +873,12 @@ declare const InteractiveGraph: {
845
873
  baseElements?: {
846
874
  Link: React.ComponentType<any>;
847
875
  } | undefined;
848
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
876
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
849
877
  trackInteraction?: ((args: {
850
878
  type: string;
851
879
  id: string;
852
880
  correct?: boolean | undefined;
853
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
881
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
854
882
  customKeypad?: boolean | undefined;
855
883
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
856
884
  isMobile?: boolean | undefined;
@@ -905,8 +933,8 @@ declare const InteractiveGraph: {
905
933
  questionCompleted?: boolean | undefined;
906
934
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
907
935
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
908
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
909
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
936
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
937
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
910
938
  onChange: import("@khanacademy/perseus").ChangeHandler;
911
939
  trackInteraction: (extraData?: Empty | undefined) => void;
912
940
  isLastUsedWidget: boolean;
@@ -919,6 +947,10 @@ declare const InteractiveGraph: {
919
947
  static: boolean | null | undefined;
920
948
  problemNum: number | null | undefined;
921
949
  apiOptions: Readonly<Readonly<{
950
+ /**
951
+ * An error message to display in the graph area, or true if the
952
+ * graph is valid.
953
+ */
922
954
  isArticle?: boolean | undefined;
923
955
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
924
956
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -936,12 +968,12 @@ declare const InteractiveGraph: {
936
968
  baseElements?: {
937
969
  Link: React.ComponentType<any>;
938
970
  } | undefined;
939
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
971
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
940
972
  trackInteraction?: ((args: {
941
973
  type: string;
942
974
  id: string;
943
975
  correct?: boolean | undefined;
944
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
976
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
945
977
  customKeypad?: boolean | undefined;
946
978
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
947
979
  isMobile?: boolean | undefined;
@@ -996,8 +1028,8 @@ declare const InteractiveGraph: {
996
1028
  questionCompleted?: boolean | undefined;
997
1029
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
998
1030
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
999
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1000
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1031
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1032
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1001
1033
  onChange: import("@khanacademy/perseus").ChangeHandler;
1002
1034
  trackInteraction: (extraData?: Empty | undefined) => void;
1003
1035
  isLastUsedWidget: boolean;
@@ -1010,6 +1042,10 @@ declare const InteractiveGraph: {
1010
1042
  static: boolean | null | undefined;
1011
1043
  problemNum: number | null | undefined;
1012
1044
  apiOptions: Readonly<Readonly<{
1045
+ /**
1046
+ * An error message to display in the graph area, or true if the
1047
+ * graph is valid.
1048
+ */
1013
1049
  isArticle?: boolean | undefined;
1014
1050
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1015
1051
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1027,12 +1063,12 @@ declare const InteractiveGraph: {
1027
1063
  baseElements?: {
1028
1064
  Link: React.ComponentType<any>;
1029
1065
  } | undefined;
1030
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1066
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1031
1067
  trackInteraction?: ((args: {
1032
1068
  type: string;
1033
1069
  id: string;
1034
1070
  correct?: boolean | undefined;
1035
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1071
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1036
1072
  customKeypad?: boolean | undefined;
1037
1073
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1038
1074
  isMobile?: boolean | undefined;
@@ -1087,8 +1123,8 @@ declare const InteractiveGraph: {
1087
1123
  questionCompleted?: boolean | undefined;
1088
1124
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1089
1125
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1090
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1091
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1126
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1127
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1092
1128
  onChange: import("@khanacademy/perseus").ChangeHandler;
1093
1129
  trackInteraction: (extraData?: Empty | undefined) => void;
1094
1130
  isLastUsedWidget: boolean;
@@ -1096,9 +1132,9 @@ declare const InteractiveGraph: {
1096
1132
  containerSizeClass: SizingUtils.SizeClass;
1097
1133
  }>, nextState: Readonly<any>, nextContext: any): void;
1098
1134
  }>;
1099
- mafsRef: React.RefObject<import("../../../perseus/src/renderer").Widget>;
1135
+ mafsRef: React.RefObject<import("../../../../perseus/src/renderer").Widget>;
1100
1136
  getUserInput: (() => any) | undefined;
1101
- simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
1137
+ simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
1102
1138
  render(): React.JSX.Element;
1103
1139
  context: unknown;
1104
1140
  setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
@@ -1109,6 +1145,10 @@ declare const InteractiveGraph: {
1109
1145
  static: boolean | null | undefined;
1110
1146
  problemNum: number | null | undefined;
1111
1147
  apiOptions: Readonly<Readonly<{
1148
+ /**
1149
+ * An error message to display in the graph area, or true if the
1150
+ * graph is valid.
1151
+ */
1112
1152
  isArticle?: boolean | undefined;
1113
1153
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1114
1154
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1126,12 +1166,12 @@ declare const InteractiveGraph: {
1126
1166
  baseElements?: {
1127
1167
  Link: React.ComponentType<any>;
1128
1168
  } | undefined;
1129
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1169
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1130
1170
  trackInteraction?: ((args: {
1131
1171
  type: string;
1132
1172
  id: string;
1133
1173
  correct?: boolean | undefined;
1134
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1174
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1135
1175
  customKeypad?: boolean | undefined;
1136
1176
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1137
1177
  isMobile?: boolean | undefined;
@@ -1186,8 +1226,8 @@ declare const InteractiveGraph: {
1186
1226
  questionCompleted?: boolean | undefined;
1187
1227
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1188
1228
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1189
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1190
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1229
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1230
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1191
1231
  onChange: import("@khanacademy/perseus").ChangeHandler;
1192
1232
  trackInteraction: (extraData?: Empty | undefined) => void;
1193
1233
  isLastUsedWidget: boolean;
@@ -1205,6 +1245,10 @@ declare const InteractiveGraph: {
1205
1245
  static: boolean | null | undefined;
1206
1246
  problemNum: number | null | undefined;
1207
1247
  apiOptions: Readonly<Readonly<{
1248
+ /**
1249
+ * An error message to display in the graph area, or true if the
1250
+ * graph is valid.
1251
+ */
1208
1252
  isArticle?: boolean | undefined;
1209
1253
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1210
1254
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1222,12 +1266,12 @@ declare const InteractiveGraph: {
1222
1266
  baseElements?: {
1223
1267
  Link: React.ComponentType<any>;
1224
1268
  } | undefined;
1225
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1269
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1226
1270
  trackInteraction?: ((args: {
1227
1271
  type: string;
1228
1272
  id: string;
1229
1273
  correct?: boolean | undefined;
1230
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1274
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1231
1275
  customKeypad?: boolean | undefined;
1232
1276
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1233
1277
  isMobile?: boolean | undefined;
@@ -1282,8 +1326,8 @@ declare const InteractiveGraph: {
1282
1326
  questionCompleted?: boolean | undefined;
1283
1327
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1284
1328
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1285
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1286
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1329
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1330
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1287
1331
  onChange: import("@khanacademy/perseus").ChangeHandler;
1288
1332
  trackInteraction: (extraData?: Empty | undefined) => void;
1289
1333
  isLastUsedWidget: boolean;
@@ -1298,6 +1342,10 @@ declare const InteractiveGraph: {
1298
1342
  static: boolean | null | undefined;
1299
1343
  problemNum: number | null | undefined;
1300
1344
  apiOptions: Readonly<Readonly<{
1345
+ /**
1346
+ * An error message to display in the graph area, or true if the
1347
+ * graph is valid.
1348
+ */
1301
1349
  isArticle?: boolean | undefined;
1302
1350
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1303
1351
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1315,12 +1363,12 @@ declare const InteractiveGraph: {
1315
1363
  baseElements?: {
1316
1364
  Link: React.ComponentType<any>;
1317
1365
  } | undefined;
1318
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1366
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1319
1367
  trackInteraction?: ((args: {
1320
1368
  type: string;
1321
1369
  id: string;
1322
1370
  correct?: boolean | undefined;
1323
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1371
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1324
1372
  customKeypad?: boolean | undefined;
1325
1373
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1326
1374
  isMobile?: boolean | undefined;
@@ -1375,8 +1423,8 @@ declare const InteractiveGraph: {
1375
1423
  questionCompleted?: boolean | undefined;
1376
1424
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1377
1425
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1378
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1379
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1426
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1427
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1380
1428
  onChange: import("@khanacademy/perseus").ChangeHandler;
1381
1429
  trackInteraction: (extraData?: Empty | undefined) => void;
1382
1430
  isLastUsedWidget: boolean;
@@ -1389,6 +1437,10 @@ declare const InteractiveGraph: {
1389
1437
  static: boolean | null | undefined;
1390
1438
  problemNum: number | null | undefined;
1391
1439
  apiOptions: Readonly<Readonly<{
1440
+ /**
1441
+ * An error message to display in the graph area, or true if the
1442
+ * graph is valid.
1443
+ */
1392
1444
  isArticle?: boolean | undefined;
1393
1445
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1394
1446
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1406,12 +1458,12 @@ declare const InteractiveGraph: {
1406
1458
  baseElements?: {
1407
1459
  Link: React.ComponentType<any>;
1408
1460
  } | undefined;
1409
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1461
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1410
1462
  trackInteraction?: ((args: {
1411
1463
  type: string;
1412
1464
  id: string;
1413
1465
  correct?: boolean | undefined;
1414
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1466
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1415
1467
  customKeypad?: boolean | undefined;
1416
1468
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1417
1469
  isMobile?: boolean | undefined;
@@ -1466,8 +1518,8 @@ declare const InteractiveGraph: {
1466
1518
  questionCompleted?: boolean | undefined;
1467
1519
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1468
1520
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1469
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1470
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1521
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1522
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1471
1523
  onChange: import("@khanacademy/perseus").ChangeHandler;
1472
1524
  trackInteraction: (extraData?: Empty | undefined) => void;
1473
1525
  isLastUsedWidget: boolean;
@@ -1482,6 +1534,10 @@ declare const InteractiveGraph: {
1482
1534
  static: boolean | null | undefined;
1483
1535
  problemNum: number | null | undefined;
1484
1536
  apiOptions: Readonly<Readonly<{
1537
+ /**
1538
+ * An error message to display in the graph area, or true if the
1539
+ * graph is valid.
1540
+ */
1485
1541
  isArticle?: boolean | undefined;
1486
1542
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1487
1543
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1499,12 +1555,12 @@ declare const InteractiveGraph: {
1499
1555
  baseElements?: {
1500
1556
  Link: React.ComponentType<any>;
1501
1557
  } | undefined;
1502
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1558
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1503
1559
  trackInteraction?: ((args: {
1504
1560
  type: string;
1505
1561
  id: string;
1506
1562
  correct?: boolean | undefined;
1507
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1563
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1508
1564
  customKeypad?: boolean | undefined;
1509
1565
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1510
1566
  isMobile?: boolean | undefined;
@@ -1559,8 +1615,8 @@ declare const InteractiveGraph: {
1559
1615
  questionCompleted?: boolean | undefined;
1560
1616
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1561
1617
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1562
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1563
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1618
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1619
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1564
1620
  onChange: import("@khanacademy/perseus").ChangeHandler;
1565
1621
  trackInteraction: (extraData?: Empty | undefined) => void;
1566
1622
  isLastUsedWidget: boolean;
@@ -1573,6 +1629,10 @@ declare const InteractiveGraph: {
1573
1629
  static: boolean | null | undefined;
1574
1630
  problemNum: number | null | undefined;
1575
1631
  apiOptions: Readonly<Readonly<{
1632
+ /**
1633
+ * An error message to display in the graph area, or true if the
1634
+ * graph is valid.
1635
+ */
1576
1636
  isArticle?: boolean | undefined;
1577
1637
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1578
1638
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1590,12 +1650,12 @@ declare const InteractiveGraph: {
1590
1650
  baseElements?: {
1591
1651
  Link: React.ComponentType<any>;
1592
1652
  } | undefined;
1593
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1653
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1594
1654
  trackInteraction?: ((args: {
1595
1655
  type: string;
1596
1656
  id: string;
1597
1657
  correct?: boolean | undefined;
1598
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1658
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1599
1659
  customKeypad?: boolean | undefined;
1600
1660
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1601
1661
  isMobile?: boolean | undefined;
@@ -1650,8 +1710,8 @@ declare const InteractiveGraph: {
1650
1710
  questionCompleted?: boolean | undefined;
1651
1711
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1652
1712
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1653
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1654
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1713
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1714
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1655
1715
  onChange: import("@khanacademy/perseus").ChangeHandler;
1656
1716
  trackInteraction: (extraData?: Empty | undefined) => void;
1657
1717
  isLastUsedWidget: boolean;
@@ -1664,6 +1724,10 @@ declare const InteractiveGraph: {
1664
1724
  static: boolean | null | undefined;
1665
1725
  problemNum: number | null | undefined;
1666
1726
  apiOptions: Readonly<Readonly<{
1727
+ /**
1728
+ * An error message to display in the graph area, or true if the
1729
+ * graph is valid.
1730
+ */
1667
1731
  isArticle?: boolean | undefined;
1668
1732
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1669
1733
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1681,12 +1745,12 @@ declare const InteractiveGraph: {
1681
1745
  baseElements?: {
1682
1746
  Link: React.ComponentType<any>;
1683
1747
  } | undefined;
1684
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1748
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1685
1749
  trackInteraction?: ((args: {
1686
1750
  type: string;
1687
1751
  id: string;
1688
1752
  correct?: boolean | undefined;
1689
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1753
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1690
1754
  customKeypad?: boolean | undefined;
1691
1755
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1692
1756
  isMobile?: boolean | undefined;
@@ -1741,8 +1805,8 @@ declare const InteractiveGraph: {
1741
1805
  questionCompleted?: boolean | undefined;
1742
1806
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1743
1807
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1744
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1745
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1808
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1809
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1746
1810
  onChange: import("@khanacademy/perseus").ChangeHandler;
1747
1811
  trackInteraction: (extraData?: Empty | undefined) => void;
1748
1812
  isLastUsedWidget: boolean;
@@ -1755,6 +1819,10 @@ declare const InteractiveGraph: {
1755
1819
  static: boolean | null | undefined;
1756
1820
  problemNum: number | null | undefined;
1757
1821
  apiOptions: Readonly<Readonly<{
1822
+ /**
1823
+ * An error message to display in the graph area, or true if the
1824
+ * graph is valid.
1825
+ */
1758
1826
  isArticle?: boolean | undefined;
1759
1827
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1760
1828
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1772,12 +1840,12 @@ declare const InteractiveGraph: {
1772
1840
  baseElements?: {
1773
1841
  Link: React.ComponentType<any>;
1774
1842
  } | undefined;
1775
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1843
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1776
1844
  trackInteraction?: ((args: {
1777
1845
  type: string;
1778
1846
  id: string;
1779
1847
  correct?: boolean | undefined;
1780
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1848
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1781
1849
  customKeypad?: boolean | undefined;
1782
1850
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1783
1851
  isMobile?: boolean | undefined;
@@ -1832,8 +1900,8 @@ declare const InteractiveGraph: {
1832
1900
  questionCompleted?: boolean | undefined;
1833
1901
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1834
1902
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1835
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1836
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1903
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
1904
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1837
1905
  onChange: import("@khanacademy/perseus").ChangeHandler;
1838
1906
  trackInteraction: (extraData?: Empty | undefined) => void;
1839
1907
  isLastUsedWidget: boolean;
@@ -1847,6 +1915,10 @@ declare const InteractiveGraph: {
1847
1915
  static: boolean | null | undefined;
1848
1916
  problemNum: number | null | undefined;
1849
1917
  apiOptions: Readonly<Readonly<{
1918
+ /**
1919
+ * An error message to display in the graph area, or true if the
1920
+ * graph is valid.
1921
+ */
1850
1922
  isArticle?: boolean | undefined;
1851
1923
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1852
1924
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1864,12 +1936,12 @@ declare const InteractiveGraph: {
1864
1936
  baseElements?: {
1865
1937
  Link: React.ComponentType<any>;
1866
1938
  } | undefined;
1867
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1939
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1868
1940
  trackInteraction?: ((args: {
1869
1941
  type: string;
1870
1942
  id: string;
1871
1943
  correct?: boolean | undefined;
1872
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1944
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1873
1945
  customKeypad?: boolean | undefined;
1874
1946
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1875
1947
  isMobile?: boolean | undefined;
@@ -1924,8 +1996,8 @@ declare const InteractiveGraph: {
1924
1996
  questionCompleted?: boolean | undefined;
1925
1997
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1926
1998
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
1927
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
1928
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
1999
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2000
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
1929
2001
  onChange: import("@khanacademy/perseus").ChangeHandler;
1930
2002
  trackInteraction: (extraData?: Empty | undefined) => void;
1931
2003
  isLastUsedWidget: boolean;
@@ -1934,7 +2006,7 @@ declare const InteractiveGraph: {
1934
2006
  }, context: any): {
1935
2007
  legacyGraphRef: React.RefObject<{
1936
2008
  context: {
1937
- strings: import("../../../perseus/src/strings").PerseusStrings;
2009
+ strings: import("../../../../perseus/src/strings").PerseusStrings;
1938
2010
  locale: string;
1939
2011
  };
1940
2012
  angle: any;
@@ -1961,6 +2033,10 @@ declare const InteractiveGraph: {
1961
2033
  static: boolean | null | undefined;
1962
2034
  problemNum: number | null | undefined;
1963
2035
  apiOptions: Readonly<Readonly<{
2036
+ /**
2037
+ * An error message to display in the graph area, or true if the
2038
+ * graph is valid.
2039
+ */
1964
2040
  isArticle?: boolean | undefined;
1965
2041
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
1966
2042
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -1978,12 +2054,12 @@ declare const InteractiveGraph: {
1978
2054
  baseElements?: {
1979
2055
  Link: React.ComponentType<any>;
1980
2056
  } | undefined;
1981
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2057
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
1982
2058
  trackInteraction?: ((args: {
1983
2059
  type: string;
1984
2060
  id: string;
1985
2061
  correct?: boolean | undefined;
1986
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2062
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
1987
2063
  customKeypad?: boolean | undefined;
1988
2064
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
1989
2065
  isMobile?: boolean | undefined;
@@ -2038,8 +2114,8 @@ declare const InteractiveGraph: {
2038
2114
  questionCompleted?: boolean | undefined;
2039
2115
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2040
2116
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2041
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2042
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2117
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2118
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2043
2119
  onChange: import("@khanacademy/perseus").ChangeHandler;
2044
2120
  trackInteraction: (extraData?: Empty | undefined) => void;
2045
2121
  isLastUsedWidget: boolean;
@@ -2052,6 +2128,10 @@ declare const InteractiveGraph: {
2052
2128
  static: boolean | null | undefined;
2053
2129
  problemNum: number | null | undefined;
2054
2130
  apiOptions: Readonly<Readonly<{
2131
+ /**
2132
+ * An error message to display in the graph area, or true if the
2133
+ * graph is valid.
2134
+ */
2055
2135
  isArticle?: boolean | undefined;
2056
2136
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2057
2137
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2069,12 +2149,12 @@ declare const InteractiveGraph: {
2069
2149
  baseElements?: {
2070
2150
  Link: React.ComponentType<any>;
2071
2151
  } | undefined;
2072
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2152
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2073
2153
  trackInteraction?: ((args: {
2074
2154
  type: string;
2075
2155
  id: string;
2076
2156
  correct?: boolean | undefined;
2077
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2157
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2078
2158
  customKeypad?: boolean | undefined;
2079
2159
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2080
2160
  isMobile?: boolean | undefined;
@@ -2129,8 +2209,8 @@ declare const InteractiveGraph: {
2129
2209
  questionCompleted?: boolean | undefined;
2130
2210
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2131
2211
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2132
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2133
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2212
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2213
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2134
2214
  onChange: import("@khanacademy/perseus").ChangeHandler;
2135
2215
  trackInteraction: (extraData?: Empty | undefined) => void;
2136
2216
  isLastUsedWidget: boolean;
@@ -2143,6 +2223,10 @@ declare const InteractiveGraph: {
2143
2223
  static: boolean | null | undefined;
2144
2224
  problemNum: number | null | undefined;
2145
2225
  apiOptions: Readonly<Readonly<{
2226
+ /**
2227
+ * An error message to display in the graph area, or true if the
2228
+ * graph is valid.
2229
+ */
2146
2230
  isArticle?: boolean | undefined;
2147
2231
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2148
2232
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2160,12 +2244,12 @@ declare const InteractiveGraph: {
2160
2244
  baseElements?: {
2161
2245
  Link: React.ComponentType<any>;
2162
2246
  } | undefined;
2163
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2247
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2164
2248
  trackInteraction?: ((args: {
2165
2249
  type: string;
2166
2250
  id: string;
2167
2251
  correct?: boolean | undefined;
2168
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2252
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2169
2253
  customKeypad?: boolean | undefined;
2170
2254
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2171
2255
  isMobile?: boolean | undefined;
@@ -2220,16 +2304,14 @@ declare const InteractiveGraph: {
2220
2304
  questionCompleted?: boolean | undefined;
2221
2305
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2222
2306
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2223
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2224
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2307
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2308
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2225
2309
  onChange: import("@khanacademy/perseus").ChangeHandler;
2226
2310
  trackInteraction: (extraData?: Empty | undefined) => void;
2227
2311
  isLastUsedWidget: boolean;
2228
2312
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
2229
2313
  containerSizeClass: SizingUtils.SizeClass;
2230
- }) | null | undefined) => boolean; /**
2231
- * The range of the graph in the x and y directions.
2232
- */
2314
+ }) | null | undefined) => boolean;
2233
2315
  setGraphie: (arg1: any) => void;
2234
2316
  handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
2235
2317
  resetGraphie: () => void;
@@ -2243,6 +2325,10 @@ declare const InteractiveGraph: {
2243
2325
  static: boolean | null | undefined;
2244
2326
  problemNum: number | null | undefined;
2245
2327
  apiOptions: Readonly<Readonly<{
2328
+ /**
2329
+ * An error message to display in the graph area, or true if the
2330
+ * graph is valid.
2331
+ */
2246
2332
  isArticle?: boolean | undefined;
2247
2333
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2248
2334
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2260,12 +2346,12 @@ declare const InteractiveGraph: {
2260
2346
  baseElements?: {
2261
2347
  Link: React.ComponentType<any>;
2262
2348
  } | undefined;
2263
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2349
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2264
2350
  trackInteraction?: ((args: {
2265
2351
  type: string;
2266
2352
  id: string;
2267
2353
  correct?: boolean | undefined;
2268
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2354
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2269
2355
  customKeypad?: boolean | undefined;
2270
2356
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2271
2357
  isMobile?: boolean | undefined;
@@ -2320,18 +2406,18 @@ declare const InteractiveGraph: {
2320
2406
  questionCompleted?: boolean | undefined;
2321
2407
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2322
2408
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2323
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2324
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2409
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2410
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2325
2411
  onChange: import("@khanacademy/perseus").ChangeHandler;
2326
2412
  trackInteraction: (extraData?: Empty | undefined) => void;
2327
2413
  isLastUsedWidget: boolean;
2328
2414
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
2329
2415
  containerSizeClass: SizingUtils.SizeClass;
2330
2416
  }) | null | undefined) => boolean;
2331
- areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
2332
- arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
2333
- arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
2334
- areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
2417
+ areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
2418
+ arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
2419
+ arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
2420
+ areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
2335
2421
  _lineStroke: () => {
2336
2422
  "stroke-width"?: number | undefined;
2337
2423
  };
@@ -2356,26 +2442,20 @@ declare const InteractiveGraph: {
2356
2442
  updateCoordsFromPoints: () => void;
2357
2443
  clearCoords: () => void;
2358
2444
  onChange: import("@khanacademy/perseus").ChangeHandler;
2359
- addPointControls: () => void; /**
2360
- * The locked figures to display in the graph area.
2361
- * Locked figures are graph elements (points, lines, line segmeents,
2362
- * etc.) that are locked in place and not interactive.
2363
- */
2445
+ addPointControls: () => void;
2364
2446
  removePointControls: () => void;
2365
2447
  addSegmentControls: () => void;
2366
2448
  removeSegmentControls: () => void;
2367
2449
  addRayControls: () => void;
2368
2450
  removeRayControls: () => void;
2369
2451
  addPolygonControls: () => void;
2370
- updatePolygon: () => void; /**
2371
- * The graph to display in the graph area.
2372
- */
2452
+ updatePolygon: () => void;
2373
2453
  removePolygonControls: () => void;
2374
2454
  addAngleControls: () => void;
2375
2455
  removeAngleControls: () => void;
2376
2456
  toggleShowSides: () => void;
2377
- getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
2378
- simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
2457
+ getUserInput(): PerseusGraphType;
2458
+ simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
2379
2459
  focus: () => void;
2380
2460
  render(): React.ReactNode;
2381
2461
  setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
@@ -2386,6 +2466,10 @@ declare const InteractiveGraph: {
2386
2466
  static: boolean | null | undefined;
2387
2467
  problemNum: number | null | undefined;
2388
2468
  apiOptions: Readonly<Readonly<{
2469
+ /**
2470
+ * An error message to display in the graph area, or true if the
2471
+ * graph is valid.
2472
+ */
2389
2473
  isArticle?: boolean | undefined;
2390
2474
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2391
2475
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2403,12 +2487,12 @@ declare const InteractiveGraph: {
2403
2487
  baseElements?: {
2404
2488
  Link: React.ComponentType<any>;
2405
2489
  } | undefined;
2406
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2490
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2407
2491
  trackInteraction?: ((args: {
2408
2492
  type: string;
2409
2493
  id: string;
2410
2494
  correct?: boolean | undefined;
2411
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2495
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2412
2496
  customKeypad?: boolean | undefined;
2413
2497
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2414
2498
  isMobile?: boolean | undefined;
@@ -2463,8 +2547,8 @@ declare const InteractiveGraph: {
2463
2547
  questionCompleted?: boolean | undefined;
2464
2548
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2465
2549
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2466
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2467
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2550
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2551
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2468
2552
  onChange: import("@khanacademy/perseus").ChangeHandler;
2469
2553
  trackInteraction: (extraData?: Empty | undefined) => void;
2470
2554
  isLastUsedWidget: boolean;
@@ -2480,6 +2564,10 @@ declare const InteractiveGraph: {
2480
2564
  static: boolean | null | undefined;
2481
2565
  problemNum: number | null | undefined;
2482
2566
  apiOptions: Readonly<Readonly<{
2567
+ /**
2568
+ * An error message to display in the graph area, or true if the
2569
+ * graph is valid.
2570
+ */
2483
2571
  isArticle?: boolean | undefined;
2484
2572
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2485
2573
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2497,12 +2585,12 @@ declare const InteractiveGraph: {
2497
2585
  baseElements?: {
2498
2586
  Link: React.ComponentType<any>;
2499
2587
  } | undefined;
2500
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2588
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2501
2589
  trackInteraction?: ((args: {
2502
2590
  type: string;
2503
2591
  id: string;
2504
2592
  correct?: boolean | undefined;
2505
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2593
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2506
2594
  customKeypad?: boolean | undefined;
2507
2595
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2508
2596
  isMobile?: boolean | undefined;
@@ -2557,8 +2645,8 @@ declare const InteractiveGraph: {
2557
2645
  questionCompleted?: boolean | undefined;
2558
2646
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2559
2647
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2560
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2561
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2648
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2649
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2562
2650
  onChange: import("@khanacademy/perseus").ChangeHandler;
2563
2651
  trackInteraction: (extraData?: Empty | undefined) => void;
2564
2652
  isLastUsedWidget: boolean;
@@ -2573,6 +2661,10 @@ declare const InteractiveGraph: {
2573
2661
  static: boolean | null | undefined;
2574
2662
  problemNum: number | null | undefined;
2575
2663
  apiOptions: Readonly<Readonly<{
2664
+ /**
2665
+ * An error message to display in the graph area, or true if the
2666
+ * graph is valid.
2667
+ */
2576
2668
  isArticle?: boolean | undefined;
2577
2669
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2578
2670
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2590,12 +2682,12 @@ declare const InteractiveGraph: {
2590
2682
  baseElements?: {
2591
2683
  Link: React.ComponentType<any>;
2592
2684
  } | undefined;
2593
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2685
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2594
2686
  trackInteraction?: ((args: {
2595
2687
  type: string;
2596
2688
  id: string;
2597
2689
  correct?: boolean | undefined;
2598
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2690
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2599
2691
  customKeypad?: boolean | undefined;
2600
2692
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2601
2693
  isMobile?: boolean | undefined;
@@ -2650,8 +2742,8 @@ declare const InteractiveGraph: {
2650
2742
  questionCompleted?: boolean | undefined;
2651
2743
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2652
2744
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2653
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2654
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2745
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2746
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2655
2747
  onChange: import("@khanacademy/perseus").ChangeHandler;
2656
2748
  trackInteraction: (extraData?: Empty | undefined) => void;
2657
2749
  isLastUsedWidget: boolean;
@@ -2666,6 +2758,10 @@ declare const InteractiveGraph: {
2666
2758
  static: boolean | null | undefined;
2667
2759
  problemNum: number | null | undefined;
2668
2760
  apiOptions: Readonly<Readonly<{
2761
+ /**
2762
+ * An error message to display in the graph area, or true if the
2763
+ * graph is valid.
2764
+ */
2669
2765
  isArticle?: boolean | undefined;
2670
2766
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2671
2767
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2683,12 +2779,12 @@ declare const InteractiveGraph: {
2683
2779
  baseElements?: {
2684
2780
  Link: React.ComponentType<any>;
2685
2781
  } | undefined;
2686
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2782
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2687
2783
  trackInteraction?: ((args: {
2688
2784
  type: string;
2689
2785
  id: string;
2690
2786
  correct?: boolean | undefined;
2691
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2787
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2692
2788
  customKeypad?: boolean | undefined;
2693
2789
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2694
2790
  isMobile?: boolean | undefined;
@@ -2743,8 +2839,8 @@ declare const InteractiveGraph: {
2743
2839
  questionCompleted?: boolean | undefined;
2744
2840
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2745
2841
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2746
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2747
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2842
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2843
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2748
2844
  onChange: import("@khanacademy/perseus").ChangeHandler;
2749
2845
  trackInteraction: (extraData?: Empty | undefined) => void;
2750
2846
  isLastUsedWidget: boolean;
@@ -2757,6 +2853,10 @@ declare const InteractiveGraph: {
2757
2853
  static: boolean | null | undefined;
2758
2854
  problemNum: number | null | undefined;
2759
2855
  apiOptions: Readonly<Readonly<{
2856
+ /**
2857
+ * An error message to display in the graph area, or true if the
2858
+ * graph is valid.
2859
+ */
2760
2860
  isArticle?: boolean | undefined;
2761
2861
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2762
2862
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2774,12 +2874,12 @@ declare const InteractiveGraph: {
2774
2874
  baseElements?: {
2775
2875
  Link: React.ComponentType<any>;
2776
2876
  } | undefined;
2777
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2877
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2778
2878
  trackInteraction?: ((args: {
2779
2879
  type: string;
2780
2880
  id: string;
2781
2881
  correct?: boolean | undefined;
2782
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2882
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2783
2883
  customKeypad?: boolean | undefined;
2784
2884
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2785
2885
  isMobile?: boolean | undefined;
@@ -2834,8 +2934,8 @@ declare const InteractiveGraph: {
2834
2934
  questionCompleted?: boolean | undefined;
2835
2935
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2836
2936
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2837
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2838
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
2937
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
2938
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2839
2939
  onChange: import("@khanacademy/perseus").ChangeHandler;
2840
2940
  trackInteraction: (extraData?: Empty | undefined) => void;
2841
2941
  isLastUsedWidget: boolean;
@@ -2848,6 +2948,10 @@ declare const InteractiveGraph: {
2848
2948
  static: boolean | null | undefined;
2849
2949
  problemNum: number | null | undefined;
2850
2950
  apiOptions: Readonly<Readonly<{
2951
+ /**
2952
+ * An error message to display in the graph area, or true if the
2953
+ * graph is valid.
2954
+ */
2851
2955
  isArticle?: boolean | undefined;
2852
2956
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2853
2957
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2865,12 +2969,12 @@ declare const InteractiveGraph: {
2865
2969
  baseElements?: {
2866
2970
  Link: React.ComponentType<any>;
2867
2971
  } | undefined;
2868
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2972
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2869
2973
  trackInteraction?: ((args: {
2870
2974
  type: string;
2871
2975
  id: string;
2872
2976
  correct?: boolean | undefined;
2873
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2977
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2874
2978
  customKeypad?: boolean | undefined;
2875
2979
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2876
2980
  isMobile?: boolean | undefined;
@@ -2925,8 +3029,8 @@ declare const InteractiveGraph: {
2925
3029
  questionCompleted?: boolean | undefined;
2926
3030
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2927
3031
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
2928
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
2929
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3032
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3033
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
2930
3034
  onChange: import("@khanacademy/perseus").ChangeHandler;
2931
3035
  trackInteraction: (extraData?: Empty | undefined) => void;
2932
3036
  isLastUsedWidget: boolean;
@@ -2934,9 +3038,9 @@ declare const InteractiveGraph: {
2934
3038
  containerSizeClass: SizingUtils.SizeClass;
2935
3039
  }>, nextState: Readonly<any>, nextContext: any): void;
2936
3040
  }>;
2937
- mafsRef: React.RefObject<import("../../../perseus/src/renderer").Widget>;
3041
+ mafsRef: React.RefObject<import("../../../../perseus/src/renderer").Widget>;
2938
3042
  getUserInput: (() => any) | undefined;
2939
- simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
3043
+ simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
2940
3044
  render(): React.JSX.Element;
2941
3045
  context: unknown;
2942
3046
  setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
@@ -2947,6 +3051,10 @@ declare const InteractiveGraph: {
2947
3051
  static: boolean | null | undefined;
2948
3052
  problemNum: number | null | undefined;
2949
3053
  apiOptions: Readonly<Readonly<{
3054
+ /**
3055
+ * An error message to display in the graph area, or true if the
3056
+ * graph is valid.
3057
+ */
2950
3058
  isArticle?: boolean | undefined;
2951
3059
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
2952
3060
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -2964,12 +3072,12 @@ declare const InteractiveGraph: {
2964
3072
  baseElements?: {
2965
3073
  Link: React.ComponentType<any>;
2966
3074
  } | undefined;
2967
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3075
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
2968
3076
  trackInteraction?: ((args: {
2969
3077
  type: string;
2970
3078
  id: string;
2971
3079
  correct?: boolean | undefined;
2972
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3080
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
2973
3081
  customKeypad?: boolean | undefined;
2974
3082
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
2975
3083
  isMobile?: boolean | undefined;
@@ -3024,8 +3132,8 @@ declare const InteractiveGraph: {
3024
3132
  questionCompleted?: boolean | undefined;
3025
3133
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3026
3134
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3027
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3028
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3135
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3136
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3029
3137
  onChange: import("@khanacademy/perseus").ChangeHandler;
3030
3138
  trackInteraction: (extraData?: Empty | undefined) => void;
3031
3139
  isLastUsedWidget: boolean;
@@ -3043,6 +3151,10 @@ declare const InteractiveGraph: {
3043
3151
  static: boolean | null | undefined;
3044
3152
  problemNum: number | null | undefined;
3045
3153
  apiOptions: Readonly<Readonly<{
3154
+ /**
3155
+ * An error message to display in the graph area, or true if the
3156
+ * graph is valid.
3157
+ */
3046
3158
  isArticle?: boolean | undefined;
3047
3159
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3048
3160
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3060,12 +3172,12 @@ declare const InteractiveGraph: {
3060
3172
  baseElements?: {
3061
3173
  Link: React.ComponentType<any>;
3062
3174
  } | undefined;
3063
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3175
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3064
3176
  trackInteraction?: ((args: {
3065
3177
  type: string;
3066
3178
  id: string;
3067
3179
  correct?: boolean | undefined;
3068
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3180
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3069
3181
  customKeypad?: boolean | undefined;
3070
3182
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3071
3183
  isMobile?: boolean | undefined;
@@ -3120,8 +3232,8 @@ declare const InteractiveGraph: {
3120
3232
  questionCompleted?: boolean | undefined;
3121
3233
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3122
3234
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3123
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3124
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3235
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3236
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3125
3237
  onChange: import("@khanacademy/perseus").ChangeHandler;
3126
3238
  trackInteraction: (extraData?: Empty | undefined) => void;
3127
3239
  isLastUsedWidget: boolean;
@@ -3136,6 +3248,10 @@ declare const InteractiveGraph: {
3136
3248
  static: boolean | null | undefined;
3137
3249
  problemNum: number | null | undefined;
3138
3250
  apiOptions: Readonly<Readonly<{
3251
+ /**
3252
+ * An error message to display in the graph area, or true if the
3253
+ * graph is valid.
3254
+ */
3139
3255
  isArticle?: boolean | undefined;
3140
3256
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3141
3257
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3153,12 +3269,12 @@ declare const InteractiveGraph: {
3153
3269
  baseElements?: {
3154
3270
  Link: React.ComponentType<any>;
3155
3271
  } | undefined;
3156
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3272
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3157
3273
  trackInteraction?: ((args: {
3158
3274
  type: string;
3159
3275
  id: string;
3160
3276
  correct?: boolean | undefined;
3161
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3277
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3162
3278
  customKeypad?: boolean | undefined;
3163
3279
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3164
3280
  isMobile?: boolean | undefined;
@@ -3213,8 +3329,8 @@ declare const InteractiveGraph: {
3213
3329
  questionCompleted?: boolean | undefined;
3214
3330
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3215
3331
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3216
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3217
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3332
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3333
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3218
3334
  onChange: import("@khanacademy/perseus").ChangeHandler;
3219
3335
  trackInteraction: (extraData?: Empty | undefined) => void;
3220
3336
  isLastUsedWidget: boolean;
@@ -3227,6 +3343,10 @@ declare const InteractiveGraph: {
3227
3343
  static: boolean | null | undefined;
3228
3344
  problemNum: number | null | undefined;
3229
3345
  apiOptions: Readonly<Readonly<{
3346
+ /**
3347
+ * An error message to display in the graph area, or true if the
3348
+ * graph is valid.
3349
+ */
3230
3350
  isArticle?: boolean | undefined;
3231
3351
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3232
3352
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3244,12 +3364,12 @@ declare const InteractiveGraph: {
3244
3364
  baseElements?: {
3245
3365
  Link: React.ComponentType<any>;
3246
3366
  } | undefined;
3247
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3367
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3248
3368
  trackInteraction?: ((args: {
3249
3369
  type: string;
3250
3370
  id: string;
3251
3371
  correct?: boolean | undefined;
3252
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3372
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3253
3373
  customKeypad?: boolean | undefined;
3254
3374
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3255
3375
  isMobile?: boolean | undefined;
@@ -3304,8 +3424,8 @@ declare const InteractiveGraph: {
3304
3424
  questionCompleted?: boolean | undefined;
3305
3425
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3306
3426
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3307
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3308
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3427
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3428
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3309
3429
  onChange: import("@khanacademy/perseus").ChangeHandler;
3310
3430
  trackInteraction: (extraData?: Empty | undefined) => void;
3311
3431
  isLastUsedWidget: boolean;
@@ -3320,6 +3440,10 @@ declare const InteractiveGraph: {
3320
3440
  static: boolean | null | undefined;
3321
3441
  problemNum: number | null | undefined;
3322
3442
  apiOptions: Readonly<Readonly<{
3443
+ /**
3444
+ * An error message to display in the graph area, or true if the
3445
+ * graph is valid.
3446
+ */
3323
3447
  isArticle?: boolean | undefined;
3324
3448
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3325
3449
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3337,12 +3461,12 @@ declare const InteractiveGraph: {
3337
3461
  baseElements?: {
3338
3462
  Link: React.ComponentType<any>;
3339
3463
  } | undefined;
3340
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3464
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3341
3465
  trackInteraction?: ((args: {
3342
3466
  type: string;
3343
3467
  id: string;
3344
3468
  correct?: boolean | undefined;
3345
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3469
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3346
3470
  customKeypad?: boolean | undefined;
3347
3471
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3348
3472
  isMobile?: boolean | undefined;
@@ -3397,8 +3521,8 @@ declare const InteractiveGraph: {
3397
3521
  questionCompleted?: boolean | undefined;
3398
3522
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3399
3523
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3400
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3401
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3524
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3525
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3402
3526
  onChange: import("@khanacademy/perseus").ChangeHandler;
3403
3527
  trackInteraction: (extraData?: Empty | undefined) => void;
3404
3528
  isLastUsedWidget: boolean;
@@ -3411,6 +3535,10 @@ declare const InteractiveGraph: {
3411
3535
  static: boolean | null | undefined;
3412
3536
  problemNum: number | null | undefined;
3413
3537
  apiOptions: Readonly<Readonly<{
3538
+ /**
3539
+ * An error message to display in the graph area, or true if the
3540
+ * graph is valid.
3541
+ */
3414
3542
  isArticle?: boolean | undefined;
3415
3543
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3416
3544
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3428,12 +3556,12 @@ declare const InteractiveGraph: {
3428
3556
  baseElements?: {
3429
3557
  Link: React.ComponentType<any>;
3430
3558
  } | undefined;
3431
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3559
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3432
3560
  trackInteraction?: ((args: {
3433
3561
  type: string;
3434
3562
  id: string;
3435
3563
  correct?: boolean | undefined;
3436
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3564
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3437
3565
  customKeypad?: boolean | undefined;
3438
3566
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3439
3567
  isMobile?: boolean | undefined;
@@ -3488,8 +3616,8 @@ declare const InteractiveGraph: {
3488
3616
  questionCompleted?: boolean | undefined;
3489
3617
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3490
3618
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3491
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3492
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3619
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3620
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3493
3621
  onChange: import("@khanacademy/perseus").ChangeHandler;
3494
3622
  trackInteraction: (extraData?: Empty | undefined) => void;
3495
3623
  isLastUsedWidget: boolean;
@@ -3502,6 +3630,10 @@ declare const InteractiveGraph: {
3502
3630
  static: boolean | null | undefined;
3503
3631
  problemNum: number | null | undefined;
3504
3632
  apiOptions: Readonly<Readonly<{
3633
+ /**
3634
+ * An error message to display in the graph area, or true if the
3635
+ * graph is valid.
3636
+ */
3505
3637
  isArticle?: boolean | undefined;
3506
3638
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3507
3639
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3519,12 +3651,12 @@ declare const InteractiveGraph: {
3519
3651
  baseElements?: {
3520
3652
  Link: React.ComponentType<any>;
3521
3653
  } | undefined;
3522
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3654
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3523
3655
  trackInteraction?: ((args: {
3524
3656
  type: string;
3525
3657
  id: string;
3526
3658
  correct?: boolean | undefined;
3527
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3659
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3528
3660
  customKeypad?: boolean | undefined;
3529
3661
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3530
3662
  isMobile?: boolean | undefined;
@@ -3579,8 +3711,8 @@ declare const InteractiveGraph: {
3579
3711
  questionCompleted?: boolean | undefined;
3580
3712
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3581
3713
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3582
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3583
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3714
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3715
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3584
3716
  onChange: import("@khanacademy/perseus").ChangeHandler;
3585
3717
  trackInteraction: (extraData?: Empty | undefined) => void;
3586
3718
  isLastUsedWidget: boolean;
@@ -3593,6 +3725,10 @@ declare const InteractiveGraph: {
3593
3725
  static: boolean | null | undefined;
3594
3726
  problemNum: number | null | undefined;
3595
3727
  apiOptions: Readonly<Readonly<{
3728
+ /**
3729
+ * An error message to display in the graph area, or true if the
3730
+ * graph is valid.
3731
+ */
3596
3732
  isArticle?: boolean | undefined;
3597
3733
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3598
3734
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3610,12 +3746,12 @@ declare const InteractiveGraph: {
3610
3746
  baseElements?: {
3611
3747
  Link: React.ComponentType<any>;
3612
3748
  } | undefined;
3613
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3749
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3614
3750
  trackInteraction?: ((args: {
3615
3751
  type: string;
3616
3752
  id: string;
3617
3753
  correct?: boolean | undefined;
3618
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3754
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3619
3755
  customKeypad?: boolean | undefined;
3620
3756
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3621
3757
  isMobile?: boolean | undefined;
@@ -3670,8 +3806,8 @@ declare const InteractiveGraph: {
3670
3806
  questionCompleted?: boolean | undefined;
3671
3807
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3672
3808
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3673
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3674
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3809
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3810
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3675
3811
  onChange: import("@khanacademy/perseus").ChangeHandler;
3676
3812
  trackInteraction: (extraData?: Empty | undefined) => void;
3677
3813
  isLastUsedWidget: boolean;
@@ -3681,22 +3817,26 @@ declare const InteractiveGraph: {
3681
3817
  };
3682
3818
  defaultProps: {
3683
3819
  labels: readonly string[];
3684
- range: import("../../../perseus/src/perseus-types").GraphRange;
3820
+ range: import("../../../../perseus/src/perseus-types").GraphRange;
3685
3821
  step: [number, number];
3686
3822
  backgroundImage: PerseusImageBackground | undefined;
3687
3823
  markings: "none" | "grid" | "graph";
3688
3824
  showTooltips: boolean | undefined;
3689
3825
  showProtractor: boolean;
3690
- graph: import("@khanacademy/perseus").PerseusGraphType;
3826
+ graph: PerseusGraphType;
3691
3827
  };
3692
- getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
3693
- getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").SineCoefficient;
3694
- getLineCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
3828
+ getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../../perseus/src/util/geometry").QuadraticCoefficient;
3829
+ getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../../perseus/src/util/geometry").SineCoefficient;
3830
+ getLineCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
3695
3831
  widgetId: string;
3696
3832
  alignment: string | null | undefined;
3697
3833
  static: boolean | null | undefined;
3698
3834
  problemNum: number | null | undefined;
3699
3835
  apiOptions: Readonly<Readonly<{
3836
+ /**
3837
+ * An error message to display in the graph area, or true if the
3838
+ * graph is valid.
3839
+ */
3700
3840
  isArticle?: boolean | undefined;
3701
3841
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3702
3842
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3714,12 +3854,12 @@ declare const InteractiveGraph: {
3714
3854
  baseElements?: {
3715
3855
  Link: React.ComponentType<any>;
3716
3856
  } | undefined;
3717
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3857
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3718
3858
  trackInteraction?: ((args: {
3719
3859
  type: string;
3720
3860
  id: string;
3721
3861
  correct?: boolean | undefined;
3722
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3862
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3723
3863
  customKeypad?: boolean | undefined;
3724
3864
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3725
3865
  isMobile?: boolean | undefined;
@@ -3774,20 +3914,24 @@ declare const InteractiveGraph: {
3774
3914
  questionCompleted?: boolean | undefined;
3775
3915
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3776
3916
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3777
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3778
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
3917
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
3918
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3779
3919
  onChange: import("@khanacademy/perseus").ChangeHandler;
3780
3920
  trackInteraction: (extraData?: Empty | undefined) => void;
3781
3921
  isLastUsedWidget: boolean;
3782
3922
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
3783
3923
  containerSizeClass: SizingUtils.SizeClass;
3784
3924
  }): readonly import("@khanacademy/perseus").Coord[];
3785
- getPointCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, props: PerseusInteractiveGraphWidgetOptions & {
3925
+ getPointCoords(graph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, props: PerseusInteractiveGraphWidgetOptions & {
3786
3926
  widgetId: string;
3787
3927
  alignment: string | null | undefined;
3788
3928
  static: boolean | null | undefined;
3789
3929
  problemNum: number | null | undefined;
3790
3930
  apiOptions: Readonly<Readonly<{
3931
+ /**
3932
+ * An error message to display in the graph area, or true if the
3933
+ * graph is valid.
3934
+ */
3791
3935
  isArticle?: boolean | undefined;
3792
3936
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3793
3937
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3805,12 +3949,12 @@ declare const InteractiveGraph: {
3805
3949
  baseElements?: {
3806
3950
  Link: React.ComponentType<any>;
3807
3951
  } | undefined;
3808
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3952
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3809
3953
  trackInteraction?: ((args: {
3810
3954
  type: string;
3811
3955
  id: string;
3812
3956
  correct?: boolean | undefined;
3813
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3957
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3814
3958
  customKeypad?: boolean | undefined;
3815
3959
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3816
3960
  isMobile?: boolean | undefined;
@@ -3865,20 +4009,24 @@ declare const InteractiveGraph: {
3865
4009
  questionCompleted?: boolean | undefined;
3866
4010
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3867
4011
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3868
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3869
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4012
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4013
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3870
4014
  onChange: import("@khanacademy/perseus").ChangeHandler;
3871
4015
  trackInteraction: (extraData?: Empty | undefined) => void;
3872
4016
  isLastUsedWidget: boolean;
3873
4017
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
3874
4018
  containerSizeClass: SizingUtils.SizeClass;
3875
4019
  }): readonly import("@khanacademy/perseus").Coord[];
3876
- getLinearSystemCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
4020
+ getLinearSystemCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
3877
4021
  widgetId: string;
3878
4022
  alignment: string | null | undefined;
3879
4023
  static: boolean | null | undefined;
3880
4024
  problemNum: number | null | undefined;
3881
4025
  apiOptions: Readonly<Readonly<{
4026
+ /**
4027
+ * An error message to display in the graph area, or true if the
4028
+ * graph is valid.
4029
+ */
3882
4030
  isArticle?: boolean | undefined;
3883
4031
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3884
4032
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3896,12 +4044,12 @@ declare const InteractiveGraph: {
3896
4044
  baseElements?: {
3897
4045
  Link: React.ComponentType<any>;
3898
4046
  } | undefined;
3899
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4047
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3900
4048
  trackInteraction?: ((args: {
3901
4049
  type: string;
3902
4050
  id: string;
3903
4051
  correct?: boolean | undefined;
3904
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4052
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3905
4053
  customKeypad?: boolean | undefined;
3906
4054
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3907
4055
  isMobile?: boolean | undefined;
@@ -3956,20 +4104,24 @@ declare const InteractiveGraph: {
3956
4104
  questionCompleted?: boolean | undefined;
3957
4105
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3958
4106
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
3959
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
3960
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4107
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4108
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
3961
4109
  onChange: import("@khanacademy/perseus").ChangeHandler;
3962
4110
  trackInteraction: (extraData?: Empty | undefined) => void;
3963
4111
  isLastUsedWidget: boolean;
3964
4112
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
3965
4113
  containerSizeClass: SizingUtils.SizeClass;
3966
4114
  }): readonly (readonly import("@khanacademy/perseus").Coord[])[];
3967
- getPolygonCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
4115
+ getPolygonCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
3968
4116
  widgetId: string;
3969
4117
  alignment: string | null | undefined;
3970
4118
  static: boolean | null | undefined;
3971
4119
  problemNum: number | null | undefined;
3972
4120
  apiOptions: Readonly<Readonly<{
4121
+ /**
4122
+ * An error message to display in the graph area, or true if the
4123
+ * graph is valid.
4124
+ */
3973
4125
  isArticle?: boolean | undefined;
3974
4126
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
3975
4127
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -3987,12 +4139,12 @@ declare const InteractiveGraph: {
3987
4139
  baseElements?: {
3988
4140
  Link: React.ComponentType<any>;
3989
4141
  } | undefined;
3990
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4142
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
3991
4143
  trackInteraction?: ((args: {
3992
4144
  type: string;
3993
4145
  id: string;
3994
4146
  correct?: boolean | undefined;
3995
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4147
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
3996
4148
  customKeypad?: boolean | undefined;
3997
4149
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
3998
4150
  isMobile?: boolean | undefined;
@@ -4047,20 +4199,24 @@ declare const InteractiveGraph: {
4047
4199
  questionCompleted?: boolean | undefined;
4048
4200
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4049
4201
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4050
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4051
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4202
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4203
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4052
4204
  onChange: import("@khanacademy/perseus").ChangeHandler;
4053
4205
  trackInteraction: (extraData?: Empty | undefined) => void;
4054
4206
  isLastUsedWidget: boolean;
4055
4207
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
4056
4208
  containerSizeClass: SizingUtils.SizeClass;
4057
4209
  }): readonly import("@khanacademy/perseus").Coord[];
4058
- getSegmentCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, props: PerseusInteractiveGraphWidgetOptions & {
4210
+ getSegmentCoords(graph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, props: PerseusInteractiveGraphWidgetOptions & {
4059
4211
  widgetId: string;
4060
4212
  alignment: string | null | undefined;
4061
4213
  static: boolean | null | undefined;
4062
4214
  problemNum: number | null | undefined;
4063
4215
  apiOptions: Readonly<Readonly<{
4216
+ /**
4217
+ * An error message to display in the graph area, or true if the
4218
+ * graph is valid.
4219
+ */
4064
4220
  isArticle?: boolean | undefined;
4065
4221
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4066
4222
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4078,12 +4234,12 @@ declare const InteractiveGraph: {
4078
4234
  baseElements?: {
4079
4235
  Link: React.ComponentType<any>;
4080
4236
  } | undefined;
4081
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4237
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4082
4238
  trackInteraction?: ((args: {
4083
4239
  type: string;
4084
4240
  id: string;
4085
4241
  correct?: boolean | undefined;
4086
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4242
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4087
4243
  customKeypad?: boolean | undefined;
4088
4244
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4089
4245
  isMobile?: boolean | undefined;
@@ -4138,20 +4294,24 @@ declare const InteractiveGraph: {
4138
4294
  questionCompleted?: boolean | undefined;
4139
4295
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4140
4296
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4141
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4142
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4297
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4298
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4143
4299
  onChange: import("@khanacademy/perseus").ChangeHandler;
4144
4300
  trackInteraction: (extraData?: Empty | undefined) => void;
4145
4301
  isLastUsedWidget: boolean;
4146
4302
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
4147
4303
  containerSizeClass: SizingUtils.SizeClass;
4148
4304
  }): readonly (readonly import("@khanacademy/perseus").Coord[])[];
4149
- getAngleCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, props: PerseusInteractiveGraphWidgetOptions & {
4305
+ getAngleCoords(graph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, props: PerseusInteractiveGraphWidgetOptions & {
4150
4306
  widgetId: string;
4151
4307
  alignment: string | null | undefined;
4152
4308
  static: boolean | null | undefined;
4153
4309
  problemNum: number | null | undefined;
4154
4310
  apiOptions: Readonly<Readonly<{
4311
+ /**
4312
+ * An error message to display in the graph area, or true if the
4313
+ * graph is valid.
4314
+ */
4155
4315
  isArticle?: boolean | undefined;
4156
4316
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4157
4317
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4169,12 +4329,12 @@ declare const InteractiveGraph: {
4169
4329
  baseElements?: {
4170
4330
  Link: React.ComponentType<any>;
4171
4331
  } | undefined;
4172
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4332
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4173
4333
  trackInteraction?: ((args: {
4174
4334
  type: string;
4175
4335
  id: string;
4176
4336
  correct?: boolean | undefined;
4177
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4337
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4178
4338
  customKeypad?: boolean | undefined;
4179
4339
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4180
4340
  isMobile?: boolean | undefined;
@@ -4229,21 +4389,25 @@ declare const InteractiveGraph: {
4229
4389
  questionCompleted?: boolean | undefined;
4230
4390
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4231
4391
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4232
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4233
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4392
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4393
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4234
4394
  onChange: import("@khanacademy/perseus").ChangeHandler;
4235
4395
  trackInteraction: (extraData?: Empty | undefined) => void;
4236
4396
  isLastUsedWidget: boolean;
4237
4397
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
4238
4398
  containerSizeClass: SizingUtils.SizeClass;
4239
4399
  }): [import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord];
4240
- normalizeCoords(coordsList: readonly import("@khanacademy/perseus").Coord[], ranges: [import("../../../perseus/src/util/geometry").Range, import("../../../perseus/src/util/geometry").Range]): readonly import("@khanacademy/perseus").Coord[];
4400
+ normalizeCoords(coordsList: readonly import("@khanacademy/perseus").Coord[], ranges: [import("../../../../perseus/src/util/geometry").Range, import("../../../../perseus/src/util/geometry").Range]): readonly import("@khanacademy/perseus").Coord[];
4241
4401
  getEquationString(props: PerseusInteractiveGraphWidgetOptions & {
4242
4402
  widgetId: string;
4243
4403
  alignment: string | null | undefined;
4244
4404
  static: boolean | null | undefined;
4245
4405
  problemNum: number | null | undefined;
4246
4406
  apiOptions: Readonly<Readonly<{
4407
+ /**
4408
+ * An error message to display in the graph area, or true if the
4409
+ * graph is valid.
4410
+ */
4247
4411
  isArticle?: boolean | undefined;
4248
4412
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4249
4413
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4261,12 +4425,12 @@ declare const InteractiveGraph: {
4261
4425
  baseElements?: {
4262
4426
  Link: React.ComponentType<any>;
4263
4427
  } | undefined;
4264
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4428
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4265
4429
  trackInteraction?: ((args: {
4266
4430
  type: string;
4267
4431
  id: string;
4268
4432
  correct?: boolean | undefined;
4269
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4433
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4270
4434
  customKeypad?: boolean | undefined;
4271
4435
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4272
4436
  isMobile?: boolean | undefined;
@@ -4321,8 +4485,8 @@ declare const InteractiveGraph: {
4321
4485
  questionCompleted?: boolean | undefined;
4322
4486
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4323
4487
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4324
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4325
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4488
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4489
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4326
4490
  onChange: import("@khanacademy/perseus").ChangeHandler;
4327
4491
  trackInteraction: (extraData?: Empty | undefined) => void;
4328
4492
  isLastUsedWidget: boolean;
@@ -4335,6 +4499,10 @@ declare const InteractiveGraph: {
4335
4499
  static: boolean | null | undefined;
4336
4500
  problemNum: number | null | undefined;
4337
4501
  apiOptions: Readonly<Readonly<{
4502
+ /**
4503
+ * An error message to display in the graph area, or true if the
4504
+ * graph is valid.
4505
+ */
4338
4506
  isArticle?: boolean | undefined;
4339
4507
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4340
4508
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4352,12 +4520,12 @@ declare const InteractiveGraph: {
4352
4520
  baseElements?: {
4353
4521
  Link: React.ComponentType<any>;
4354
4522
  } | undefined;
4355
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4523
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4356
4524
  trackInteraction?: ((args: {
4357
4525
  type: string;
4358
4526
  id: string;
4359
4527
  correct?: boolean | undefined;
4360
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4528
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4361
4529
  customKeypad?: boolean | undefined;
4362
4530
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4363
4531
  isMobile?: boolean | undefined;
@@ -4412,8 +4580,8 @@ declare const InteractiveGraph: {
4412
4580
  questionCompleted?: boolean | undefined;
4413
4581
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4414
4582
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4415
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4416
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4583
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4584
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4417
4585
  onChange: import("@khanacademy/perseus").ChangeHandler;
4418
4586
  trackInteraction: (extraData?: Empty | undefined) => void;
4419
4587
  isLastUsedWidget: boolean;
@@ -4426,6 +4594,10 @@ declare const InteractiveGraph: {
4426
4594
  static: boolean | null | undefined;
4427
4595
  problemNum: number | null | undefined;
4428
4596
  apiOptions: Readonly<Readonly<{
4597
+ /**
4598
+ * An error message to display in the graph area, or true if the
4599
+ * graph is valid.
4600
+ */
4429
4601
  isArticle?: boolean | undefined;
4430
4602
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4431
4603
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4443,12 +4615,12 @@ declare const InteractiveGraph: {
4443
4615
  baseElements?: {
4444
4616
  Link: React.ComponentType<any>;
4445
4617
  } | undefined;
4446
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4618
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4447
4619
  trackInteraction?: ((args: {
4448
4620
  type: string;
4449
4621
  id: string;
4450
4622
  correct?: boolean | undefined;
4451
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4623
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4452
4624
  customKeypad?: boolean | undefined;
4453
4625
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4454
4626
  isMobile?: boolean | undefined;
@@ -4503,8 +4675,8 @@ declare const InteractiveGraph: {
4503
4675
  questionCompleted?: boolean | undefined;
4504
4676
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4505
4677
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4506
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4507
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4678
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4679
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4508
4680
  onChange: import("@khanacademy/perseus").ChangeHandler;
4509
4681
  trackInteraction: (extraData?: Empty | undefined) => void;
4510
4682
  isLastUsedWidget: boolean;
@@ -4517,6 +4689,10 @@ declare const InteractiveGraph: {
4517
4689
  static: boolean | null | undefined;
4518
4690
  problemNum: number | null | undefined;
4519
4691
  apiOptions: Readonly<Readonly<{
4692
+ /**
4693
+ * An error message to display in the graph area, or true if the
4694
+ * graph is valid.
4695
+ */
4520
4696
  isArticle?: boolean | undefined;
4521
4697
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4522
4698
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4534,12 +4710,12 @@ declare const InteractiveGraph: {
4534
4710
  baseElements?: {
4535
4711
  Link: React.ComponentType<any>;
4536
4712
  } | undefined;
4537
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4713
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4538
4714
  trackInteraction?: ((args: {
4539
4715
  type: string;
4540
4716
  id: string;
4541
4717
  correct?: boolean | undefined;
4542
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4718
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4543
4719
  customKeypad?: boolean | undefined;
4544
4720
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4545
4721
  isMobile?: boolean | undefined;
@@ -4594,20 +4770,24 @@ declare const InteractiveGraph: {
4594
4770
  questionCompleted?: boolean | undefined;
4595
4771
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4596
4772
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4597
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4598
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4773
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4774
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4599
4775
  onChange: import("@khanacademy/perseus").ChangeHandler;
4600
4776
  trackInteraction: (extraData?: Empty | undefined) => void;
4601
4777
  isLastUsedWidget: boolean;
4602
4778
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
4603
4779
  containerSizeClass: SizingUtils.SizeClass;
4604
- }): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
4780
+ }): import("../../../../perseus/src/util/geometry").QuadraticCoefficient;
4605
4781
  defaultQuadraticCoords(props: PerseusInteractiveGraphWidgetOptions & {
4606
4782
  widgetId: string;
4607
4783
  alignment: string | null | undefined;
4608
4784
  static: boolean | null | undefined;
4609
4785
  problemNum: number | null | undefined;
4610
4786
  apiOptions: Readonly<Readonly<{
4787
+ /**
4788
+ * An error message to display in the graph area, or true if the
4789
+ * graph is valid.
4790
+ */
4611
4791
  isArticle?: boolean | undefined;
4612
4792
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4613
4793
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4625,12 +4805,12 @@ declare const InteractiveGraph: {
4625
4805
  baseElements?: {
4626
4806
  Link: React.ComponentType<any>;
4627
4807
  } | undefined;
4628
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4808
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4629
4809
  trackInteraction?: ((args: {
4630
4810
  type: string;
4631
4811
  id: string;
4632
4812
  correct?: boolean | undefined;
4633
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4813
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4634
4814
  customKeypad?: boolean | undefined;
4635
4815
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4636
4816
  isMobile?: boolean | undefined;
@@ -4685,8 +4865,8 @@ declare const InteractiveGraph: {
4685
4865
  questionCompleted?: boolean | undefined;
4686
4866
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4687
4867
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4688
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4689
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4868
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4869
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4690
4870
  onChange: import("@khanacademy/perseus").ChangeHandler;
4691
4871
  trackInteraction: (extraData?: Empty | undefined) => void;
4692
4872
  isLastUsedWidget: boolean;
@@ -4699,6 +4879,10 @@ declare const InteractiveGraph: {
4699
4879
  static: boolean | null | undefined;
4700
4880
  problemNum: number | null | undefined;
4701
4881
  apiOptions: Readonly<Readonly<{
4882
+ /**
4883
+ * An error message to display in the graph area, or true if the
4884
+ * graph is valid.
4885
+ */
4702
4886
  isArticle?: boolean | undefined;
4703
4887
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4704
4888
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4716,12 +4900,12 @@ declare const InteractiveGraph: {
4716
4900
  baseElements?: {
4717
4901
  Link: React.ComponentType<any>;
4718
4902
  } | undefined;
4719
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4903
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4720
4904
  trackInteraction?: ((args: {
4721
4905
  type: string;
4722
4906
  id: string;
4723
4907
  correct?: boolean | undefined;
4724
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4908
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4725
4909
  customKeypad?: boolean | undefined;
4726
4910
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4727
4911
  isMobile?: boolean | undefined;
@@ -4776,8 +4960,8 @@ declare const InteractiveGraph: {
4776
4960
  questionCompleted?: boolean | undefined;
4777
4961
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4778
4962
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4779
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4780
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
4963
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
4964
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4781
4965
  onChange: import("@khanacademy/perseus").ChangeHandler;
4782
4966
  trackInteraction: (extraData?: Empty | undefined) => void;
4783
4967
  isLastUsedWidget: boolean;
@@ -4790,6 +4974,10 @@ declare const InteractiveGraph: {
4790
4974
  static: boolean | null | undefined;
4791
4975
  problemNum: number | null | undefined;
4792
4976
  apiOptions: Readonly<Readonly<{
4977
+ /**
4978
+ * An error message to display in the graph area, or true if the
4979
+ * graph is valid.
4980
+ */
4793
4981
  isArticle?: boolean | undefined;
4794
4982
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4795
4983
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4807,12 +4995,12 @@ declare const InteractiveGraph: {
4807
4995
  baseElements?: {
4808
4996
  Link: React.ComponentType<any>;
4809
4997
  } | undefined;
4810
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4998
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4811
4999
  trackInteraction?: ((args: {
4812
5000
  type: string;
4813
5001
  id: string;
4814
5002
  correct?: boolean | undefined;
4815
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5003
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4816
5004
  customKeypad?: boolean | undefined;
4817
5005
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4818
5006
  isMobile?: boolean | undefined;
@@ -4867,20 +5055,24 @@ declare const InteractiveGraph: {
4867
5055
  questionCompleted?: boolean | undefined;
4868
5056
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4869
5057
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4870
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4871
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5058
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5059
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4872
5060
  onChange: import("@khanacademy/perseus").ChangeHandler;
4873
5061
  trackInteraction: (extraData?: Empty | undefined) => void;
4874
5062
  isLastUsedWidget: boolean;
4875
5063
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
4876
5064
  containerSizeClass: SizingUtils.SizeClass;
4877
- }): import("../../../perseus/src/util/geometry").SineCoefficient;
5065
+ }): import("../../../../perseus/src/util/geometry").SineCoefficient;
4878
5066
  defaultSinusoidCoords(props: PerseusInteractiveGraphWidgetOptions & {
4879
5067
  widgetId: string;
4880
5068
  alignment: string | null | undefined;
4881
5069
  static: boolean | null | undefined;
4882
5070
  problemNum: number | null | undefined;
4883
5071
  apiOptions: Readonly<Readonly<{
5072
+ /**
5073
+ * An error message to display in the graph area, or true if the
5074
+ * graph is valid.
5075
+ */
4884
5076
  isArticle?: boolean | undefined;
4885
5077
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4886
5078
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4898,12 +5090,12 @@ declare const InteractiveGraph: {
4898
5090
  baseElements?: {
4899
5091
  Link: React.ComponentType<any>;
4900
5092
  } | undefined;
4901
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5093
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4902
5094
  trackInteraction?: ((args: {
4903
5095
  type: string;
4904
5096
  id: string;
4905
5097
  correct?: boolean | undefined;
4906
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5098
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4907
5099
  customKeypad?: boolean | undefined;
4908
5100
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
4909
5101
  isMobile?: boolean | undefined;
@@ -4958,8 +5150,8 @@ declare const InteractiveGraph: {
4958
5150
  questionCompleted?: boolean | undefined;
4959
5151
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4960
5152
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
4961
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
4962
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5153
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5154
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
4963
5155
  onChange: import("@khanacademy/perseus").ChangeHandler;
4964
5156
  trackInteraction: (extraData?: Empty | undefined) => void;
4965
5157
  isLastUsedWidget: boolean;
@@ -4972,6 +5164,10 @@ declare const InteractiveGraph: {
4972
5164
  static: boolean | null | undefined;
4973
5165
  problemNum: number | null | undefined;
4974
5166
  apiOptions: Readonly<Readonly<{
5167
+ /**
5168
+ * An error message to display in the graph area, or true if the
5169
+ * graph is valid.
5170
+ */
4975
5171
  isArticle?: boolean | undefined;
4976
5172
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
4977
5173
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -4989,12 +5185,12 @@ declare const InteractiveGraph: {
4989
5185
  baseElements?: {
4990
5186
  Link: React.ComponentType<any>;
4991
5187
  } | undefined;
4992
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5188
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
4993
5189
  trackInteraction?: ((args: {
4994
5190
  type: string;
4995
5191
  id: string;
4996
5192
  correct?: boolean | undefined;
4997
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5193
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
4998
5194
  customKeypad?: boolean | undefined;
4999
5195
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5000
5196
  isMobile?: boolean | undefined;
@@ -5049,8 +5245,8 @@ declare const InteractiveGraph: {
5049
5245
  questionCompleted?: boolean | undefined;
5050
5246
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5051
5247
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5052
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5053
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5248
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5249
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5054
5250
  onChange: import("@khanacademy/perseus").ChangeHandler;
5055
5251
  trackInteraction: (extraData?: Empty | undefined) => void;
5056
5252
  isLastUsedWidget: boolean;
@@ -5063,6 +5259,10 @@ declare const InteractiveGraph: {
5063
5259
  static: boolean | null | undefined;
5064
5260
  problemNum: number | null | undefined;
5065
5261
  apiOptions: Readonly<Readonly<{
5262
+ /**
5263
+ * An error message to display in the graph area, or true if the
5264
+ * graph is valid.
5265
+ */
5066
5266
  isArticle?: boolean | undefined;
5067
5267
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5068
5268
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5080,12 +5280,12 @@ declare const InteractiveGraph: {
5080
5280
  baseElements?: {
5081
5281
  Link: React.ComponentType<any>;
5082
5282
  } | undefined;
5083
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5283
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5084
5284
  trackInteraction?: ((args: {
5085
5285
  type: string;
5086
5286
  id: string;
5087
5287
  correct?: boolean | undefined;
5088
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5288
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5089
5289
  customKeypad?: boolean | undefined;
5090
5290
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5091
5291
  isMobile?: boolean | undefined;
@@ -5140,8 +5340,8 @@ declare const InteractiveGraph: {
5140
5340
  questionCompleted?: boolean | undefined;
5141
5341
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5142
5342
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5143
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5144
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5343
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5344
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5145
5345
  onChange: import("@khanacademy/perseus").ChangeHandler;
5146
5346
  trackInteraction: (extraData?: Empty | undefined) => void;
5147
5347
  isLastUsedWidget: boolean;
@@ -5154,6 +5354,10 @@ declare const InteractiveGraph: {
5154
5354
  static: boolean | null | undefined;
5155
5355
  problemNum: number | null | undefined;
5156
5356
  apiOptions: Readonly<Readonly<{
5357
+ /**
5358
+ * An error message to display in the graph area, or true if the
5359
+ * graph is valid.
5360
+ */
5157
5361
  isArticle?: boolean | undefined;
5158
5362
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5159
5363
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5171,12 +5375,12 @@ declare const InteractiveGraph: {
5171
5375
  baseElements?: {
5172
5376
  Link: React.ComponentType<any>;
5173
5377
  } | undefined;
5174
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5378
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5175
5379
  trackInteraction?: ((args: {
5176
5380
  type: string;
5177
5381
  id: string;
5178
5382
  correct?: boolean | undefined;
5179
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5383
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5180
5384
  customKeypad?: boolean | undefined;
5181
5385
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5182
5386
  isMobile?: boolean | undefined;
@@ -5231,8 +5435,8 @@ declare const InteractiveGraph: {
5231
5435
  questionCompleted?: boolean | undefined;
5232
5436
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5233
5437
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5234
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5235
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5438
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5439
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5236
5440
  onChange: import("@khanacademy/perseus").ChangeHandler;
5237
5441
  trackInteraction: (extraData?: Empty | undefined) => void;
5238
5442
  isLastUsedWidget: boolean;
@@ -5245,6 +5449,10 @@ declare const InteractiveGraph: {
5245
5449
  static: boolean | null | undefined;
5246
5450
  problemNum: number | null | undefined;
5247
5451
  apiOptions: Readonly<Readonly<{
5452
+ /**
5453
+ * An error message to display in the graph area, or true if the
5454
+ * graph is valid.
5455
+ */
5248
5456
  isArticle?: boolean | undefined;
5249
5457
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5250
5458
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5262,12 +5470,12 @@ declare const InteractiveGraph: {
5262
5470
  baseElements?: {
5263
5471
  Link: React.ComponentType<any>;
5264
5472
  } | undefined;
5265
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5473
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5266
5474
  trackInteraction?: ((args: {
5267
5475
  type: string;
5268
5476
  id: string;
5269
5477
  correct?: boolean | undefined;
5270
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5478
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5271
5479
  customKeypad?: boolean | undefined;
5272
5480
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5273
5481
  isMobile?: boolean | undefined;
@@ -5322,8 +5530,8 @@ declare const InteractiveGraph: {
5322
5530
  questionCompleted?: boolean | undefined;
5323
5531
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5324
5532
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5325
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5326
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5533
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5534
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5327
5535
  onChange: import("@khanacademy/perseus").ChangeHandler;
5328
5536
  trackInteraction: (extraData?: Empty | undefined) => void;
5329
5537
  isLastUsedWidget: boolean;
@@ -5336,6 +5544,10 @@ declare const InteractiveGraph: {
5336
5544
  static: boolean | null | undefined;
5337
5545
  problemNum: number | null | undefined;
5338
5546
  apiOptions: Readonly<Readonly<{
5547
+ /**
5548
+ * An error message to display in the graph area, or true if the
5549
+ * graph is valid.
5550
+ */
5339
5551
  isArticle?: boolean | undefined;
5340
5552
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5341
5553
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5353,12 +5565,12 @@ declare const InteractiveGraph: {
5353
5565
  baseElements?: {
5354
5566
  Link: React.ComponentType<any>;
5355
5567
  } | undefined;
5356
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5568
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5357
5569
  trackInteraction?: ((args: {
5358
5570
  type: string;
5359
5571
  id: string;
5360
5572
  correct?: boolean | undefined;
5361
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5573
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5362
5574
  customKeypad?: boolean | undefined;
5363
5575
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5364
5576
  isMobile?: boolean | undefined;
@@ -5413,8 +5625,8 @@ declare const InteractiveGraph: {
5413
5625
  questionCompleted?: boolean | undefined;
5414
5626
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5415
5627
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5416
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5417
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5628
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5629
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5418
5630
  onChange: import("@khanacademy/perseus").ChangeHandler;
5419
5631
  trackInteraction: (extraData?: Empty | undefined) => void;
5420
5632
  isLastUsedWidget: boolean;
@@ -5427,6 +5639,10 @@ declare const InteractiveGraph: {
5427
5639
  static: boolean | null | undefined;
5428
5640
  problemNum: number | null | undefined;
5429
5641
  apiOptions: Readonly<Readonly<{
5642
+ /**
5643
+ * An error message to display in the graph area, or true if the
5644
+ * graph is valid.
5645
+ */
5430
5646
  isArticle?: boolean | undefined;
5431
5647
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5432
5648
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5444,12 +5660,12 @@ declare const InteractiveGraph: {
5444
5660
  baseElements?: {
5445
5661
  Link: React.ComponentType<any>;
5446
5662
  } | undefined;
5447
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5663
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5448
5664
  trackInteraction?: ((args: {
5449
5665
  type: string;
5450
5666
  id: string;
5451
5667
  correct?: boolean | undefined;
5452
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5668
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5453
5669
  customKeypad?: boolean | undefined;
5454
5670
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5455
5671
  isMobile?: boolean | undefined;
@@ -5504,8 +5720,8 @@ declare const InteractiveGraph: {
5504
5720
  questionCompleted?: boolean | undefined;
5505
5721
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5506
5722
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5507
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5508
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5723
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5724
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5509
5725
  onChange: import("@khanacademy/perseus").ChangeHandler;
5510
5726
  trackInteraction: (extraData?: Empty | undefined) => void;
5511
5727
  isLastUsedWidget: boolean;
@@ -5518,6 +5734,10 @@ declare const InteractiveGraph: {
5518
5734
  static: boolean | null | undefined;
5519
5735
  problemNum: number | null | undefined;
5520
5736
  apiOptions: Readonly<Readonly<{
5737
+ /**
5738
+ * An error message to display in the graph area, or true if the
5739
+ * graph is valid.
5740
+ */
5521
5741
  isArticle?: boolean | undefined;
5522
5742
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5523
5743
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5535,12 +5755,12 @@ declare const InteractiveGraph: {
5535
5755
  baseElements?: {
5536
5756
  Link: React.ComponentType<any>;
5537
5757
  } | undefined;
5538
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5758
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5539
5759
  trackInteraction?: ((args: {
5540
5760
  type: string;
5541
5761
  id: string;
5542
5762
  correct?: boolean | undefined;
5543
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5763
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5544
5764
  customKeypad?: boolean | undefined;
5545
5765
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5546
5766
  isMobile?: boolean | undefined;
@@ -5595,8 +5815,8 @@ declare const InteractiveGraph: {
5595
5815
  questionCompleted?: boolean | undefined;
5596
5816
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5597
5817
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5598
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5599
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5818
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5819
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5600
5820
  onChange: import("@khanacademy/perseus").ChangeHandler;
5601
5821
  trackInteraction: (extraData?: Empty | undefined) => void;
5602
5822
  isLastUsedWidget: boolean;
@@ -5609,6 +5829,10 @@ declare const InteractiveGraph: {
5609
5829
  static: boolean | null | undefined;
5610
5830
  problemNum: number | null | undefined;
5611
5831
  apiOptions: Readonly<Readonly<{
5832
+ /**
5833
+ * An error message to display in the graph area, or true if the
5834
+ * graph is valid.
5835
+ */
5612
5836
  isArticle?: boolean | undefined;
5613
5837
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5614
5838
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5626,12 +5850,12 @@ declare const InteractiveGraph: {
5626
5850
  baseElements?: {
5627
5851
  Link: React.ComponentType<any>;
5628
5852
  } | undefined;
5629
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5853
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5630
5854
  trackInteraction?: ((args: {
5631
5855
  type: string;
5632
5856
  id: string;
5633
5857
  correct?: boolean | undefined;
5634
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5858
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5635
5859
  customKeypad?: boolean | undefined;
5636
5860
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5637
5861
  isMobile?: boolean | undefined;
@@ -5686,21 +5910,25 @@ declare const InteractiveGraph: {
5686
5910
  questionCompleted?: boolean | undefined;
5687
5911
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5688
5912
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5689
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5690
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
5913
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
5914
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5691
5915
  onChange: import("@khanacademy/perseus").ChangeHandler;
5692
5916
  trackInteraction: (extraData?: Empty | undefined) => void;
5693
5917
  isLastUsedWidget: boolean;
5694
5918
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
5695
5919
  containerSizeClass: SizingUtils.SizeClass;
5696
5920
  }): string;
5697
- validate(userInput: import("@khanacademy/perseus").PerseusGraphType, rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
5921
+ validate(userInput: PerseusGraphType, rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
5698
5922
  getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
5699
5923
  widgetId: string;
5700
5924
  alignment: string | null | undefined;
5701
5925
  static: boolean | null | undefined;
5702
5926
  problemNum: number | null | undefined;
5703
5927
  apiOptions: Readonly<Readonly<{
5928
+ /**
5929
+ * An error message to display in the graph area, or true if the
5930
+ * graph is valid.
5931
+ */
5704
5932
  isArticle?: boolean | undefined;
5705
5933
  onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
5706
5934
  onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
@@ -5718,12 +5946,12 @@ declare const InteractiveGraph: {
5718
5946
  baseElements?: {
5719
5947
  Link: React.ComponentType<any>;
5720
5948
  } | undefined;
5721
- imagePreloader?: ((dimensions: import("../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5949
+ imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
5722
5950
  trackInteraction?: ((args: {
5723
5951
  type: string;
5724
5952
  id: string;
5725
5953
  correct?: boolean | undefined;
5726
- } & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5954
+ } & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
5727
5955
  customKeypad?: boolean | undefined;
5728
5956
  nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
5729
5957
  isMobile?: boolean | undefined;
@@ -5778,14 +6006,14 @@ declare const InteractiveGraph: {
5778
6006
  questionCompleted?: boolean | undefined;
5779
6007
  onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5780
6008
  onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
5781
- findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
5782
- reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
6009
+ findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
6010
+ reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
5783
6011
  onChange: import("@khanacademy/perseus").ChangeHandler;
5784
6012
  trackInteraction: (extraData?: Empty | undefined) => void;
5785
6013
  isLastUsedWidget: boolean;
5786
6014
  linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
5787
6015
  containerSizeClass: SizingUtils.SizeClass;
5788
- }): import("@khanacademy/perseus").PerseusGraphType;
6016
+ }): PerseusGraphType;
5789
6017
  contextType?: React.Context<any> | undefined;
5790
6018
  };
5791
6019
  type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
@@ -5851,13 +6079,15 @@ export type Props = {
5851
6079
  * on the state of the interactive graph previewed at the bottom of the
5852
6080
  * editor page.
5853
6081
  */
5854
- correct: any;
6082
+ correct: PerseusGraphType;
5855
6083
  /**
5856
6084
  * The locked figures to display in the graph area.
5857
6085
  * Locked figures are graph elements (points, lines, line segmeents,
5858
6086
  * etc.) that are locked in place and not interactive.
5859
6087
  */
5860
6088
  lockedFigures?: Array<LockedFigure>;
6089
+ fullGraphAriaLabel?: string;
6090
+ fullGraphAriaDescription?: string;
5861
6091
  /**
5862
6092
  * The graph to display in the graph area.
5863
6093
  */
@@ -5886,7 +6116,6 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
5886
6116
  displayName: string;
5887
6117
  className: string;
5888
6118
  static defaultProps: DefaultProps;
5889
- changeMatchType: (newValue: any) => void;
5890
6119
  changeStartCoords: (coords: any) => void;
5891
6120
  serialize(): PerseusInteractiveGraphWidgetOptions;
5892
6121
  getSaveWarnings: () => any[];