import 'brace/mode/yaml';
import 'brace/theme/textmate';
import React from 'react';
import type { Annotation } from 'react-ace';
export interface IYamlEditorProps {
    value: string;
    onChange(raw: string, obj: any): void;
}
export declare class YamlEditor extends React.Component<IYamlEditorProps> {
    private handleChange;
    calculateErrors: (value: string) => Annotation[];
    render: () => JSX.Element;
}
