import { ICrmApp } from "../CrmApp"; import { PersonProfileImportance } from "../dto/personProfile/PersonProfileImportance"; import { PersonProfileKind } from "../dto/personProfile/PersonProfileKind"; import { PersonProfileLinkKind } from "../dto/personProfile/PersonProfileLinkKind"; import { PersonProfileListData } from "../dto/personProfile/PersonProfileListData"; /** * Person profile utils * 人员档案工具类 */ export declare namespace PersonProfileUtils { /** * Get list label function * 获取列表标签函数 * @param crm CRM app * @returns Get list label function */ const getListLabel: (crm: ICrmApp) => (data: PersonProfileListData) => string; } /** * Person Profile * 人员档案 */ export declare class PersonProfile { private crm; constructor(crm: ICrmApp); /** * Get future date * 获取未来日期 * @param spanHours Span hours */ getFutureDate(spanHours?: number): Date; /** * Get kind * 获取类型 * @param kind */ getKind(kind?: PersonProfileKind): string | undefined; /** * Get kinds * 获取类型列表 */ getKinds(): import("@etsoo/shared").ListType[]; /** * Get importance * 获取重要性 * @param importance */ getImportance(importance?: PersonProfileImportance): string | undefined; /** * Get Importances * 获取重要性列表 */ getImportances(): import("@etsoo/shared").ListType[]; /** * Get link kind * 获取链接类型 * @param kind */ getLinkKind(kind?: PersonProfileLinkKind): string | undefined; /** * Get link kinds * 获取链接类型列表 */ getLinkKinds(): import("@etsoo/shared").ListType[]; }