I know a pool of people who graduated from flight school and I’d say the average is about one year or less (from the end of flight school to signing with a company). Most airlines take a long time to respond to applications from inexperienced pilots, and the assessment process itself can be very time consuming too.