I doubt if there's any fixed limit. There might be some ICAO/EASA guidelines, but with every single ATM system and ATC provider it might get a little different. In general STCA warning is time-based, so faster closing aircraft generate it within larger distance. STCA alert is usually distance-based and it gets triggered when the separation is already lost.