import { SyncCipherNotification, SyncFolderNotification, SyncSendNotification, } from "../models/response/notificationResponse"; export abstract class SyncService { syncInProgress: boolean; getLastSync: () => Promise; setLastSync: (date: Date, userId?: string) => Promise; fullSync: (forceSync: boolean, allowThrowOnError?: boolean) => Promise; syncUpsertFolder: (notification: SyncFolderNotification, isEdit: boolean) => Promise; syncDeleteFolder: (notification: SyncFolderNotification) => Promise; syncUpsertCipher: (notification: SyncCipherNotification, isEdit: boolean) => Promise; syncDeleteCipher: (notification: SyncFolderNotification) => Promise; syncUpsertSend: (notification: SyncSendNotification, isEdit: boolean) => Promise; syncDeleteSend: (notification: SyncSendNotification) => Promise; }