How long can you spread Omicron?

The US and UK have cut isolation periods, leading to questions about when people are infectious.