How long until the UK leaves the EU?

We know 'Brexit means Brexit', but what's on the checklist before the UK can leave the European Union?