Most rocks will affect pH and hardness in the water, but how much and how fast will depend on the volume ratio of the rocks vs water (a tank with only 10% of rocks will be alot less affected than if the tank that is 50% filled with rocks), and the frequency of your water changes (more and larger regular water changes will slow down the effect).
One way to test is to get a few pieces of the rocks and soak them in a small tub or bucket of water, test the water before and then 1 week after, see if there are any changes, if there are none or very little measurable differences, then those rocks should be good to use.
That being said, if you are keeping adaptable fauna like danios and RCS shrimps, the shifts in water parameters from rocks shouldn't be much of an issue as those fishes and shrimps can adapt if the changes are gradual over a period of time.
Bookmarks