You are not going to be able to sue for being reasonably detained. Your friend shoplifted, you were with her.

Be happy you are not being charged as an accessory.