import { EpPropMergeType } from 'element-plus/es/utils'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, Component, ComputedOptions, MethodOptions, PropType } from 'vue'; import { PlusStepFromRow } from './type'; import { FieldValues, PlusColumn } from 'firefly-plus-components/es/types'; export interface PlusStepsFormProps { modelValue: number; data: PlusStepFromRow[]; } export interface PlusStepsFormEmits { (e: 'pre', modelValue: number): void; (e: 'next', modelValue: number, values: FieldValues): void; (e: 'update:modelValue', active: number): void; (e: 'change', values: FieldValues, column: PlusColumn): void; } declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { modelValue: number; data: () => never[]; }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { pre: (modelValue: number) => void; next: (modelValue: number, values: FieldValues) => void; "update:modelValue": (active: number) => void; change: (values: FieldValues, column: PlusColumn) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { modelValue: number; data: () => never[]; }>>> & { onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined; "onUpdate:modelValue"?: ((active: number) => any) | undefined; onNext?: ((modelValue: number, values: FieldValues) => any) | undefined; onPre?: ((modelValue: number) => any) | undefined; }, { data: PlusStepFromRow[]; modelValue: number; }, {}>, { icon?(_: { icon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined; title: string; description: string | undefined; }): any; title?(_: { icon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined; title: string; description: string | undefined; }): any; description?(_: { icon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown> | undefined; title: string; description: string | undefined; }): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };