Add function overloads to getNumber and getBoolean so they return
non-nullable types when a defaultValue is provided. This eliminates
the need for non-null assertions at call sites.
- Remove unused persist-config.ts (zustand adapter not needed)
- Remove ! assertions from layout-slice.ts