Does anyone actually know how long it is safe to take antidepressants for, i.e. are there any long-term side effects from taking them?

Obviously you shouldn't stay on them for longer than you need to, but I'm just curious!