What if I only damaged the book and it is repairable?

The library makes the final decision about whether a book is repairable or not.  If the item is considered unrepairable then you will be charged the replacement cost.