import { WalletOptions } from '../types/wallet'; import * as bytes from '@ethersproject/bytes'; import type { StdSignDoc } from '../types/tx'; import type { SignDoc } from 'cosmjs-types/cosmos/tx/v1beta1/tx'; import { TransactionRequest, Provider } from '@ethersproject/abstract-provider'; export declare class EthWallet { private mnemonic; private pvtKey; private walletType; private options; private provider?; private constructor(); /** * Generates a wallet from a mnemonic. Returns an EthWallet object. * @param mnemonic The mnemonic to generate a wallet from * @param options WalletOptions object */ static generateWalletFromMnemonic(mnemonic: string, options: WalletOptions): EthWallet; setProvider(provider: Provider): void; /** * Generates a wallet from a private key. * @param {string} pvtKey - The private key to generate the wallet from. * @param {WalletOptions} options - The options for the wallet. * @returns {EthWallet} A wallet object. */ static generateWalletFromPvtKey(pvtKey: string, options: WalletOptions): EthWallet; getAccounts(): { algo: string; address: string; pubkey: Uint8Array; }[]; private getAccountsWithPrivKey; getAccountWithHexAddress(): { algo: string; address: string; pubkey: Uint8Array; bech32Address: string; }[]; sign(signerAddress: string, signBytes: string | Uint8Array): bytes.Signature; sendTransaction(transaction: TransactionRequest): Promise; signMessage(signerAddress: string, message: Uint8Array): Promise; signTransaction(signerAddress: string, transaction: any): Promise; signAmino(signerAddress: string, signDoc: StdSignDoc): { signed: StdSignDoc; signature: import("..").StdSignature; }; signDirect(signerAddress: string, signDoc: SignDoc): Promise<{ signed: SignDoc; signature: import("..").StdSignature; }>; }