Given that leave is confirmed to have won the EU referendum, what happens now?
Will David Cameron resign? If so does that mean we will have a new PM negotiating the UK's exit deal?
And how long is the process of exiting the EU likely to take?
Nobody knows. Much of what is going to / might / will happen is purely speculative, as none of it has happened before (Greenland left, but that was as an autonomous region of Denmark, not the third largest economy in the EU).
However, David Cameron has announced he will step down as Prime Minister in October. http://www.bbc.co.uk/news/uk-politics-36615028
In the European rights, UK has 2 years to leave the EU, but he would be able to leave earlier if an agreement is found.
Concerning the intention of leaving from the UK, it may be giving during the discussions around the UK referendum in the European Council the 28th and 29th of June.
But apparently Mr Cameron doesn't want to be the leader of the Brexit.
I think it's right that this new prime minister takes the decision about when to trigger article 50 and start the formal and legal process of leaving the EU