import React from "react";
import { XFormConfiguration } from "../XFormConfiguration";
interface JSONBoxInterface {
    form: XFormConfiguration;
    isLeaving: boolean;
    onJSONUpdating: Function;
    onNextMode: Function;
}
interface State {
    content: string;
    parseJSONError: boolean;
    allowEdit: boolean;
}
export declare class XFormDataEditing extends React.Component<JSONBoxInterface, State> {
    constructor(props: JSONBoxInterface);
    componentDidMount(): void;
    componentDidUpdate(prevProps: JSONBoxInterface): void;
    handleChange(event: React.ChangeEvent<HTMLTextAreaElement>): void;
    onClickSave(_event: React.MouseEvent<HTMLButtonElement>): void;
    onChangeAllow(event: React.ChangeEvent<HTMLInputElement>): void;
    onCloseParseJSONDialog: () => void;
    onCloseLeavingDialog: () => void;
    render(): JSX.Element;
}
export {};
