2 #import <Foundation/Foundation.h>
6 #import "keychain/ckks/CKKSKeychainView.h"
7 #import "keychain/ckks/CKKSOperationDependencies.h"
9 NS_ASSUME_NONNULL_BEGIN
11 @interface CKKSLocalResetOperation
: CKKSResultOperation
<OctagonStateTransitionOperationProtocol
>
12 @property CKKSOperationDependencies
* deps
;
14 - (instancetype
)initWithDependencies
:(CKKSOperationDependencies
*)dependencies
15 intendedState
:(OctagonState
*)intendedState
16 errorState
:(OctagonState
*)errorState
;
18 // Used to run a local reset without scheduling its surrounding operation.
19 // Please be on a SQL transaction when you run this.
20 - (void)onqueuePerformLocalReset
;