import React from 'react';
import type { AceEditorProps } from 'react-ace';
import 'brace/mode/json';
import 'brace/ext/searchbox';
import './aceEditor.less';
export interface IJsonEditorProps extends AceEditorProps {
    value: string;
    onChange?: (json: string) => void;
    onValidation?: (message: string) => void;
    readOnly?: boolean;
    autofocus?: boolean;
}
export declare class JsonEditor extends React.Component<IJsonEditorProps> {
    static defaultProps: Partial<IJsonEditorProps>;
    private editorRef;
    private validate;
    componentDidMount(): void;
    render(): JSX.Element;
}
