In case anybody is still unclear, ancient eclipse prediction did not involve knowledge or measurement of the moon’s orbit. It involved extrapolation from records of previous eclipses, and teasing out the patterns within them. Indeed, it worked in reverse–studying eclipse records gave insight into the moon’s orbit, not the opposite.
The gold standard for solar eclipse prediction is the triple-Saros cycle. If a fat partial or total solar eclipse occurs at your location, you can be damned sure another fat partial or total eclipse will occur 223 new moons later. (54 years + 31 days in the Gregorian calendar.) For example, I remember a fat partial eclipse when I was in college in February 1979. Without knowing anything else, I know there will be another, visible in Illinois, in March 2033. And indeed, a quick Google confirms this to be the case.
However, the triple-Saros is difficult to discover. You need an accurate and stable calendar and good records over a long period of time, and a lot of patience to peruse them and tease out the 223-month pattern. There is some controversy as to who discovered it first. It appears that the Mayans did not know of it.
On shorter scales, there are other cycles that will give you decent probabilities of an eclipse, but nothing as sure as the triple-Saros. Over very short time frames, you will discover the time between lunar and solar eclipses to be one less than a multiple of six (for example, 17 or 23 months). This eliminates some months as eclipse candidates, and raises the probability in others.
Over longer periods of 2-20 years there are other cycles with greater or lesser predictive power. From fragmentary records it can be difficult to determine which cycle or cycles an ancient civilization was using. So, it’s hard to be sure about their predictive accuracy.
So, could the Mayans have expected with confidence a total eclipse? No, no way. Could they have sensed a greater than usual probability of a fat partial or total eclipse? Yes, definitely. How much greater than usual? Can’t say.