For a moment the girl fancied she must have dreamt it.
The girl contemplated for a moment that she had dreamt about it.