From H2803; a contrivance, that is, (concretely) a texture, machine, or (abstractly) intention, plan (whether bad, a plot ; or good, advice): - cunning (work), curious work, device (-sed), imagination, invented, means, purpose, thought.
56 occurrences in 52 verses in the Hebrew Old Testament.
And you, Solomon my son, know you the God of your father, and serve him with a perfect heart and with a willing mind: for the LORD searches all hearts, and understands all the imaginations of the thoughts: if you seek him, he will be found of you; but if you forsake him, he will cast you off for ever.
O LORD God of Abraham, Isaac, and of Israel, our fathers, keep this for ever in the imagination of the thoughts of the heart of your people, and prepare their heart to you: