2. Has a history of type 1 diabetes (Cohorts 1 to 22) or type 2 diabetes (Cohorts 1 to 15, 17 to 22) or hemoglobin A1c >6.5% at Screening. Note: participants with controlled (hemoglobin A1c <7.0% at Screening) type 2 diabetes in Cohort 16 may participate in the study.