import * as S from 'ufc-schema'; /** 获取全部的用户信息 */ export declare function getPersons(params: S.SearchUser): Promise; /** 获取 Person 信息 */ export declare function getPersonInfoWithToken(personToken: string): Promise; export declare function getPersonInfo(): Promise; /** 更新 Person 信息 */ export declare function updatePersonInfo(personId: S.Id, { username, email, nickname, password, phoneNumber, avatarFileId, }: { username?: string; email?: string; nickname?: string; password?: string; phoneNumber?: string; avatarFileId?: S.Id; }): Promise; /** 邀请已注册用户 */ export declare function inviteAccount({ phoneNumber, roleIds, username, }: { roleIds: string[]; username?: string; phoneNumber?: string; }): Promise; /** 查询 PersonInfo */ export declare function getPersonInfoByParam(phoneNumber: string, username: string): Promise; /** * 根据当前登录的person身份,获取相关个人客户信息 * @param tenantId * @param params * @returns */ export declare function getInquiryCustomerByPerson(tenantId: S.Id, params?: { withCustomerReceiveAddress: boolean; }): Promise; /** * 根据当前登录的person身份,更新相关个人客户信息 * @param tenantId * @param params * @returns */ export declare function updateInquiryCustomerByPerson(tenantId: S.Id, inquiryCustomer: S.InquiryCustomer): Promise;