/// import { Schema } from 'amis-core'; import { BasePlugin, TEditorNode } from 'amis-designer-core'; export default class FormPlugin extends BasePlugin { rendererName: string; name: string; description: string; groups: string[]; icon: string; regions: ({ key: string; label: string; matchRegion: (elem: JSX.Element) => boolean; renderMethod: string; body: (element: any) => any; mode?: undefined; } | { key: string; label: string; mode: string; matchRegion?: undefined; renderMethod?: undefined; body?: undefined; })[]; previewSchema: { type: string; body: { label: string; name: string; type: string; }[]; }; scaffold: { type: string; panelClassName: string; className: string; body: Schema[]; actions: Schema[]; }; panelTitle: string; panelBodyCreator(node: TEditorNode): any[]; }