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.