/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React from 'react';
import { DSLResult, DSLFormEditorProps } from './types';
import { DataTypeEditorProps } from './DataTypeEditor';
export declare const TYPE_INSTANCE = "Instance";
export declare const TYPE_INSTANCE_PROVIDER = "InstanceProvider";
export interface ConfigurationEditorProps {
    value?: DSLResult | string;
    readOnly?: boolean;
    onChange?: (structure: DSLResult) => any;
    onCodeChange?: (code: string) => any;
    onError?: (err: any) => any;
    validTypes?: string[];
}
export declare const ConfigurationEditor: (props: ConfigurationEditorProps) => React.JSX.Element;
export declare const ConfigurationEditorField: (props: DSLFormEditorProps<DataTypeEditorProps>) => React.JSX.Element;
