import { IDynamicFormItem } from '../DynamicFormDefs/DynamicFormItem'; export interface FormArrayGroupProps { /** * 列表方向,默认垂直方向。 */ direction?: 'vertical' | 'horizontal'; /** * 是否显示添加按钮,默认显示。 */ showAddButton?: boolean; /** * 是否显示删除按钮,默认显示。 */ showDeleteButton?: boolean; /** * 是否显示上下移动按钮,默认显示。 */ showUpDownButton?: boolean; /** * 是否为朴素样式 * @default false */ plain?: boolean; /** * 是否默认折叠 * @default false */ collapsed?: boolean; /** * 是否可折叠 * @default true */ collapsible?: boolean; } type __VLS_Props = FormArrayGroupProps & { model: unknown[]; item: IDynamicFormItem; parent?: IDynamicFormItem; name: string; isObject?: boolean; deleteCallback?: (arr: unknown[], data: unknown) => void; addCallback?: (arr: unknown[]) => unknown; }; declare function handleAdd(): void; declare function __VLS_template(): { attrs: Partial<{}>; slots: { child?(_: { item: import('../main').IDynamicFormItemUnion; pitem: IDynamicFormItem; kname: string; model: unknown; onUpdateValue: (v: any) => void; isFirst: boolean; isLast: boolean; }): any; child?(_: { item: import('../main').IDynamicFormItemUnion; pitem: IDynamicFormItem; kname: string; model: unknown; onUpdateValue: (v: any) => void; isFirst: boolean; isLast: boolean; }): any; itemButton?(_: { onDeleteClick: () => void; onUpClick: () => void; onDownClick: () => void; }): any; itemButton?(_: { onDeleteClick: () => void; onUpClick: () => void; onDownClick: () => void; }): any; addButton?(_: { onClick: typeof handleAdd; }): any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { collapsible: boolean; collapsed: boolean; isObject: boolean; showAddButton: boolean; showDeleteButton: boolean; showUpDownButton: boolean; direction: "vertical" | "horizontal"; plain: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };