import { IElementAttr } from '..'; import { IObjectType } from '../typings/interface/common.interface'; import { IValidValType } from '../typings/interface/comp.interface'; /** * 获得有效值,不在有效内的值会变成null * @param value 被检测的值 * @returns 被处理成有效值的值 */ export declare const getValidVal: (value: T) => T; /** * 获取对象类型 * @param value 目标对象 * @returns IObjectType */ export declare const getValueType: (value: any) => IObjectType; /** * 将用户code中的租户编码剔除 * @param userCode 用户code * @returns 剔除了租户编码的用户code */ export declare const transferUserCode: (userCode: string) => string; export declare const getIdAndCodeRelation: (formItems?: Array) => { idToCodeObj: Record; codeToIdObj: Record; };