Idea behind the discussions

A source according to the Guardian is saying that Northern Ireland would leave the customs union, but "follow the customs rules. In addition, the region will "follow" single market regulations.

This is as long as it has the consent of the people of Northern Ireland.