Labour has ruled out rejoining the European Union but wants to “break down barriers to trade”.