import * as React from "react"; import type { Coord } from "../../interactive2/types"; import type { Widget, WidgetProps } from "../../types"; import type { UnsupportedWidgetPromptJSON } from "../../widget-ai-utils/unsupported-widget"; import type { PerseusInteractionWidgetOptions } from "@khanacademy/perseus-core"; type Props = WidgetProps; type DefaultProps = { graph: Props["graph"]; elements: Props["elements"]; }; type State = { variables: any; functions: any; }; declare class Interaction extends React.Component implements Widget { static defaultProps: DefaultProps; isWidget: true; state: State; UNSAFE_componentWillReceiveProps(nextProps: Props): void; _setupGraphie: (arg1: any, arg2: any) => void; _updatePointLocation: (arg1: string, arg2: Coord) => void; _updateLineLocation: (arg1: any, arg2: Coord) => void; _eval: (arg1: any, arg2: any) => number; _extractVars: (arg1: any) => ReadonlyArray; getPromptJSON(): UnsupportedWidgetPromptJSON; render(): React.ReactNode; } declare const _default: { name: string; displayName: string; widget: typeof Interaction; hidden: true; }; export default _default;