Men know all things. 1 John 2:20
Current knowledge, not future knowledge.
"Declaring the end from the beginning" is not "knowing everything that will happen in the future."
Again, present knowledge. "God can know our thoughts before we put them into words," not "God knows our thoughts...