Bicycloheteroaryl compounds are disclosed that have a formula represented by the following: The compounds may be prepared as pharmaceutical compositions, and may be used for the prevention and treatment of a variety of conditions in mammals including humans, including by way of non-limiting example, pain, inflammation, traumatic injury, and others.