I actually don’t understand the meaning of that sentence in Dickens fully either. > As much mud in the streets, as if the waters had but newly retired from the face of the earth, and it would not be wonderful to meet a Megalosaurus, forty feet long or so, waddling like an elephantine lizard up Holborn Hill. Why does “as if the waters had but newly retired” mean there’s a lot of water (and thus mud)? “As much mud as”…
"Imagine everything here was flooded and then the water leaves. The land would be left super muddy right? That's how much mud there is now".
I'm surprised it's a difficult phrase, I'm not even a native speaker.
The part with the stegosaurus is harder in that it relies on a biblical reference, but there is no way for it to be interpreted by a decent reader as a literal animal, it should at most make you wonder why he's suddenly bringing up that idea ("it would not be wonderful...).