import React from 'react';
import ZModulesCDP from '../../types';
import './styles/baseForm.less';
interface SyncValue {
    /**
     * 更新方式
     */
    syncType: ZModulesCDP.DataSet.SyncType;
    /**
     * 增量更新依据字段
     * 当updateType为增量更新时必传
     */
    updateBy?: ZModulesCDP.DataSet.Column;
}
export declare const SyncType: React.FC<{
    columnList: ZModulesCDP.DataSet.Column[];
    value?: SyncValue;
    /**
     * 数据库类型
     */
    dbType?: string;
    onChange?: (val: SyncValue) => void;
}>;
export declare const UpdateSetting: React.FC<{
    value?: ZModulesCDP.DataSet.CreateParam['updateSetting'];
    onChange?: (val: ZModulesCDP.DataSet.CreateParam['updateSetting']) => void;
}>;
type Value = {
    updateSetting: ZModulesCDP.DataSet.CreateParam['updateSetting'];
    sync: SyncValue;
    /**
     * 任务名称
     */
    jobName: string;
    /**
     * 任务描述
     */
    jobDesc: string;
};
declare const BaseForm: React.FC<{
    columnList: ZModulesCDP.DataSet.Column[];
    task?: ZModulesCDP.DataSet.TaskEditInfo;
    loading?: boolean;
    /**
     * 数据库类型
     */
    dbType?: string;
    onChange?: (val: Value) => void;
}>;
export default BaseForm;
