Add declaration of no-arg new_promise() function.