Australia’s prime minister on Wednesday said he would declare a national emergency following floods across large swathes of the east coast that have claimed 22 lives.