/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React from 'react';
import { Entity } from '@kapeta/schemas';
import './EntityEditor.less';
type Value = {
    [key: string]: any;
};
export interface EntityBlockInstanceResource {
    name: string;
    portType: string;
}
export interface EntityBlockInstance {
    id: string;
    name: string;
    providers: EntityBlockInstanceResource[];
}
interface Props {
    entities: Entity[];
    instances?: EntityBlockInstance[];
    value: Value;
    onChange: (value: Value) => void;
}
export declare const EntityEditor: (props: Props) => React.JSX.Element;
interface FormProps {
    entities: Entity[];
    instances?: EntityBlockInstance[];
    name: string;
}
export declare const EntityEditorForm: (props: FormProps) => React.JSX.Element;
export {};
