Return type for the useNotePersistence hook.
Clear the error state
Last save error
Current file ID (null if not yet saved)
Whether there are unsaved changes
Whether a save is in progress
Last successful save timestamp
Mark that changes need saving
Manually trigger a save, returns file ID
Return type for the useNotePersistence hook.