import { Schema } from 'amis-core'; import { BasePlugin } from 'amis-designer-core'; export default class ButtonGroupPlugin extends BasePlugin { rendererName: string; name: string; description: string; groups: string[]; icon: string; regions: { key: string; label: string; mode: string; renderMethod: string; wrapperResolve: (dom: HTMLElement) => HTMLElement; }[]; scaffold: { type: string; buttons: Schema[]; }; previewSchema: { type: string; buttons: Schema[]; }; panelTitle: string; panelBody: { name: string; type: string; label: string; multiple: boolean; addable: boolean; minLength: number; draggable: boolean; items: { type: string; tpl: string; }[]; addButtonText: string; scaffold: { type: string; label: string; }; }[]; filterProps: (props: any) => any; }