I'm not sure if I understand your question.
But how you pronounce (and hear) the ''ed" of past tense of regular verbs depends not on the NEXT word but on the ending of the verb you are putting in the past tense.
verb ends in a voiced sound(b, m, s, , l, etc) - "ed" sounds like "d" -- nabbed, called, cleaned,
in a voiceless sound (p, t, k, sh, tch, etc) - "ed" sounds like "t" - washed, watched, napped
if the verb ends in "d" or "t" sound -- 'ed' is prounced as a separate syllable (id) needed, wanted,
You don't usually hear this "d" or "t) unless it is at the end of the sentence. For example, in the sentence "I cleaned the window", you won't hear the "d" at the end of the word"cleaned". But in " I washed the dishes and Mary dried" you won't really hear the "t" at the end of "washed" but will hear it at the end of "dried"
You can see a chart of this here: https://www.grammar.cl/english/pronunciation-ed.htm