Preheat the oven to 350 °F (175 °C) and line a baking sheet with a piece of parchment paper.
Prepare the cookie dough. In a medium mixing bowl, stir together the flour, salt, baking powder, and baking soda. Set the bowl aside.
3 cups (375 grams) white whole wheat flour, 1 teaspoon salt, 1/2 teaspoon baking powder, 1/2 teaspoon baking soda
In a large bowl using an electric hand mixer or a stand mixer fitted with the paddle attachment, beat the butter and sugar at medium speed until light and fluffy.
1 cup (225 grams) unsalted butter, 1 cup (200 grams) raw sugar
Beat in the lemon zest, lemon juice, vanilla extract and lemon extract.
2 tablespoons lemon zest, 2 tablespoons lemon juice, 1 teaspoon vanilla extract, 1 teaspoon lemon extract
Add the eggs, one by one and beat until thoroughly combined. It may appear curdled.
2 large eggs
Add the dry ingredients to the wet mixture and beat on low just until the dough comes together.
Pour the blueberries on top and use your hands to gently incorporate them into the dough.
1 1/2 cups (210 grams) fresh blueberries
Prepare the streusel by mixing together all streusel ingredients in a small bowl.
3/4 cup (94 grams) all-purpose flour, 1/4 cup (50 grams) light brown sugar, 1/4 cup (50 grams) granulated sugar, 1/8 teaspoon salt, 1/4 cup (56 grams) unsalted butter
Roll the dough into 2" balls and roll the top and sides of each ball in the streusel. It won't stick very well so pat more streusel on top of each ball.
Place on the prepared cookie sheet about 3" apart. It's okay if some streusel falls off the cookies.
Bake the all-purpose version for 13-16 minutes and the gluten-free version for 16-20 minutes or until lightly browned.
Cool for 5 minutes on the cookie sheet and then remove to a wire rack to cool completely.
Prepare the glaze. In a small bowl, mix together the sugar, 1 tablespoon lemon juice, lemon zest, vanilla extract and salt.
1 cup (120 grams) powdered sugar, 1-2 tablespoons lemon juice, 1 teaspoon lemon zest, 1/2 teaspoon vanilla extract, pinch salt
Add additional lemon juice to reach desired consistency. Drizzle over the cooled cookies.
Store in an airtight container for up to 3 days or refrigerate for up to 5 days.