Which attribute of divine knowledge is fundamental to predestination?

The Secret of Divine Decree, Allah’s Knowledge, and the Tablet and Pen