The two companies could agree on the terms of a deal in the coming days.