import { providers, BigNumber } from 'ethers';
import { CHAIN_DETAIL } from '../constants';
export declare const hydrateProviders: (depositChainId: number, depositProviderUrl: string, withdrawChainId: number, withdrawProviderUrl: string) => {
    [chainId: number]: providers.BaseProvider;
};
export declare const getOnchainBalance: (ethProvider: providers.BaseProvider, assetId: string, address: string) => Promise<BigNumber>;
export declare const retryWithDelay: <T = any>(fn: () => Promise<T>, retries?: number) => Promise<T>;
export declare const getChain: (_chainId: number | undefined, chainProvider: string, _assetId: string) => Promise<CHAIN_DETAIL>;
export declare const getUserBalance: (injectedProvider: providers.Web3Provider, senderChainInfo: CHAIN_DETAIL) => Promise<string>;
