import { EthWallet } from '../key/eth-wallet'; import { PvtKeyWallet } from '../key/wallet'; import { ChainInfo, CreateWalletParams, Key, Keystore } from '../types/keychain'; import { Input } from '@noble/ciphers/utils'; import { BtcWalletPk } from '../key/btc-wallet'; import { NETWORK } from '@scure/btc-signer'; export declare const KEYCHAIN = "keystore"; export declare const ENCRYPTED_KEYCHAIN = "encrypted-keystore"; export declare const ACTIVE_WALLET = "active-wallet"; export declare const ENCRYPTED_ACTIVE_WALLET = "encrypted-active-wallet"; export declare class KeyChain { static createWalletUsingMnemonic({ name, mnemonic, password, addressIndex, colorIndex, chainInfos, type, }: CreateWalletParams): Promise>; static createNewWalletAccount(name: string, password: Input, colorIndex: number, chainInfos: ChainInfo[]): Promise>; static importNewWallet(privateKey: string, password: Input, chainInfos: ChainInfo[], addressIndex?: number, name?: string): Promise>; static EditWallet({ walletId, name, colorIndex, }: { walletId: string; name: string; colorIndex: number; }): Promise; static getWalletsFromMnemonic(mnemonic: string, count: number, coinType: string, addressPrefix: string): Promise<{ address: string; index: number; pubkey: Uint8Array | null; }[]>; static getAllWallets(): Promise>; static getSigner(walletId: string, password: Input, { addressPrefix, coinType, ethWallet, pubKeyBech32Address, btcNetwork, }: { addressPrefix: string; coinType: string; ethWallet?: boolean; pubKeyBech32Address?: boolean; btcNetwork?: typeof NETWORK; }): Promise; static removeWallets(keyIds: string[]): Promise; static encrypt(password: Input): Promise; static decrypt(password: Input): Promise; private static getAddresses; static AddEntry(walletId: string, entry: { key: T; address: string; pubkey: string; }): Promise; private static isWalletAlreadyPresent; private static updateKeyChain; }