import { BridgeRequestParam } from '../../types/requestTypes';
import { BarterTransactionResponse } from '../../types/responseTypes';
export declare class BarterBridge {
    /**
     * The BridgeToken method is used to bridge token from one chain to another.
     * see {@link BridgeRequestParam} for detail
     * @param token source token, aka token that user provide
     * @param toChainId target chain id
     * @param toAddress target chain receiving address
     * @param amount amount to bridge, in minimal uint. For example wei in Ethereum, yocto in Near
     * @param signer ethers.js signer, must provide when src chain is EVM chain
     * @param nearConfig Near config file, must provide when src chain is Near
     * @return BN for gas estimation, ContractCallReceipt for actual contract invocation
     */
    bridgeToken({ fromAddress, fromToken, toChainId, toAddress, amount, options, }: BridgeRequestParam): Promise<BarterTransactionResponse>;
    gasEstimateBridgeToken({ fromAddress, fromToken, toChainId, toAddress, amount, options, }: BridgeRequestParam): Promise<string>;
}
