The ESTA form explicitly includes "withdrawn your application for admission", as part of the refused admission question.
So it's basically the same, and you will have to apply for a proper visa.
So it's basically the same, and you will have to apply for a proper visa.