import { IDatabaseCollection } from "@js-soft/docdb-access-abstractions"; import { CoreDate } from "@nmshd/core-types"; import { TransportController } from "../../core"; import { DependencyOverrides } from "../../core/DependencyOverrides"; import { AccountController } from "../accounts/AccountController"; import { ChangedItems } from "./ChangedItems"; import { WhatToSync } from "./WhatToSync"; export declare class SyncController extends TransportController { private readonly unpushedDatawalletModifications; private readonly datawalletEnabled; private syncInfo; private readonly client; private readonly deviceMigrations; private readonly identityMigrations; private readonly externalEventRegistry; constructor(parent: AccountController, dependencyOverrides: DependencyOverrides, unpushedDatawalletModifications: IDatabaseCollection, datawalletEnabled: boolean); init(): Promise; private currentSync?; private currentSyncRun?; sync(whatToSync?: WhatToSync): Promise; private _syncAndResyncDatawallet; private _sync; private syncExternalEvents; private syncDatawallet; private checkDatawalletVersion; private upgradeIdentityDatawalletVersion; private upgradeDeviceDatawalletVersion; private applyIncomingDatawalletModifications; private decryptDatawalletModifications; private decryptDatawalletModification; private pushLocalDatawalletModifications; private prepareLocalDatawalletModificationsForPush; private deleteUnpushedDatawalletModifications; setInititalDatawalletVersion(version: number): Promise; private getIdentityDatawalletVersion; private startExternalEventsSyncRun; private startDatawalletVersionUpgradeSyncRun; private applyIncomingExternalEvents; private finalizeExternalEventsSyncRun; private finalizeDatawalletVersionUpgradeSyncRun; private getLocalDatawalletModificationIndex; private updateLocalDatawalletModificationIndex; private getSyncTimeByName; private setSyncTimeByName; getLastCompletedSyncTime(): Promise; getLastCompletedDatawalletSyncTime(): Promise; private setLastCompletedSyncTime; private setLastCompletedDatawalletSyncTime; private newNoMigrationAvailableError; } //# sourceMappingURL=SyncController.d.ts.map