import { Injector } from "@angular/core"; import { ResponseInfo } from "@farris/bef"; import { Repository } from '@farris/devkit'; import { Observable } from "rxjs"; export declare class FeatureRepository { private injector; private repository; constructor(injector: Injector, repository: Repository); /** * 根据物料id获取物料特征项及特征值(公共默认值) * @param materialId 物料id */ getFeaturesByMaterialId(materialId: string): Observable; /** * 根据物料id及物料特征保存后的hash获取该物料已经存储的特征项值 * @param materialId 物料Id * @param configID 对应该物料的特征项hash * @returns */ getConfigedValueByFeatureId(materialId: string, configID: string, configType?: string): Observable; /** * 保存物料特征项 * @param materialId 物料id * @param charactValue 特征值 * @param configType 配置类型 * @returns */ applyFeatures(materialId: string, charactValue: any, configType?: string): Observable; /** * 获取帮助信息 * @param helpid 帮助id * @param filter 过滤条件 * @param params 参数 * @returns */ getHelpInfo(helpid: string, filter: string, params: any): Observable; }