export declare enum SyncConflictStrategy { /** * Force synchronizing by using the data from the source collection. * Fetch will use the parent's data to update local data. Post will use * data from the local collection and force it * into the parent. */ Force = "Force", /** Abort sync if there's a conflicting item in the item set to sync (i.e. sync all or none). */ RaiseError = "RaiseError", /** Ignore conflicting items (do nothing about them). */ Ignore = "Ignore", /** Syncs the items in order until there's a conflict. */ SyncUntilConflict = "SyncUntilConflict" } /** Options for syncing. */ export interface SyncOptions { conflictStrategy: SyncConflictStrategy; } export declare enum SyncOperation { Fetch = 0, Post = 1 }