The governor will announce on Wednesday that she and lawmakers have reached an agreement on the controversial legislation.