Generates a structured local storage and caching layer with type-safe data access, cache invalidation policies, migration support, and encrypted storage for sensitive data in mobile apps.