import { ICryptoStorageProvider } from "./ICryptoStorageProvider" ; import { IStorageProvider } from "./IStorageProvider" ; category export interface IAppserviceStorageProvider { returns { Promise < any > | void } addRegisteredUser ( userId ) : Promise < any > | void ; returns { boolean | Promise < boolean > } isUserRegistered ( userId ) : boolean | Promise < boolean > ; param { string } transactionId returns { Promise < any > | void } setTransactionCompleted ( transactionId ) : Promise < any > | void ; param { string } transactionId returns { boolean } isTransactionCompleted ( transactionId ) : boolean | Promise < boolean > ; param { string } userId returns { ICryptoStorageProvider } storageForUser ? ( userId ) : IStorageProvider ; } category export interface IAppserviceCryptoStorageProvider { param { string } userId returns { ICryptoStorageProvider } storageForUser ( userId ) : ICryptoStorageProvider ; }