import * as core from "@shapeshiftoss/hdwallet-core"; import * as eventemitter2 from "eventemitter2"; import type { NativeAdapterArgs } from "./adapter"; import * as Isolation from "./crypto/isolation"; export declare enum NativeEvents { MNEMONIC_REQUIRED = "MNEMONIC_REQUIRED", READY = "READY" } type LoadDevice = Omit & { deviceId?: string; } & ({ mnemonic: string | Isolation.Core.BIP39.Mnemonic; secp256k1MasterKey?: never; ed25519MasterKey?: never; starkMasterKey?: never; tonMasterKey?: never; } | { mnemonic?: never; secp256k1MasterKey: Isolation.Core.BIP32.Node; ed25519MasterKey: Isolation.Core.Ed25519.Node; starkMasterKey: Isolation.Core.Stark.Node; tonMasterKey?: Isolation.Core.Ed25519.Node; }); export declare class NativeHDWalletInfoBase implements core.HDWalletInfo { getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; } export declare class NativeHDWalletBase extends NativeHDWalletInfoBase { #private; constructor(); get events(): eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; } declare const NativeHDWalletInfo_base: { new (...args: any[]): { readonly _supportsBTCInfo: true; btcSupportsCoinSync(coin: core.Coin): boolean; btcSupportsCoin(coin: core.Coin): Promise; btcSupportsScriptTypeSync(coin: core.Coin, scriptType?: core.BTCInputScriptType): boolean; btcSupportsScriptType(coin: core.Coin, scriptType: core.BTCInputScriptType): Promise; btcSupportsSecureTransfer(): Promise; btcSupportsNativeShapeShift(): boolean; btcGetAccountPaths(msg: core.BTCGetAccountPaths): Array; btcNextAccountPath(msg: core.BTCAccountPath): core.BTCAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsETHInfo: true; _chainId: number; ethSupportsNetwork(): Promise; ethSupportsSecureTransfer(): Promise; ethSupportsNativeShapeShift(): boolean; ethSupportsEIP1559(): Promise; ethGetAccountPaths(msg: core.ETHGetAccountPath): Array; ethNextAccountPath(msg: core.ETHAccountPath): core.ETHAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsCosmosInfo: true; cosmosSupportsNetwork(): Promise; cosmosSupportsSecureTransfer(): Promise; cosmosSupportsNativeShapeShift(): boolean; cosmosGetAccountPaths(msg: core.CosmosGetAccountPaths): Array; cosmosNextAccountPath(msg: core.CosmosAccountPath): core.CosmosAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsBinanceInfo: true; binanceSupportsNetwork(): Promise; binanceSupportsSecureTransfer(): Promise; binanceSupportsNativeShapeShift(): boolean; binanceGetAccountPaths(msg: core.BinanceGetAccountPaths): Array; binanceNextAccountPath(msg: core.BinanceAccountPath): core.BinanceAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsSolanaInfo: true; solanaGetAccountPaths(msg: core.SolanaGetAccountPaths): Array; solanaNextAccountPath(msg: core.SolanaAccountPath): core.SolanaAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsStarknetInfo: true; starknetGetAccountPaths(msg: core.StarknetGetAccountPaths): Array; starknetNextAccountPath(): core.StarknetAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsTronInfo: true; tronGetAccountPaths(msg: core.TronGetAccountPaths): Array; tronNextAccountPath(msg: core.TronAccountPath): core.TronAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsTonInfo: true; tonGetAccountPaths(msg: core.TonGetAccountPaths): Array; tonNextAccountPath(_msg: core.TonAccountPath): core.TonAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsSuiInfo: true; suiGetAccountPaths(msg: core.SuiGetAccountPaths): Array; suiNextAccountPath(_msg: core.SuiAccountPath): core.SuiAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsNearInfo: true; nearGetAccountPaths(msg: core.NearGetAccountPaths): Array; nearNextAccountPath(_msg: core.NearAccountPath): core.NearAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsThorchainInfo: true; thorchainSupportsNetwork(): Promise; thorchainSupportsSecureTransfer(): Promise; thorchainSupportsNativeShapeShift(): boolean; thorchainGetAccountPaths(msg: core.ThorchainGetAccountPaths): Array; thorchainNextAccountPath(msg: core.ThorchainAccountPath): core.ThorchainAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsMayachainInfo: true; mayachainSupportsNetwork(): Promise; mayachainSupportsSecureTransfer(): Promise; mayachainSupportsNativeShapeShift(): boolean; mayachainGetAccountPaths(msg: core.MayachainGetAccountPaths): Array; mayachainNextAccountPath(_msg: core.MayachainAccountPath): core.MayachainAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsSecretInfo: true; secretSupportsNetwork(): Promise; secretSupportsSecureTransfer(): Promise; secretSupportsNativeShapeShift(): boolean; secretGetAccountPaths(msg: core.SecretGetAccountPaths): Array; secretNextAccountPath(msg: core.SecretAccountPath): core.SecretAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsTerraInfo: true; terraSupportsNetwork(): Promise; terraSupportsSecureTransfer(): Promise; terraSupportsNativeShapeShift(): boolean; terraGetAccountPaths(msg: core.TerraGetAccountPaths): Array; terraNextAccountPath(msg: core.TerraAccountPath): core.TerraAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsKavaInfo: true; kavaSupportsNetwork(): Promise; kavaSupportsSecureTransfer(): Promise; kavaSupportsNativeShapeShift(): boolean; kavaGetAccountPaths(msg: core.KavaGetAccountPaths): Array; kavaNextAccountPath(msg: core.KavaAccountPath): core.KavaAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsArkeoInfo: true; arkeoSupportsNetwork(): Promise; arkeoSupportsSecureTransfer(): Promise; arkeoSupportsNativeShapeShift(): boolean; arkeoGetAccountPaths(msg: core.ArkeoGetAccountPaths): Array; arkeoNextAccountPath(msg: core.ArkeoAccountPath): core.ArkeoAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsOsmosisInfo: true; osmosisSupportsNetwork(): Promise; osmosisSupportsSecureTransfer(): Promise; osmosisSupportsNativeShapeShift(): boolean; osmosisGetAccountPaths(msg: core.OsmosisGetAccountPaths): Array; osmosisNextAccountPath(msg: core.OsmosisAccountPath): core.OsmosisAccountPath | undefined; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(srcCoin: core.Coin, dstCoin: core.Coin): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & typeof NativeHDWalletBase; declare class NativeHDWalletInfo extends NativeHDWalletInfo_base implements core.HDWalletInfo, core.BTCWalletInfo, core.ETHWalletInfo, core.CosmosWalletInfo, core.BinanceWalletInfo, core.SolanaWalletInfo, core.StarknetWalletInfo, core.TronWalletInfo, core.TonWalletInfo, core.SuiWalletInfo, core.NearWalletInfo, core.ThorchainWalletInfo, core.MayachainWalletInfo, core.SecretWalletInfo, core.TerraWalletInfo, core.KavaWalletInfo, core.ArkeoWalletInfo, core.OsmosisWalletInfo { describePath(msg: core.DescribePath): core.PathDescription; } declare const NativeHDWallet_base: { new (...args: any[]): { readonly _supportsBTC: true; "__#13@#masterKey": Isolation.Core.BIP32.Node | undefined; btcInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; btcWipe(): void; buildInput(coin: core.Coin, input: core.BTCSignTxInputNative): Promise<((Buffer | { script: Buffer; amount: number; }) | { redeemScript?: Buffer; witnessScript?: Buffer; }) | null>; btcGetAddress(msg: core.BTCGetAddress): Promise; btcSignTx(msg: core.BTCSignTxNative): Promise; btcSignMessage(_msg: core.BTCSignMessage): Promise; btcVerifyMessage(_msg: core.BTCVerifyMessage): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsETH: true; readonly _supportsAvalanche: true; readonly _supportsOptimism: true; readonly _supportsBSC: true; readonly _supportsPolygon: true; readonly _supportsGnosis: true; readonly _supportsArbitrum: true; readonly _supportsArbitrumNova: true; readonly _supportsBase: true; readonly _supportsMonad: true; readonly _supportsPlasma: true; readonly _supportsKatana: true; readonly _supportsHyperEvm: true; readonly _supportsEthSwitchChain: false; "__#15@#ethSigner": Isolation.Adapters.Ethereum | undefined; ethInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; ethWipe(): void; ethGetAddress(msg: core.ETHGetAddress): Promise; ethSignTx(msg: core.ETHSignTx): Promise; ethSignMessage(msg: core.ETHSignMessage): Promise; ethSignTypedData(msg: core.ETHSignTypedData): Promise; ethVerifyMessage({ address, message, signature }: core.ETHVerifyMessage): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsCosmos: true; "__#14@#masterKey": Isolation.Core.BIP32.Node | undefined; cosmosInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; cosmosWipe(): void; cosmosBech32ify(address: ArrayLike, prefix: string): string; createCosmosAddress(publicKey: string): string; cosmosGetAddress(msg: core.CosmosGetAddress): Promise; cosmosSignTx(msg: core.CosmosSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsBinance: true; "__#12@#masterKey": Isolation.Core.BIP32.Node | undefined; binanceInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; binanceWipe(): void; binanceBech32ify(address: ArrayLike, prefix: string): string; createBinanceAddress(publicKey: string, testnet?: boolean): string; binanceGetAddress(msg: core.BinanceGetAddress & { testnet?: boolean; }): Promise; binanceSignTx(msg: core.BinanceSignTx & { testnet?: boolean; }): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsSolana: true; adapter: Isolation.Adapters.Solana | undefined; solanaInitializeWallet(masterKey: Isolation.Core.Ed25519.Node): Promise; solanaWipe(): void; solanaGetAddress(msg: core.SolanaGetAddress): Promise; solanaSignTx(msg: core.SolanaSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsStarknet: true; starknetAdapter: Isolation.Adapters.Starknet | undefined; starknetInitializeWallet(masterKey: Isolation.Core.Stark.Node): Promise; starknetWipe(): void; starknetGetAddress(msg: core.StarknetGetAddress): Promise; starknetGetPublicKey(msg: core.StarknetGetPublicKey): Promise; starknetSignTx(msg: core.StarknetSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsTron: true; tronAdapter: Isolation.Adapters.Tron | undefined; tronInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; tronWipe(): void; tronGetAddress(msg: core.TronGetAddress): Promise; tronSignTx(msg: core.TronSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsTon: true; tonAdapter: Isolation.Adapters.Ton | undefined; tonInitializeWallet(ed25519MasterKey: Isolation.Core.Ed25519.Node): Promise; tonWipe(): void; tonGetAddress(msg: core.TonGetAddress): Promise; tonSignTx(msg: core.TonSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsSui: true; suiAdapter: Isolation.Adapters.Sui | undefined; suiInitializeWallet(ed25519MasterKey: Isolation.Core.Ed25519.Node): Promise; suiWipe(): void; suiGetAddress(msg: core.SuiGetAddress): Promise; suiSignTx(msg: core.SuiSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsNear: true; nearAdapter: Isolation.Adapters.Near | undefined; nearInitializeWallet(ed25519MasterKey: Isolation.Core.Ed25519.Node): Promise; nearWipe(): void; nearGetAddress(msg: core.NearGetAddress): Promise; nearSignTx(msg: core.NearSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsThorchain: true; "__#21@#masterKey": Isolation.Core.BIP32.Node | undefined; thorchainInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; thorchainWipe(): void; thorchainBech32ify(address: ArrayLike, prefix: string): string; createThorchainAddress(publicKey: string): string; thorchainGetAddress(msg: core.ThorchainGetAddress): Promise; thorchainSignTx(msg: core.ThorchainSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsMayachain: true; "__#17@#masterKey": Isolation.Core.BIP32.Node | undefined; mayachainInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; mayachainWipe(): void; mayachainBech32ify(address: ArrayLike, prefix: string): string; createMayachainAddress(publicKey: string): string; mayachainGetAddress(msg: core.MayachainGetAddress): Promise; mayachainSignTx(msg: core.MayachainSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsSecret: true; "__#19@#masterKey": Isolation.Core.BIP32.Node | undefined; secretInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; secretWipe(): void; secretBech32ify(address: ArrayLike, prefix: string): string; createSecretAddress(publicKey: string): string; secretGetAddress(msg: core.SecretGetAddress): Promise; secretSignTx(msg: core.SecretSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsTerra: true; "__#20@#masterKey": Isolation.Core.BIP32.Node | undefined; terraInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; terraWipe(): void; terraBech32ify(address: ArrayLike, prefix: string): string; createTerraAddress(publicKey: string): string; terraGetAddress(msg: core.TerraGetAddress): Promise; terraSignTx(msg: core.TerraSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsKava: true; "__#16@#masterKey": Isolation.Core.BIP32.Node | undefined; kavaInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; kavaWipe(): void; kavaBech32ify(address: ArrayLike, prefix: string): string; createKavaAddress(publicKey: string): string; kavaGetAddress(msg: core.KavaGetAddress): Promise; kavaSignTx(msg: core.KavaSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsOsmosis: true; "__#18@#masterKey": Isolation.Core.BIP32.Node | undefined; osmosisInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; osmosisWipe(): void; osmosisBech32ify(address: ArrayLike, prefix: string): string; createOsmosisAddress(publicKey: string): string; osmosisGetAddress(msg: core.OsmosisGetAddress): Promise; osmosisSignTx(msg: core.OsmosisSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & { new (...args: any[]): { readonly _supportsArkeo: true; "__#11@#masterKey": Isolation.Core.BIP32.Node | undefined; arkeoInitializeWallet(masterKey: Isolation.Core.BIP32.Node): Promise; arkeoWipe(): void; arkeoBech32ify(address: ArrayLike, prefix: string): string; createArkeoAddress(publicKey: string): string; arkeoGetAddress(msg: core.ArkeoGetAddress): Promise; arkeoSignTx(msg: core.ArkeoSignTx): Promise; readonly "__#22@#events": eventemitter2.EventEmitter2; readonly events: eventemitter2.EventEmitter2; /** * Wrap a function call that needs a mnemonic seed * Raise an event if the wallet hasn't been initialized with a mnemonic seed */ needsMnemonic(hasMnemonic: boolean, callback: () => T): T | null; getVendor(): string; hasOnDevicePinEntry(): boolean; hasOnDevicePassphrase(): boolean; hasOnDeviceDisplay(): boolean; hasOnDeviceRecovery(): boolean; hasNativeShapeShift(): boolean; supportsBip44Accounts(): boolean; supportsOfflineSigning(): boolean; supportsBroadcast(): boolean; describePath(msg: core.DescribePath): core.PathDescription; }; } & typeof NativeHDWalletInfo; export declare class NativeHDWallet extends NativeHDWallet_base implements core.HDWallet, core.BTCWallet, core.ETHWallet, core.CosmosWallet, core.BinanceWallet, core.SolanaWallet, core.StarknetWallet, core.TronWallet, core.TonWallet, core.SuiWallet, core.NearWallet, core.ThorchainWallet, core.MayachainWallet, core.SecretWallet, core.TerraWallet, core.KavaWallet, core.OsmosisWallet, core.ArkeoWallet { #private; readonly _isNative = true; constructor({ mnemonic, deviceId, secp256k1MasterKey, ed25519MasterKey, starkMasterKey, tonMasterKey, }: NativeAdapterArgs); getFeatures(): Promise>; getDeviceID(): Promise; getFirmwareVersion(): Promise; getModel(): Promise; getLabel(): Promise; getPublicKeys(msg: Array): Promise; isInitialized(): Promise; isLocked(): Promise; clearSession(): Promise; initialize(): Promise; ping(msg: core.Ping): Promise; sendPin(): Promise; sendPassphrase(): Promise; sendCharacter(): Promise; sendWord(): Promise; cancel(): Promise; wipe(): Promise; reset(): Promise; recover(): Promise; loadDevice(msg?: LoadDevice): Promise; disconnect(): Promise; } export declare function isNative(wallet: core.HDWallet): wallet is NativeHDWallet; export declare function info(): NativeHDWalletInfo; export declare function create(args: NativeAdapterArgs): NativeHDWallet; export {}; //# sourceMappingURL=native.d.ts.map