import { EntityDict } from "../oak-app-domain"; import { BRC } from "../types/RuntimeCxt"; export declare function mergeUser(params: { from: string; to: string; mergeMobile?: true; mergeEmail?: true; mergeWechatUser?: true; }, context: BRC, innerLogic?: boolean): Promise; export declare function getChangePasswordChannels(params: { userId: string; }, context: BRC, innerLogic?: boolean): Promise; export declare function updateUserPassword(params: { userId: string; prevPassword?: string; captcha?: string; newPassword: string; mobile?: string; }, context: BRC, innerLogic?: boolean): Promise<{ result: string; times: number; } | { result: string; times?: undefined; }>; /** * 用户账号注册 * @param params * @param context */ export declare function registerUserByLoginName(params: { loginName: string; password: string; }, context: BRC): Promise;