import { providers, BigNumber } from 'ethers';
import { TransferStates } from '../constants';
export declare const activePhase: (phase: TransferStates) => number;
export declare const hydrateProviders: (depositChainId: number, depositProviderUrl: string, withdrawChainId: number, withdrawProviderUrl: string) => {
    [chainId: number]: providers.BaseProvider;
};
export declare const getAssetName: (assetId: string, chainId: number) => string;
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 getChainInfo: (chainId: number) => Promise<any>;
export declare const getAssetDecimals: (chainId: number, assetId: string, ethProvider: providers.BaseProvider) => Promise<number>;
