import { Repository } from 'typeorm'; import { UserModel } from 'src/model/user.model'; import { AuthService } from 'src/app/common/service/auth.service'; import { CaptchaService } from 'src/app/common/service/captcha.service'; import { UserLogService } from '../../common/service/user_log.service'; export declare class ApiAuthService { private authService; private captchaService; private userModel; private userLogService; constructor(authService: AuthService, captchaService: CaptchaService, userModel: Repository, userLogService: UserLogService); login(phone: string, password: string, captchaKey?: string, captchaCode?: string): Promise | import("src/app/common/api").ApiResponseVo<{ token: string; } | undefined>>; createToken(payload: Buffer | object): Promise; register(phone: string, password: string, inviteCode: string, captchaKey: string, captchaCode: string): Promise | import("src/app/common/api").ApiResponseVo<{ token: string; } | undefined>>; private importUserAndJoinGroup; }