luxlabs header browser preview


@class _PASKVOHandler, NSString, CKDatabase, _SGDCloudKitSyncPersistedState, CKContainer, NSOperationQueue, APSConnection, NSError, NSObject, NSMutableArray, SGFuture, NSOperation;
@protocol OS_dispatch_queue;

@interface SGDCloudKitSync : NSObject <APSConnectionDelegate> {
    _PASKVOHandler *_kvoHandler;
    CKDatabase *_database;
    id /* block */ _callback;
    id /* block */ _deleteAllSyncedItemsCallback;
    BOOL _readyForNewEntities;
    APSConnection *_apsConnection;
    NSObject<OS_dispatch_queue> *_queue;
    NSOperationQueue *_opQueue;
    NSMutableArray *_operationsToAddToOpQueue;
    CKContainer *_container;
    SGFuture *_accountInfoFuture;
    BOOL _accountInfoInFlight;
    _SGDCloudKitSyncPersistedState *_persistedState;
    long long _suspendCount;
    BOOL _noZone;
    BOOL _disabledBecauseOutOfDateSoftware;
    NSOperation *_inProgressProcureSaltOperation;
    NSOperation *_inProgressCreateZoneOperation;
    NSOperation *_inProgressDeleteZoneOperation;
    NSOperation *_inProgressFetchNewEntitiesOperation;
    BOOL _requestedFetchNewEntitiesWhileRequestAlreadyInFlight;
    NSError *_createZoneError;
    NSError *_deleteZoneError;
    NSError *_procureSaltError;
    BOOL _processingStateChanges;
    BOOL _pendingProcessStateChanges;
    struct ct_green_tea_logger_s { } *_greenTeaLogger;
    SGFuture *_privacySaltFuture;
}

@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (id)sharedInstance;
+ (id)_callbackQueue;
+ (void)setSharedInstanceConfigurationBlock:(id /* block */)a0;
+ (id)apsEnvironmentStringForContainer:(id)a0;
+ (id)_sharedInstanceConfigurationQueue;

- (void)connectionDidReconnect:(id)a0;
- (id)addOperation:(id)a0;
- (void)connection:(id)a0 didReceiveToken:(id)a1 forTopic:(id)a2 identifier:(id)a3;
- (void)setDatabase:(id)a0;
- (id)addProcureSaltAttemptOperationWithRetries:(unsigned long long)a0;
- (void)deleteGroupId:(id)a0;
- (id)init;
- (id)addOperation;
- (void)connection:(id)a0 didReceivePublicToken:(id)a1;
- (void)dealloc;
- (void)disable;
- (void)connection:(id)a0 didReceiveIncomingMessage:(id)a1;
- (id)_ckErrorForId:(id)a0 inError:(id)a1;
- (void)accountChanged:(id)a0;
- (void)suspend;
- (id)accountInfo;
- (id)addManateeSanityCheckOperation;
- (BOOL)shouldRecreateZoneForRecordError:(id)a0 operationError:(id)a1;
- (id)invokeNewEntitiesCallbackWithEntity:(id)a0;
- (void)deleteZoneWithCompletion:(id /* block */)a0;
- (BOOL)pauseIfNeededAndReturnRetryEligibilityForError:(id)a0;
- (void)addEnrichment:(id)a0 withParentEntity:(id)a1;
- (id)getUnderlyingError:(id)a0;
- (id)privacySalt;
- (id)addProcureSaltOperation;
- (void)connection:(id)a0 didSendOutgoingMessage:(id)a1;
- (id)addCreateZoneOperation;
- (void)connection:(id)a0 didFailToSendOutgoingMessage:(id)a1 error:(id)a2;
- (id)recordZoneId;
- (void)deleteStorageEvent:(id)a0;
- (void)processStateChanges;
- (id)addCreateZoneAttemptOperationWithRetries:(unsigned long long)a0;
- (void)resume;
- (id)ckErrorForRecordId:(id)a0 inError:(id)a1;
- (id)addFetchNewEntitiesOperation;
- (id)addWriteOperationForRecordGetter:(id /* block */)a0 deleteGetter:(id /* block */)a1 withRetries:(unsigned long long)a2;
- (void)suspendAndResumeAfter:(double)a0;
- (void)setReadyForNewEntities:(BOOL)a0;
- (void)createSubscriptionWithRetries:(unsigned long long)a0;
- (void).cxx_destruct;
- (void)_addDependency:(id)a0 toTrain:(id)a1;
- (void)setNewEntitiesCallback:(id /* block */)a0;
- (void)failSalt;
- (id)shouldRemoveEventsFromEventKit;
- (void)connection:(id)a0 didChangeConnectedStatus:(BOOL)a1;
- (id)addWriteOperationForRecordGetter:(id /* block */)a0 deleteGetter:(id /* block */)a1 withRetries:(unsigned long long)a2 isFirstTry:(BOOL)a3;
- (void)setDeleteAllSyncedItemsCallback:(id /* block */)a0;
- (id)addDeleteAndRecreateZoneOperation;
- (id)addFetchNewEntitiesAttemptOperationWithRetries:(unsigned long long)a0;
- (id)ckErrorForRecordZoneId:(id)a0 inError:(id)a1;
- (id)addDeleteZoneAttemptOperationWithRetries:(unsigned long long)a0;
- (void)clearErrors;
- (id)addDeleteZoneOperation;
- (void)_coupleOperationTrainWithStart:(id)a0 end:(id)a1;

@end