Clarence Seedorf says he is to become the new AC Milan manager after announcing his retirement from playing.