I thought I heard a noise.

Literal

Noise [subject-が] was-audible [manner-ような] feeling did.

~ような気がした is the past of ~ような気がする — 'felt like/had a sense that.' Expresses uncertainty about perception.