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
Rename the persisted file
Manually trigger a save, returns file ID
Return type for the useAssignmentPersistence hook.
Remarks
Provides save state tracking, manual save trigger, and error management for assignment persistence operations.