Air conditioning company Carrier said Tuesday that it had reached an agreement with President-elect Donald Trump that would keep 1,000 jobs in Indianapolis.

Trump and Vice President-elect Mike Pence, Indiana's outgoing governor, planned to travel to the state Thursday to unveil the agreement alongside company officials.

Details of the agreement were not immediately available. A Trump transition source told Fox News that Carrier executives went to Trump Tower Tuesday to hash out the deal.

Trump spent much of his campaign pledging to keep companies like Carrier from moving jobs overseas. His focus on manufacturing jobs contributed to his unexpected appeal with working-class voters in states like Michigan, which has long voted for Democrats in presidential elections.

In a September debate against Democratic rival Hillary Clinton, he railed against Carrier's decision to move hundreds of air-conditioner manufacturing jobs from Indianapolis to Mexico.

"So many hundreds and hundreds of companies are doing this," Trump said. "We have to stop our jobs from being stolen from us. We have to stop our companies from leaving the United States."

In February, Carrier said it would shutter its Indianapolis plant employing 1,400 workers and move its manufacturing to Mexico.

The plant's workers would have been laid off over three years starting in 2017.

United Technologies Electronic Controls also announced then that it planned to move its Huntington manufacturing operations to a new plant in Mexico, costing the northeastern Indiana city 700 jobs by 2018. Those workers make microprocessor-based controls for the HVAC and refrigeration industries.

Carrier and UTEC are both units of Hartford, Connecticut-based United Technologies Corp. -- which also owns Pratt & Whitney, a big supplier of fighter jet engines that relies in part on U.S. military contracts.

Carrier wasn't the only company Trump assailed. He pledged to give up Oreos after Nabisco's parent, Mondelez International, said it would replace nine production lines in Chicago with four in Mexico. He criticized Ford after the company said it planned to invest $2.5 billion in engine and transmission plants in Mexico.

Trump tweeted on Thanksgiving Day that he was "making progress" on trying to get Carrier to stay in Indiana.

Chuck Jones, president of United Steelworkers Local 1999, which represents Carrier workers, said of Tuesday's news: "I'm optimistic, but I don't know what the situation is. I guess it's a good sign. ... You would think they would keep us in the loop. But we know nothing."

Thursday's event will mark a rare public appearance for Trump, who has spent nearly his entire tenure as president-elect huddled with advisers and meeting with possible Cabinet secretaries. He plans to make other stops later this week as part of what advisers have billed as a "thank you" tour for voters who backed him in the presidential campaign.

Fox News' John Roberts contributed to this report. The Associated Press also contributed to this report.