import * as React from "react";
import type { APIOptionsWithDefaults } from "@khanacademy/perseus";
import type { GrapherAnswerTypes, GrapherDefaultWidgetOptions, PerseusGrapherWidgetOptions } from "@khanacademy/perseus-core";
type Props = {
    onChange: (newProps: Record<string, unknown>) => void;
    graph: PerseusGrapherWidgetOptions["graph"];
    correct: GrapherAnswerTypes;
    availableTypes: PerseusGrapherWidgetOptions["availableTypes"];
    apiOptions: APIOptionsWithDefaults;
};
declare class GrapherEditor extends React.Component<Props> {
    static widgetName: "grapher";
    static defaultProps: GrapherDefaultWidgetOptions;
    handleAvailableTypesChange: (newAvailableTypes: Array<any>) => void;
    serialize: () => any;
    render(): React.ReactNode;
}
export default GrapherEditor;
