import { UserBehaviorEventEnum, ViewActionTarget } from '@oinone/kunlun-meta';
export interface UserServiceResponse {
    broken: boolean;
    errorField?: string;
    errorCode?: string;
    errorMsg?: string;
    redirect?: {
        model: string;
        name: string;
        target: ViewActionTarget;
        viewType: string;
        moduleDefinition?: {
            name: string;
        };
        resModuleDefinition?: {
            name: string;
        };
    };
}
export declare class UserService {
    static sendSmsVerificationCodeByPhone(eventType: UserBehaviorEventEnum, phone: string, picCode?: string, phoneCode?: string): Promise<UserServiceResponse>;
    static fetchVerificationCodeByForget(phone: string, picCode?: string, phoneCode?: string): Promise<UserServiceResponse>;
    static resetPasswordByPhone(phone: string, verificationCode: any, password: string, confirmPassword: any, inviteCode: any): Promise<UserServiceResponse>;
    static resetPasswordByFirst(password: string, confirmPassword: any): Promise<UserServiceResponse>;
}
