using System.Threading.Tasks;
namespace StardewModdingAPI.Web.Framework.Storage
{
/// Provides access to raw data storage.
internal interface IStorageProvider
{
/// Save a text file to Pastebin or Amazon S3, if available.
/// The display title, if applicable.
/// The content to upload.
/// Whether to gzip the text.
/// Returns metadata about the save attempt.
Task SaveAsync(string title, string content, bool compress = true);
/// Fetch raw text from storage.
/// The storage ID returned by .
Task GetAsync(string id);
}
}