///
export interface AtomSpec {
/** 原子组件唯一ID */
id: string;
/** 运行时参数 */
props: any;
/** 元信息 */
meta?: {
/** 排序 */
order?: number;
/** 分组 */
group?: string;
/** 标题 */
title?: string;
/** 描述 */
description?: string;
/** 图标 */
icon?: string;
};
/** 服务ID */
serviceId?: string[];
}
export interface ContainerSpec {
id: string;
props: any;
children: AtomSpec[];
}
export interface Spec {
container: ContainerSpec;
contextmenu: ContainerSpec;
toolbar: ContainerSpec;
atoms: AtomSpec[];
}
export declare const spec: Spec;
export declare const assets: {
ContextMenu: import("react").FunctionComponent;
PropertiesPanel: import("react").FunctionComponent;
BasicContainer: import("react").FunctionComponent;
LoadCSV: import("react").FunctionComponent;
SwitchEngine: import("react").FunctionComponent;
};
export declare const services: {
id: string;
service: () => Promise<{
data: {
name: string;
};
}>;
}[];
export declare const defaultCanvas: {
id: string;
props: {};
render: (props: any) => JSX.Element;
};
export declare const defaultContainer: {
id: string;
props: {
items: never[];
};
render: import("react").FunctionComponent;
};