import * as core from "@shapeshiftoss/hdwallet-core"; import * as Isolation from "./crypto/isolation"; import * as native from "./native"; /** * NativeAdapter arguments * * Supports two initialization modes: * 1. From mnemonic: Wallet derives all master keys (secp256k1, ed25519, stark, ton) * 2. From master keys: Externally-provided master keys for each curve type * * MASTER KEY TYPES: * - secp256k1MasterKey: For Bitcoin, Ethereum, Tron, Cosmos chains * - ed25519MasterKey: For Solana, Sui chains (standard BIP44 Ed25519 derivation) * - starkMasterKey: For Starknet (uses STARK curve, separate from secp256k1) * - tonMasterKey: For TON (uses custom PBKDF2 derivation with "TON default seed" salt) * * Note: TON requires a special key derivation using PBKDF2 with 100,000 iterations * and "TON default seed" salt for compatibility with TON ecosystem wallets * (Tonkeeper, MyTonWallet, official TON SDKs). Standard BIP44 Ed25519 derivation * is NOT compatible with TON wallets. */ export type NativeAdapterArgs = { 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 NativeAdapter { keyring: core.Keyring; private constructor(); static useKeyring(keyring: core.Keyring): NativeAdapter; initialize(): Promise; pairDevice(deviceId: string): Promise; } //# sourceMappingURL=adapter.d.ts.map