Libya's oil company on Thursday announced an "immediate" resumption of oil exports from two of the key ports captured this week by forces opposed to the country's UN-backed unity government.