The deal is expected to be official once the pitcher passes a physical.