Cavani to discuss future after Confederations Cup