Flooding in eastern Australia has led the attorney general to declare 45 communities in the state of