とわかっていた

knew that

→ と
phrase Rare #24,919
knew that と marks the information that someone knew. わかっていた is the past form of わかっている, meaning “know” or “understand.”
JA: 彼が来ないとわかっていた。
EN: I knew he wasn’t coming.

いつか誰かが私の音楽を演奏するとわかっていた

I knew that someday someone would play my music.

— コーラス (2004)

幸い、私が彼を打つのに抵抗を感じるとわかっていたキースは、何も言わなかった。

Fortunately, Keith knew I’d be reluctant to hit him, so he didn’t say anything.

私は大儲けできるとわかっていた。

I knew I could make a fortune.

彼女には力があるとわかっていた

I knew she had the strength.

— ウィキッド ふたりの魔女 (2024)