import React, { ReactNode } from 'react';
import { SimpleTable } from './merge';
import '../styles/columnSelector.less';
import CdpFlowTypes from '../../../../types/flow';
declare const TableColumnSelector: React.FC<{
    className?: string;
    table?: SimpleTable;
    title?: ReactNode;
    simpleMode?: boolean;
    defaultValue?: CdpFlowTypes.ModifyColumn[];
    loading?: boolean;
    /**
     * 有该值时，自动为重名字段添加别名
     */
    compareTable?: SimpleTable;
    /**
     * 用于名称校验的表范围
     */
    validatorScope?: CdpFlowTypes.ModifyColumn[];
    /**
     * 已选字段发生改变的回调
     */
    onChange?: (columns: CdpFlowTypes.ModifyColumn[]) => void;
    /**
     * 无视是否勾选，回传所有列数据
     */
    onChangeAll?: (columns: CdpFlowTypes.ModifyColumn[]) => void;
}>;
export default TableColumnSelector;
