Suzann Pettersen says she would love the opportunity to captain Team Europe in the future, after announcing her retirement from the sport.