import { Ref, PropType } from 'vue';
import { ElForm } from 'element-plus';
import { ComponentSchema, FormDataModel } from '../../../core/types/epic-designer';
interface FormInstance extends InstanceType<typeof ElForm> {
    getData?: () => FormDataModel;
    setData?: (FormDataModel: any) => void;
}
/**
 * 获取表单数据
 * @param formName 表单name
 */
declare function getData(): FormDataModel;
/**
 * 设置表单数据
 * @param data
 */
declare function setData(data: FormDataModel): void;
/**
 * 校验表单数据
 * @param data
 */
declare function validate(): import('element-plus').FormValidationResult | undefined;
declare function __VLS_template(): {
    slots: {
        "edit-node"?(_: {}): any;
        node?(_: {
            componentSchema: ComponentSchema;
        }): any;
    };
    refs: {
        form: any;
    };
    attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
    componentSchema: {
        type: PropType<ComponentSchema>;
        require: boolean;
        default: () => {};
    };
}>, {
    form: Ref<FormInstance | null, FormInstance | null>;
    getData: typeof getData;
    setData: typeof setData;
    validate: typeof validate;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
    componentSchema: {
        type: PropType<ComponentSchema>;
        require: boolean;
        default: () => {};
    };
}>> & Readonly<{}>, {
    componentSchema: ComponentSchema;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
