/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React from 'react';
import './DSLEditor.less';
import { DSLLanguageOptions, DSLResult } from './types';
import './DSLLanguage';
export interface DSLEditorProps extends DSLLanguageOptions {
    value?: DSLResult | string;
    readOnly?: boolean;
    validator?: (object: any) => void;
    onChange?: (structure: DSLResult) => any;
    onCodeChange?: (code: string) => any;
    onError?: (err: any) => any;
}
export declare const DSLEditor: (props: DSLEditorProps) => React.JSX.Element;
