import Synchronizer from "./Synchronizer"; import SyncStatus from "./types/SyncStatus"; export default class SyncPolicy { /** Indicates whether rollback should be executed or not. */ static shouldRollBack(synchronizer: Synchronizer): boolean; /** Indicates whether commit should be executed or not. */ static shouldCommit(syncStatus: SyncStatus): boolean; /** Indicates whether last sync date should be updated or not. */ static shouldUpdateLastSyncAt(synchronizer: Synchronizer): boolean; }