// // Copyright (c) 2021 Open Whisper Systems. All rights reserved. // NS_ASSUME_NONNULL_BEGIN @protocol MobileCoinHelper; @protocol PaymentsEvents; @protocol WebSocketFactory; // This is _NOT_ a singleton and will be instantiated each time that the SAE is used. @interface AppSetup : NSObject + (void)setupEnvironmentWithPaymentsEvents:(id)paymentsEvents mobileCoinHelper:(id)mobileCoinHelper webSocketFactory:(id)webSocketFactory appSpecificSingletonBlock:(dispatch_block_t)appSpecificSingletonBlock migrationCompletion:(void (^)(NSError *_Nullable error))migrationCompletion NS_SWIFT_NAME(setupEnvironment(paymentsEvents:mobileCoinHelper:webSocketFactory:appSpecificSingletonBlock:migrationCompletion:)); @end NS_ASSUME_NONNULL_END