core/types/storage_types library

Storage Types

Consolidated storage-related types for public API. Matches Swift StorageTypes.swift from Public/Extensions/Storage/ Includes: storage info, configuration, availability, and model storage metrics.

Classes

AppStorageInfo
App storage breakdown by directory type
DeviceStorageInfo
Device storage information
ModelStorageMetrics
Storage metrics for a single model All model metadata (id, name, framework, artifactType, etc.) is in ModelInfo This class adds the on-disk storage size
StorageAvailability
Storage availability check result
StorageInfo
Complete storage information including device, app, and model storage
StoredModel
Backward-compatible stored model view Provides a simple view of a stored model with computed properties