import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing"; import { CosmosChain } from "../../types"; import { CosmosClient } from "../cosmos/CosmosClient"; /** * RelayerAccountManager manages the relayer account on wasm and axelar. * - Create a relayer account from mnemonic or generate a new one if not provided * - Fund the relayer accounts if the balance of either wasm chain or axelar chain is below the minAmount * - Get the relayer address based on the prefix. Default prefix is wasm * - Get the relayer fund on wasm and axelar */ export declare class RelayerAccountManager { static DEFAULT_FUND_AMOUNT: string; static DEFAULT_MIN_FUND_AMOUNT: string; private axelarClient; private wasmClient; relayerAccount: DirectSecp256k1HdWallet; constructor(axelarClient: CosmosClient, wasmClient: CosmosClient, relayerAccount: DirectSecp256k1HdWallet); /** * Create a relayer account from mnemonic or generate a new one if not provided * @param prefix chain prefix. Available options: wasm, axelar * @param mnemonic mnemonic of the relayer account * @returns an instance of DirectSecp256k1HdWallet */ static createRelayerAccount(prefix: CosmosChain, mnemonic?: string): Promise; /** * Get the relayer address based on the prefix. Default prefix is wasm * @param prefix chain prefix. Available options: wasm, axelar * @returns relayer address */ getRelayerAddress(prefix?: CosmosChain): Promise; /** * Fund the relayer accounts if the balance of either wasm chain or axelar chain is below the minAmount * @param minAmount minimum amount to fund the relayer accounts. Default is 10,000,000 */ fundRelayerAccountsIfNeeded(minAmount?: string): Promise; /** * Fund the relayer account on wasm and axelar. Default amount is 1,000,000,000 * @param amount amount to fund the relayer accounts. Default is 1,000,000,000 */ fundRelayer(amount?: string): Promise; /** * Get the relayer fund on wasm and axelar * @returns relayer fund on wasm and axelar */ getRelayerFund(): Promise<{ wasm: { address: string; balance: string; }; axelar: { address: string; balance: string; }; }>; } //# sourceMappingURL=RelayerAccountManager.d.ts.map