import { FormInstance } from 'antd';
import React from 'react';
import ZModulesCDP from '../../types';
import './styles/baseForm.less';
import 'moment/locale/zh-cn';
type DateRangeItem = {
    id: number;
    value?: any;
};
type BaseFormProps = {
    task: any;
    loading?: boolean;
    dbType?: string;
    onSubmit?: (val: Value) => void;
    onCancel?: () => void;
    onSubmitSuccess?: () => void;
    ref: any;
    mode?: string;
};
type Value = {
    fieldMapping: any[];
    id: any;
    updateSetting: ZModulesCDP.DataSet.CreateParam['updateSetting'];
    jobName: string;
    jobDesc: string;
    dsName: string;
    eventId: number;
    eventTimeConfig: DateRangeItem[];
    rerunConfig: {
        number?: number;
        minutes?: number;
    };
    number?: number;
    minutes?: number;
};
declare const BaseForm: React.ForwardRefExoticComponent<Omit<BaseFormProps, "ref"> & React.RefAttributes<FormInstance<any>>>;
export default BaseForm;
