import { Schema } from 'amis-core'; import { BasePlugin, IRegionConfig, TBasicPanelItem, TEditorNode } from 'amis-designer-core'; export default class PanelPlugin extends BasePlugin { rendererName: string; name: string; description: string; groups: string[]; icon: string; regions: ({ key: string; label: string; renderMethod: string; renderMethodOverride: (regions: Array, insertRegion: Function) => () => any; mode?: undefined; } | { key: string; label: string; mode: string; renderMethod: string; renderMethodOverride?: undefined; })[]; previewSchema: { type: string; title: string; body: string; actions: { label: string; type: string; }[]; }; scaffold: { type: string; title: string; body: Schema[]; actions: Schema[]; }; panelTitle: string; panelBodyCreator(node: any): any[]; buildEditorPanel(node: TEditorNode, panels: Array): void; }