import { newDataSourceListItemType } from 'lowcode/_setters/cDataSource-setter/type';
import { RequestParamMappingDataType } from 'lowcode/_setters/cTreeDataRelation-setter/type';
/**
 *
 * @returns
 */
export declare function getOptionsByDataSourceList(): any[];
/**
 * 每次点击都重新修正数据源配置
 * @param list
 * @returns
 */
export declare function updatedApiParamsByMainDataSource(list: newDataSourceListItemType[]): newDataSourceListItemType[];
/**
 * 做一个统一的方法去获取最新的apiParams数据
 * 有改变直接使用数据源里面的转换数据模块，如果没有改变则使用自身模块
 * @param mainApiList
 * @param apiList
 * @returns
 */
export declare function getApiParamsByMainAndApiList(mainApiList: RequestParamMappingDataType[], apiList: RequestParamMappingDataType[]): RequestParamMappingDataType[];
/**
 * 同步固定范围数据，固定不可修改的以maiApiList为主
 * @param mainApiList
 * @param apiList
 * @returns
 */
export declare function updatedApiParamsDataMain(mainApiList: RequestParamMappingDataType[], apiList: RequestParamMappingDataType[]): RequestParamMappingDataType[];
/**
 * 但凡只要存在数量和key值不一致则就说明主辅不一致了
 * @param mainApiList
 * @param apiList
 */
export declare function isChangeApiParams(mainApiList: RequestParamMappingDataType[], apiList: RequestParamMappingDataType[]): boolean;
/**
 * 通过id获取id的信息
 * @param id
 * @returns
 */
export declare function getDataSourceDataById(id: string): any;
/**
 * 根据选中id从schema中获取apiParams
 * @param id
 * @returns
 */
export declare function getApiParamsByDataSourceId(id: string): RequestParamMappingDataType[];
/**
 * 存在一些接口需要物料自身自己配置，将状态变更
 * @param list
 * @returns
 */
export declare function getApiParams(list: RequestParamMappingDataType[] | RequestParamMappingDataType): RequestParamMappingDataType[];
export declare function getCreateDataSourceItem(): newDataSourceListItemType;
export declare function alterDataSourceList(alter: newDataSourceListItemType, list: newDataSourceListItemType[]): newDataSourceListItemType[];
export declare function getInitDrawerConfig(): {
    index: number;
    visible: boolean;
    data: {
        id: string;
        dataSourceId: string;
        dataSourceName: string;
        apiParams: any[];
    };
};
