type Param = { usertype: string; foundUser: any; isSocialValidated: boolean; isUserValid: boolean; reqBody: any; serverRes: any; loginFailureReason: any; }; /** * # Google Login */ export default function googleLogin({ usertype, foundUser, isSocialValidated, isUserValid, reqBody, serverRes, loginFailureReason, }: Param): Promise<{ isGoogleAuthValid: boolean; newFoundUser: null; loginFailureReason: any; } | { isGoogleAuthValid: boolean; newFoundUser: any; loginFailureReason?: undefined; } | undefined>; export {};