import { NETWORK } from '@scure/btc-signer'; export declare enum WALLETTYPE { SEED_PHRASE = 0, PRIVATE_KEY = 1, SEED_PHRASE_IMPORTED = 2, LEDGER = 3 } export type Key = { addressIndex: number; name: string; cipher: string; addresses: Record; pubKeys?: Record; walletType: WALLETTYPE; id: string; colorIndex: number; createdAt?: number; }; export type Keystore = Record>; export type CreateWalletParams = { name: string; mnemonic: string; password: string | Uint8Array; addressIndex: number; colorIndex: number; chainInfos: ChainInfo[]; type: 'create' | 'import'; }; export type ChainInfo = { key: string; addressPrefix: string; coinType: string; useBip84?: boolean; btcNetwork?: typeof NETWORK; customKeygenfn?: (key: string, path: string, keyType: 'privateKey' | 'seedPhrase') => Promise<{ address: string; pubkey: string; }>; }; export type GetSignerParams = { addressPrefix: string; coinType: string; ethWallet?: boolean; pubKeyBech32Address?: boolean; btcNetwork?: typeof NETWORK; };