import { LayerOperation, LayerOperationType } from './types';
/**
 * 根据图层类型获取在图层操作列表配置中的图层类型字符串
 *
 * @param {String} layerType common的图层类型
 * @param {any} zondy zondy命名空间
 * @return {String} 图层操作中的图层类型字符串
 * */
export declare const getLayerTypeStringByType: (layerType: string, zondy: any) => string;
/**
 * 根据图层类型字符串获取该类图层操作配置
 *
 * @param {Object} layerOperations 图层操作列表配置
 * @param {String} layerType common的图层类型
 * @param {String} originLayerType common的原始图层类型
 * @param {any} zondy zondy命名空间
 * @return {Array} 图层对应的编辑菜单的配置文件
 * */
export declare const getLayerOperationConfigByLayerTypeString: (layerOperations: object, layerType: string, originLayerType: string | undefined, zondy: any, viewState: any) => object;
/**
 * 获取图层操作对应的标签
 
 * @param {LayerOperationType} layerOperationType 图层操作类型
 * @return {String} 操作标签
 * */
export declare const getLayerOperationLabel: (layerOperationType: LayerOperationType) => string;
/**
 * 获取图层操作对应的标签
 
 * @param {LayerOperationType} layerOperationType 图层操作类型
 * @return {String} 操作标签
 * */
export declare const getLayerOperationTip: (layerOperationType: LayerOperationType) => string;
/**
 * 获取图层操作对应的图标
 
 * @param {LayerOperationType} layerOperationType 图层操作类型
 * @return {String} 操作图标
 * */
export declare const getLayerOperationIcon: (layerOperationType: LayerOperationType) => string;
export declare const getLayerOperationComponent: (layerOperationType: LayerOperationType) => string;
/**
 * 生成处理后的图层操作列表配置，props传入的可以覆盖默认的配置
 *
 * @param {Object} layerOperations props传入的图层操作列表配置
 * @param {Array} sharedOperations 共享的图层操作列表配置
 * @param {Function} getActionFunction 操作项动作的方法
 * @return {Object} 处理后的图层操作列表配置
 * */
export declare const getLayerOperations: (layerOperations: object, sharedOperations: Array<LayerOperation>, getActionFunction: Function) => object;
/**
 * 根据操作类型获取对应的操作函数
 *
 * @param {Array<any>} layerOpertionConfig 单个图层的操作配置
 * @param {LayerOperationType} layerOperationType 操作类型
 * @return {Function} 操作函数
 */
export declare const getLayerOperationActionByOperationType: (layerOpertionConfig: Array<any>, layerOperationType: LayerOperationType) => Function;
/**
 * 根据操作类型获取对应的组件
 *
 * @param {Array<any>} layerOpertionConfig 单个图层的操作配置
 * @param {LayerOperationType} layerOperationType 操作类型
 * @return {Function} 操作函数
 */
export declare const getLayerOperationComponentByOperationType: (layerOpertionConfig: Array<any>, layerOperationType: LayerOperationType) => Function;
