(a) A claimant is entitled to recover in an action brought under this chapter:
(1) declaratory and injunctive relief; and
(2) costs and reasonable attorney’s fees.
(b) A municipality or county is entitled to recover in an action brought under this chapter costs and reasonable attorney’s fees if the court finds the action to be frivolous.