Having worked in the mining industry, I can say with confidence it's 4-5 years. That's assuming the stuff being mined is reasonably innocuous, e.g. iron ore. With lithium, who knows?
For example, it took 8 years for the world's richest rare earth deposit, Mt Weld, to get from mining startup to final processing in Malaysia.