import { ChainConfig, CosmosChainData, GasPriceStep } from '@leapwallet/elements-core'; import BigNumber from 'bignumber.js'; export declare function convertAddress(address: string, prefix: string): string; export declare const formatAmount: (amount: BigNumber.Value, minimumFractionDigits?: number, maximumFractionDigits?: number) => string; /** * Get the gas price for a given chain while accounting for chains that support dynamic fee markets * @returns BigNumber, the gas price */ export declare enum GasStepMultiplier { 'low' = 1.1, 'average' = 1.2, 'high' = 1.3 } export declare const getGasPrice: (chainsConfig: ChainConfig | undefined, gasPriceSteps: Record | undefined, chain: CosmosChainData, feeDenom: string, gasStep?: 'low' | 'average' | 'high') => Promise; export declare const isUserRejectedError: (error: { message: string; }) => boolean;