Common Foods
If you're looking at a common food, the reported values will often be raw and for the portion of the food that's typically considered edible.
For example:
A banana doesn't include the weight or nutritional value belonging to the peel.
A chicken thigh doesn't include the weight or nutritional value belonging to the bones.
Adding the cooking method to your search query can help find common food entries that are reporting cooked values. Similarly, especially in the case of meats, specifying the term "raw" in the query will only return results for a raw portion of food.
Branded Products
If the food is a branded product, this will entirely depend on how the manufacturer decides to report the nutrients. Looking at the packaging may provide hints as to whether the nutritional values are for a cooked or raw portion. Often though, this will follow a similar pattern to common foods.
Read next:
Now that you understand if default food weight is cooked or raw, you might enjoy one of these articles next:
Tips for Logging Food More Accurately
How to Log Foods with Complete Micronutrient Information
How Accurately Do I Need To Log My Food?