import * as React from "react";
import type { ExplanationDefaultWidgetOptions } from "@khanacademy/perseus-core";
type Props = any;
type State = any;
/**
 * An editor for adding an explanation widget that provides supplementary information to users.
 */
declare class ExplanationEditor extends React.Component<Props, State> {
    static propTypes: {
        showPrompt: any;
        hidePrompt: any;
        explanation: any;
        widgets: any;
        apiOptions: any;
        onChange: any;
    };
    static widgetName: "explanation";
    static defaultProps: ExplanationDefaultWidgetOptions;
    state: State;
    change: (arg1: any, arg2: any, arg3: any) => any;
    serialize: () => any;
    render(): React.ReactNode;
}
export default ExplanationEditor;
