/** * 从对象数组中根据输入key的值获取输出key的值 * @param array: 目标数组 * @param inputValue: 输入的值 * @param keyMap.inputKey: 输入的key,默认value * @param keyMap.outputKey: 输出的key,默认label * @param keyMap.childrenKey: 树形结构children的别名,默认children * @returns 返回输出key的值 */ interface IFindValue { (array: T[], inputValue: any, keyMap?: { inputKey?: string; outputKey?: string; childrenKey?: string; }): any; } declare const findValue: IFindValue; export { findValue };