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