#nullable disable using System.Threading.Tasks; namespace StardewModdingAPI.Web.Framework.Storage { /// Provides access to raw data storage. internal interface IStorageProvider { /// Save a text file to storage. /// The content to upload. /// Whether to gzip the text. /// Returns metadata about the save attempt. Task SaveAsync(string content, bool compress = true); /// Fetch raw text from storage. /// The storage ID returned by . /// Whether to reset the file expiry. Task GetAsync(string id, bool renew); } }