import { Schema } from 'amis-core'; import { BasePlugin } from 'amis-designer-core'; export default class GroupPlugin extends BasePlugin { rendererName: string; name: string; description: string; groups: string[]; icon: string; regions: { key: string; label: string; renderMethod: string; body: (element: any) => any; wrapperResolve: (dom: HTMLElement) => HTMLElement; }[]; scaffold: { type: string; body: Schema[]; label: boolean; }; previewSchema: { type: string; mode: string; body: { type: string; body: { type: string; label: string; name: string; }[]; label: boolean; }; }; panelTitle: string; panelBody: any[]; }