Text of the treaties will be published this afternoon, alongside legislation designed to enact the bulk of the deal.