import { Bech32String, Bytes } from '@tendermint/types'; export declare class Account { address: Bech32String; privateKey: Bytes; publicKey: Bytes; } export declare class Wallet { constructor(mnemonic?: string, options?: WalletOptions); mnemonic: string; validatorAddress: string; wallet: Account; depth: number; id: number; wallets: Array; address: string; evmAddress: string; privateKey: string; publicKey: string; availableProposalSubmit: boolean; gateUrl: string; currentNonce: number; currentNonceValidUntil: number; static initLedger(mode: string, options?: WalletOptions, emulatorUrl?: string): Wallet; getPrivateKeyString(): string; getPublicKeyString(): string; switchAccount(id: number): void; generateAccount(): void; generateAndSwitchAccount(depth: number, id: number): void getAndUseGeneratedWallets(): void sendAndSaveGeneratedWallets(): void updateNonce(nonce: number): void } export interface WalletOptions { gateUrl: string, masterAddress?: string, } export interface DecimalMeta { account_number: string; chain_id: string; sequence: string; } export interface Coin { symbol: string; title: string; volume: string; reserve: string; crr: number; limitVolume: string; creator: string; txHash: null | string; blockId: null | number; avatar: string; createdAt: string; updatedAt: string; } export interface Tx { hash: string; timestamp: string; status: string; type: string; fee: object; data: object; nonce: number; code: number; message: string; blockId: number; from: string; to: null | string; createdAt: string; updatedAt: string; } export interface Balance { [x: string]: string; } export interface GetAddressResponseAddress { address: string; type: string; balance: Balance; nonce: number; createdAt: string; updatedAt: string; totalStake: string | null; txs: Tx[]; } export interface GetAddressResponse { address: GetAddressResponseAddress; coins: Coin[]; } export interface DecimalOptions { wallet: Wallet; meta?: DecimalMeta; baseURL: string; } export interface DecimalError { errorCode: number; errorMessage: string; } export interface DecimalResponse { hash: string; success: boolean; error: DecimalError | null; } export interface TxOptions { gasLimit?: string; feeCoin?: string; feeAmount?: string; message?: string; txBroadcastMode?: string; accountInfoMode?: string; setNonceAutomatically?: boolean; nonce?: string; } export interface SendCoinsData { to: string; coin: string; amount: string } export interface BuyCoinsData { buyCoin: string; amount: string; spendCoin: string; maxSpendLimit?: string } export interface SellCoinsData { sellCoin: string; amount: string; getCoin: string; minBuyLimit?: string; } export interface SellAllCoinsData { sellCoin: string; getCoin: string; minBuyLimit?: string; } export declare class Decimal{ constructor(options: DecimalOptions) sendCoins(data: SendCoinsData, options?: TxOptions): Promise; buyCoins(data: BuyCoinsData, options?: TxOptions): Promise; sellCoins(data: SellCoinsData, options?: TxOptions): Promise; sellAllCoins(data: SellAllCoinsData, options?: TxOptions): Promise; getAddress(address: string): Promise }