import type { EC_Public_JsonWebKey , EC_Private_JsonWebKey , JsonWebKeyPair } from '@masknet/shared-base' ; export interface BlockChainMethods { /** Blockchain related fns */ generate_ecdh_k256_from_mnemonic ( password ) : PromiseLike < MnemonicWordDetail > ; recover_ecdh_k256_from_mnemonic ( mnemonic , password ) : PromiseLike < MnemonicWordDetail > ; } export type MnemonicWordDetail = JsonWebKeyPair < EC_Public_JsonWebKey , EC_Private_JsonWebKey > & { password : string ; mnemonic_words : string ; parameter_path : string ; parameter_with_password : boolean ; } ;