using System; using System.Threading.Tasks; namespace Bit.App.Abstractions { public interface ISyncService { bool SyncInProgress { get; } Task SyncCipherAsync(string id); Task SyncFolderAsync(string id); Task SyncDeleteFolderAsync(string id, DateTime revisionDate); Task SyncDeleteLoginAsync(string id); Task SyncSettingsAsync(); Task SyncProfileAsync(); Task FullSyncAsync(bool forceSync = false); Task FullSyncAsync(TimeSpan syncThreshold, bool forceSync = false); } }