// #region SyncMode
export const SYNC_MODE_PUSH = 'push';
export const SYNC_MODE_PULL = 'pull';
export const SYNC_MODE_SYNC = 'sync';
export const SyncMode = {
    push: SYNC_MODE_PUSH,
    pull: SYNC_MODE_PULL,
    sync: SYNC_MODE_SYNC,
};
export const SYNC_MODE_VALID_VALUES = Object.values(SyncMode);
export function isValidSyncMode(mode) {
    return SYNC_MODE_VALID_VALUES.includes(mode);
}
// #endregion SyncMode
// #region SyncConflictStrategy
export const SYNC_CONFLICT_STRATEGY_ABORT = 'abort';
export const SYNC_CONFLICT_STRATEGY_OPTIMISTIC = 'optimistic';
export const SYNC_CONFLICT_STRATEGY_MANUAL = 'manual';
export const SyncConflictStrategy = {
    abort: SYNC_CONFLICT_STRATEGY_ABORT,
    optimistic: SYNC_CONFLICT_STRATEGY_OPTIMISTIC,
    manual: SYNC_CONFLICT_STRATEGY_MANUAL,
};
export const SYNC_CONFLICT_STRATEGY_VALID_VALUES = Object.values(SyncConflictStrategy);
export function isValidSyncConflictStrategy(strategy) {
    return SYNC_CONFLICT_STRATEGY_VALID_VALUES.includes(strategy);
}
//# sourceMappingURL=sync-types.mjs.map