Air Canada and the union representing its pilots have come to terms on a labor agreement that is likely to prevent a shutdown of Canada’s largest airline.

Talks betwen the company and the Air Line Pilots Association produced a tentative, four-year collective agreement, the airline announced in a statement early Sunday.

The prospective deal recognizes the contributions of the pilots flying for Air Canada and Air Canada Rouge while setting a new framework for company growth. The terms will remain confidential until ratification by union members and approval by the airline’s board of directors over the next month, the airline said.