import { DB_Object, TypedMap } from '@nu-art/ts-common'; export type LastUpdated = { lastUpdated: number; oldestDeleted?: number; }; export type SyncDataFirebaseState = TypedMap; export type Response_DBSync = { toUpdate: DBType[]; toDelete: DB_Object[]; }; export type SyncDbData = { dbKey: string; lastUpdated: number; }; export declare const SmartSync_UpToDateSync: "up-to-date"; export declare const SmartSync_DeltaSync: "delta-sync"; export declare const SmartSync_FullSync: "full"; export type NoNeedToSyncModule = SyncDbData & { sync: typeof SmartSync_UpToDateSync; }; export type DeltaSyncModule = SyncDbData & { sync: typeof SmartSync_DeltaSync; items: Response_DBSync; }; export type FullSyncModule = SyncDbData & { sync: typeof SmartSync_FullSync; };