import { Observable } from 'rxjs' ; import { NodeStatus } from '@shared/models/node-status' ; import { WalletInfo } from '@shared/models/wallet-info' ; import { WalletCreation } from '@shared/models/wallet-creation' ; import { WalletRecovery } from '@shared/models/wallet-recovery' ; export interface ISignalRService { connect ( hubName ) : void ; } export interface IApiService { getNodeStatus ( silent ? ) : Observable < NodeStatus > ; getNodeStatusInterval ( silent ? ) : Observable < NodeStatus > ; /** Gets the extended public key from a certain wallet */ getExtPubkey ( data ) : Observable < any > ; /**
     * Get a new mnemonic
     */ getNewMnemonic ( ) : Observable < any > ; /**
     * Create a new Stratis wallet.
     */ createStratisWallet ( data ) : Observable < any > ; /**
     * Recover a Stratis wallet.
     */ recoverStratisWallet ( data ) : Observable < any > ; /**
     * Get wallet status info from the API.
     */ getWalletStatus ( ) : Observable < any > ; /**
     * Get general wallet info from the API once.
     */ getGeneralInfoOnce ( data ) : Observable < any > ; /**
     * Get the maximum sendable amount for a given fee from the API
     */ getMaximumBalance ( data ) : Observable < any > ; /**
     * Get multiple unused receive addresses for a certain wallet from the API.
     */ getUnusedReceiveAddresses ( data , count ) : Observable < any > ; /** Remove transaction */ removeTransaction ( walletName ) : Observable < any > ; /**
     * Send shutdown signal to the daemon
     */ shutdownNode ( ) : Observable < any > ; }