import type grapher from "../../widgets/grapher/grapher"; import type { GrapherAnswerTypes } from "@khanacademy/perseus-core"; import type React from "react"; export type GrapherPromptJSON = { type: "grapher"; options: { availableTypes: ReadonlyArray; range: [x: [min: number, max: number], y: [min: number, max: number]]; labels: ReadonlyArray; tickStep: [number, number]; gridStep?: [number, number]; snapStep?: [number, number]; backgroundImageUrl?: string | null; }; userInput: GrapherAnswerTypes; }; export declare const getPromptJSON: (widgetData: React.ComponentProps) => GrapherPromptJSON;