@class NSDate, TSCERewritingMinion, NSTimeZone, TSCENamedReferenceManager, TSKAccessController, TSCERemoteDataStore, TSCETablesByName, NSString, TSCERewriteTableUIDInfo, TSKChangeNotifier, TSCETablesByNameDistributor, TSCETransaction, TSTHeaderNameMgr, TSULocale; @protocol TSCERefNamingProtocol, TSCERefParsingProtocol, TSKMultiTableRemapping, TSCEFormulaReplacing; @interface TSCECalculationEngine : TSPObject { BOOL _isUnarchiving; BOOL _calculationWillShutDown; } @property (nonatomic) void *cppCalcEngine; @property (weak, nonatomic) TSKAccessController *accessController; @property (weak, nonatomic) TSKChangeNotifier *changeNotifier; @property (retain) NSDate *currentDate; @property (retain) NSTimeZone *currentTimeZone; @property (retain) TSULocale *locale; @property int XLImportDateMode; @property (readonly) NSString *previousLocaleIdentifier; @property (nonatomic) unsigned long long loadFromFileVersion; @property (readonly, nonatomic) id upgradingFormulasMinion; @property (nonatomic) BOOL needsSubOwnerIDUpgrade; @property (readonly) TSCETablesByName *tablesByName; @property (readonly) TSCETablesByNameDistributor *tableNameChangeDistributor; @property (readonly) TSCETransaction *currentTransaction; @property (retain, nonatomic) TSCERewritingMinion *rewritingMinion; @property (readonly, nonatomic) BOOL shouldSendSetNowCommand; @property (readonly) BOOL shouldAbortRecalculation; @property (readonly) TSCERemoteDataStore *remoteDataStore; @property (readonly, retain, nonatomic) id namer; @property (readonly, retain, nonatomic) id refParser; @property (readonly, retain, nonatomic) TSTHeaderNameMgr *headerNameMgr; @property (readonly, nonatomic) TSCENamedReferenceManager *namedReferenceManager; @property unsigned long long documentRandomSeed; @property (readonly) TSCERewriteTableUIDInfo *tableUIDHistory; @property (retain) id currentTableIdRemapper; @property (nonatomic) BOOL duringRollback; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (void)resumeEvaluationIfNotTerminated; + (void)confirmTermination; + (unsigned long long)generateRandomSeed; + (BOOL)isPotentiallyTerminating; + (BOOL)localVariablesEnabled; + (void)pauseEvaluationForPotentialTermination; + (unsigned long long)randomSeedFromRandomLo:(int)a0 hi:(int)a1; + (void)splitRandomSeed:(unsigned long long)a0 intoLo:(int *)a1 hi:(int *)a2; - (void)willClose; - (void)applicationDidBecomeActive:(id)a0; - (void)applicationWillResignActive:(id)a0; - (void)dealloc; - (id)initWithContext:(id)a0; - (void).cxx_destruct; - (void)closeTransaction:(id)a0; - (id)openTransaction; - (void)documentDidLoad; - (id)documentRoot; - (unsigned int)delayedArchivingPriority; - (id)packageLocator; - (BOOL)shouldDelayArchiving; - (void)willModify; - (void)saveToArchiver:(id)a0; - (id)documentLocale; - (void)loadFromUnarchiver:(id)a0; - (void)markIndirectCallsAsDirty; - (id)resolverMatchingName:(id)a0 contextResolver:(id)a1; - (BOOL)allCellsAreClean; - (struct TSKUIDStructVectorTemplate { struct TSKUIDStruct *x0; struct TSKUIDStruct *x1; struct __compressed_pair> { struct TSKUIDStruct *x0; } x2; })allRefResolverOwnerUIDs; - (void)blockUntilRecalcIsCompleteWithTimeout:(double)a0; - (id)calcEngine; - (void)clearLegacyGlobalIDs; - (id)emptyReferenceSetWrapper; - (struct vector> { struct TSUCellCoord *x0; struct TSUCellCoord *x1; struct __compressed_pair> { struct TSUCellCoord *x0; } x2; })formulaCoordsReferringToRange:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0 fromOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (BOOL)isRecalculationStarted; - (void)markOwnerAsDirty:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (BOOL)ownerIsRegistered:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (void)pauseRecalculation; - (BOOL)recalculationIsPaused; - (int)registerOwnerWithOwnerUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0 owner:(id)a1 referenceResolver:(id)a2 baseOwnerUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a3 ownerKind:(unsigned short)a4; - (void)removeAllFormulasFromOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)removeFormulaAt:(const struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } *)a0 inOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (void)replaceFormulaAt:(const struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } *)a0 inOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 precedents:(id)a2 replaceOptions:(struct TSCEReplaceFormulaOptions { BOOL x0; BOOL x1; BOOL x2; BOOL x3; BOOL x4; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x5; id x6; })a3; - (void)resumeRecalculation; - (void)resumeRecalculationForBlock:(id /* block */)a0; - (void)setOwnerUIDForLegacyGlobalID:(id)a0 ownerUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (struct TSCETableResolver { void /* function */ **x0; } *)tableResolverForTableUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)unregisterOwner:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (id)valueGridForCategoryRef:(id)a0 atRowUid:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 hidingActionMask:(unsigned char)a2 error:(id *)a3; - (void)clearPreviousLocaleIdentifier; - (long long)dirtyCellCount; - (void)documentLocaleDidChange; - (BOOL)isInCollaborationMode; - (void)markDateTimeVolatileFunctionsAsDirtyForCurrentDateTime; - (void)markLocaleVolatileFunctionsAsDirty; - (void)pauseRecalculationSometimeSoon; - (void)beginSuppressingWillModifyCalls; - (BOOL)cellIsInACycle:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)markAllVolatileFunctionsAsDirty; - (void)p_removeApplicationNotification; - (void)removeAllFormulasCleanObserver:(id)a0; - (void)removeCalculationStateObserver:(id)a0; - (void)superWillModify; - (id)allSpanningDependenciesAsString; - (struct TSCEInternalCellRefSet { struct unordered_map, std::equal_to, std::allocator>> { struct __hash_table, std::__unordered_map_hasher, std::hash, std::equal_to>, std::__unordered_map_equal, std::equal_to, std::hash>, std::allocator>> { struct unique_ptr, void *> *> *[], std::__bucket_list_deallocator, void *> *> *>>> { struct __compressed_pair, void *> *> **, std::__bucket_list_deallocator, void *> *> *>>> { void **x0; struct __bucket_list_deallocator, void *> *> *>> { struct __compressed_pair, void *> *> *>> { unsigned long long x0; } x0; } x1; } x0; } x0; struct __compressed_pair, void *> *>, std::allocator, void *>>> { struct __hash_node_base, void *> *> { void *x0; } x0; } x1; struct __compressed_pair, std::hash, std::equal_to>> { unsigned long long x0; } x2; struct __compressed_pair, std::equal_to, std::hash>> { float x0; } x3; } x0; } x0; })corruptCellRefs; - (void)popRewriteSpec:(id)a0; - (BOOL)referenceIsValidIncludingSheet:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)resetFormulaAt:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)addAllFormulasCleanObserver:(id)a0; - (void)addCalculationStateObserver:(id)a0; - (void)addSubOwnerAliasesForUpgrade:(id)a0; - (struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; })aggregateRangeRefForCategoryRef:(id)a0; - (unsigned char)aggregateTypeForCategoryRef:(id)a0; - (id)allCellDependenciesAsString; - (BOOL)allCellsAreCleanNonBlocking; - (struct TSCECellCoordSet { struct map, std::allocator>> { struct __tree, std::__map_value_compare, std::less>, std::allocator>> { void *x0; struct __compressed_pair *>, std::allocator, void *>>> { struct __tree_end_node *> { void *x0; } x0; } x1; struct __compressed_pair, std::less>> { unsigned long long x0; } x2; } x0; } x0; })allFormulaCoordsInOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (id)allFormulaOwnersAsString; - (BOOL)allOwnersRegistered; - (id)allRangeDependenciesAsString; - (id)anyResolver; - (void)assertAt:(id)a0 nonCalcEngineException:(id)a1 evaluatingFormula:(id)a2; - (void)assertDirtyPrecedentsCountConsistency; - (void)beginBatchingGroupCellDirtying; - (void)beginTrackingNamesInTableForLegacyNRM:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)beginUpgradingFormulasMode; - (struct vector> { id *x0; id *x1; struct __compressed_pair> { id *x0; } x2; })categoryRefsForSpanningCategoryRef:(id)a0; - (BOOL)cellContainsAFormula:(const struct TSCEInternalCellReference { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; unsigned short x1; unsigned short x2; } *)a0; - (struct TSCECellCoordSet { struct map, std::allocator>> { struct __tree, std::__map_value_compare, std::less>, std::allocator>> { void *x0; struct __compressed_pair *>, std::allocator, void *>>> { struct __tree_end_node *> { void *x0; } x0; } x1; struct __compressed_pair, std::less>> { unsigned long long x0; } x2; } x0; } x0; })cellCoordinatesNeedingExcelImportForTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (unsigned long long)cellDependMemoryUseEstimate; - (id)cellDependenciesAsStringForOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (struct TSCECellRefSet { struct map, std::allocator>> { struct __tree, std::__map_value_compare, std::less>, std::allocator>> { void *x0; struct __compressed_pair *>, std::allocator, void *>>> { struct __tree_end_node *> { void *x0; } x0; } x1; struct __compressed_pair, std::less>> { unsigned long long x0; } x2; } x0; } x0; })cellDependentsOfCell:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (BOOL)cellHasPrecedents:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (struct vector> { struct TSCECellRef *x0; struct TSCECellRef *x1; struct __compressed_pair> { struct TSCECellRef *x0; } x2; })cellRefsForCategoryRef:(id)a0 atRowUid:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (struct TSCECellCoordSet { struct map, std::allocator>> { struct __tree, std::__map_value_compare, std::less>, std::allocator>> { void *x0; struct __compressed_pair *>, std::allocator, void *>>> { struct __tree_end_node *> { void *x0; } x0; } x1; struct __compressed_pair, std::less>> { unsigned long long x0; } x2; } x0; } x0; })cellsInACycleInOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)clearDisallowHeaderIndexingForTableUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)clearErrorForCell:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)clearErrorForCells:(const void *)a0; - (void)clearRecalculationTimer; - (id)currentTimeZoneCalendar; - (void)debugFlushAllDirtyReferences; - (void *)dependencyTracker; - (void)detectAndRepairDirtyCellsAreOnLeafQueue; - (unsigned long long)dirtyCellCountInOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)dirtyCellsForColumnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 fromTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 tableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2; - (void)dirtyCellsForInsertionOfColumns:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 forTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 tableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2 headerRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a3; - (void)dirtyCellsForInsertionOfRows:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 forTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 tableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2 headerRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a3; - (void)dirtyCellsForMergingRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a0 forTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 headerRowRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2 headerColumnRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a3; - (void)dirtyCellsForRemovalOfColumns:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 fromTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 tableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2; - (void)dirtyCellsForRemovalOfRows:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 fromTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 tableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2; - (void)dirtyCellsForRowRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 fromTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 tableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a2; - (void)dirtyCellsForUpgrade; - (BOOL)duringSubOwnerUIDUpgrade; - (struct TSCEReferenceSet { void /* function */ **x0; struct TSCEDependencyTracker *x1; struct unordered_map, std::hash, std::equal_to, std::allocator>>> { struct __hash_table>, std::__unordered_map_hasher>, std::hash, std::equal_to>, std::__unordered_map_equal>, std::equal_to, std::hash>, std::allocator>>> { struct unique_ptr>, void *> *> *[], std::__bucket_list_deallocator>, void *> *> *>>> { struct __compressed_pair>, void *> *> **, std::__bucket_list_deallocator>, void *> *> *>>> { void **x0; struct __bucket_list_deallocator>, void *> *> *>> { struct __compressed_pair>, void *> *> *>> { unsigned long long x0; } x0; } x1; } x0; } x0; struct __compressed_pair>, void *> *>, std::allocator>, void *>>> { struct __hash_node_base>, void *> *> { void *x0; } x0; } x1; struct __compressed_pair>, std::hash, std::equal_to>> { unsigned long long x0; } x2; struct __compressed_pair>, std::equal_to, std::hash>> { float x0; } x3; } x0; } x2; struct map, std::less, std::allocator>>> { struct __tree>, std::__map_value_compare>, std::less>, std::allocator>>> { void *x0; struct __compressed_pair *>, std::allocator>, void *>>> { struct __tree_end_node *> { void *x0; } x0; } x1; struct __compressed_pair>, std::less>> { unsigned long long x0; } x2; } x0; } x3; void *x4; void *x5; void *x6; void *x7; void *x8; id x9; void *x10; })emptyReferenceSet; - (void)endBatchingGroupCellDirtying; - (void)endSuppressingWillModifyCalls; - (void)endTrackingNamesInTableForLegacyNRM:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)enumerateFormulaOwnersUsingBlock:(id /* block */)a0; - (unsigned long long)errorCountForOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (struct TSCEValue { union { struct { struct { unsigned long long x0[2]; } x0; unsigned char x1[32]; unsigned short x2; BOOL x3; } x0; unsigned long long x1[11]; } x0; unsigned char x1; })evaluateSynchedWithCalcEngineWithFormula:(id)a0 evalContext:(void *)a1; - (void)executeBlockWhileCalculationEngineIsNotWriting:(id /* block */)a0; - (id)extendTableUIDHistoryWithRewrite:(id)a0; - (struct vector> { struct TSUCellCoord *x0; struct TSUCellCoord *x1; struct __compressed_pair> { struct TSUCellCoord *x0; } x2; })formulaCoordsInRange:(const struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } *)a0 inOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (struct vector> { struct TSUCellCoord *x0; struct TSUCellCoord *x1; struct __compressed_pair> { struct TSUCellCoord *x0; } x2; })formulaCoordsReferringToRange:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0 fromOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 skipSpanning:(BOOL)a2; - (struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })formulaOwnerUIDForInternalFormulaOwnerID:(unsigned short)a0; - (int)forwardRegisterOwnerWithOwnerUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0 legacyGlobalID:(id)a1; - (BOOL)foundConsistencyIssues; - (BOOL)hasDateTimeVolatileFunctions; - (BOOL)hasDisallowedHeaderIndexingForTableUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (BOOL)hasFormulaAt:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (BOOL)hasFormulaCellsUsingNowTodayRandom; - (BOOL)hasMaxNumFormulas; - (BOOL)hasRemoteDataFunctions; - (BOOL)hasRunRecalculationALongTime; - (void)headerStateOfTableChanged:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (void)headerStateOfTableChanged:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0 changedRows:(BOOL)a1; - (void)intendToChangePrecedent:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (unsigned short)internalFormulaOwnerIDForFormulaOwnerUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (BOOL)isCellReferenceDirty:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (BOOL)isRecalculationRunning; - (id)legacyGlobalIDStringToOwnerUIDMap; - (struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })mapOwnerUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)markAllExternalGroupByRefsDirty:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)markAllFunctionsAsDirty; - (void)markCellRefAsDirty:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)markCellRefSetAsDirty:(const void *)a0; - (void)markCellRefsAsDirty:(id)a0; - (void)markCoordsDirty:(const void *)a0 inOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (void)markDateTimeVolatileFunctionsAsDirty; - (void)markGeometryVolatileFunctionsAsDirtyInOwner:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (void)markOnlyDependentsDirty:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)markRandomVolatileFunctionsAsDirty; - (void)markRangeRefAsDirty:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)markRemoteDataVolatileFunctionsAsDirty; - (void)markRemoteDataVolatileFunctionsAsDirtyForKeys:(id)a0; - (unsigned long long)numFormulaCellsInOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (unsigned long long)numberOfCellsWithFormulas; - (id)ownerForOwnerUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (id)ownerForUUIDBytes:(unsigned char[16])a0; - (unsigned short)ownerKindForOwnerID:(unsigned short)a0; - (unsigned short)ownerKindForOwnerUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })ownerUIDForLegacyGlobalID:(id)a0 registeringIfNeeded:(BOOL)a1; - (void)p_addApplicationNotification; - (void)p_blockUntilRecalcIsCompleteOnNewThreadWithTimeout:(id)a0; - (void)pauseRecalculationForBlock:(id /* block */)a0; - (struct TSCEReferenceSet { void /* function */ **x0; struct TSCEDependencyTracker *x1; struct unordered_map, std::hash, std::equal_to, std::allocator>>> { struct __hash_table>, std::__unordered_map_hasher>, std::hash, std::equal_to>, std::__unordered_map_equal>, std::equal_to, std::hash>, std::allocator>>> { struct unique_ptr>, void *> *> *[], std::__bucket_list_deallocator>, void *> *> *>>> { struct __compressed_pair>, void *> *> **, std::__bucket_list_deallocator>, void *> *> *>>> { void **x0; struct __bucket_list_deallocator>, void *> *> *>> { struct __compressed_pair>, void *> *> *>> { unsigned long long x0; } x0; } x1; } x0; } x0; struct __compressed_pair>, void *> *>, std::allocator>, void *>>> { struct __hash_node_base>, void *> *> { void *x0; } x0; } x1; struct __compressed_pair>, std::hash, std::equal_to>> { unsigned long long x0; } x2; struct __compressed_pair>, std::equal_to, std::hash>> { float x0; } x3; } x0; } x2; struct map, std::less, std::allocator>>> { struct __tree>, std::__map_value_compare>, std::less>, std::allocator>>> { void *x0; struct __compressed_pair *>, std::allocator>, void *>>> { struct __tree_end_node *> { void *x0; } x0; } x1; struct __compressed_pair>, std::less>> { unsigned long long x0; } x2; } x0; } x3; void *x4; void *x5; void *x6; void *x7; void *x8; id x9; void *x10; })precedentsOfCell:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)pushRewriteSpec:(id)a0; - (BOOL)rangeIsWithinTable:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (double)recalcTimeInSecs; - (void)recalculateWithTimeout:(double)a0; - (BOOL)referenceIsValid:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (id)referencesToDirty; - (void)removeFormulasAt:(const void *)a0; - (void)removeFormulasFromRange:(const struct TSCERangeRef { struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0; - (void)replaceFormula:(id)a0 atCellCoord:(const struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } *)a1 inOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a2; - (void)replaceFormula:(id)a0 atCellCoord:(const struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } *)a1 inOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a2 replaceOptions:(struct TSCEReplaceFormulaOptions { BOOL x0; BOOL x1; BOOL x2; BOOL x3; BOOL x4; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x5; id x6; })a3; - (void)replaceRemoteDataKeysInterestedIn:(id)a0 forCell:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a1; - (void)resetCorruptCellRefs:(const void *)a0; - (id)resolverContainerMatchingName:(id)a0; - (id)resolverForCellRef:(id)a0; - (id)resolverForTableID:(unsigned short)a0; - (id)resolverForTableUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0; - (id)resolverMatchingNameWithContextContainer:(id)a0 contextContainerName:(id)a1; - (id)rewriteSpecStack; - (void)rollbackTableUIDHistoryWithRewriteInfo:(id)a0; - (struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; })rootCauseForErrorInCell:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a0 atRootCell:(BOOL *)a1; - (void)scheduleDetectAndRepairConsistencyViolations; - (void)scheduleRepairingSpanningFormulasInOwner:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)setCurrentDate:(id)a0 timeZone:(id)a1 markVolatilesDirty:(BOOL)a2; - (void)setDisallowHeaderIndexingForTableUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (void)setError:(id)a0 forCell:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a1; - (void)setRemoteDataStore:(id)a0; - (void)setTableRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a0 bodyRange:(struct TSCERangeCoordinate { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x1; })a1 forTableUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a2; - (BOOL)shouldForceRegisterAllTables; - (void)startRecalcTaskIfNecessary; - (void)startRecalculation; - (struct TSCETableResolver { void /* function */ **x0; } *)tableOrLinkedResolverForTableUID:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; - (struct TSCETableResolver { void /* function */ **x0; } *)tableResolverForRefResolver:(id)a0; - (struct TSCETableResolver { void /* function */ **x0; } *)tableResolverForTableID:(unsigned short)a0; - (struct vector> { struct TSCECellRef *x0; struct TSCECellRef *x1; struct __compressed_pair> { struct TSCECellRef *x0; } x2; })unorderedCellRefsForCategoryRef:(id)a0 atRowUid:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1; - (struct TSCERecalculationState { unsigned char x0; })updateCalculatedPrecedents:(void *)a0 forFormula:(id)a1 atCellRef:(const struct TSCECellRef { struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; } x0; struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } x1; } *)a2 withState:(struct TSCERecalculationState { unsigned char x0; })a3; - (void)upgradeToSubOwnerUIDForOwners:(id)a0; - (struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })uuidForTableUID:(struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; })a0 andIndex:(unsigned int)a1 direction:(BOOL)a2; - (struct vector> { struct TSCEValue *x0; struct TSCEValue *x1; struct __compressed_pair> { struct TSCEValue *x0; } x2; })valuesForCategoryRef:(id)a0 atRowUid:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a1 hidingActionMask:(unsigned char)a2 error:(id *)a3; - (BOOL)verifyAllOwnersAreKnown; - (BOOL)verifyTableAndBodyRangesForTable:(const struct TSKUIDStruct { unsigned long long x0; unsigned long long x1; } *)a0; @end