import React from "react";
import { EthTx } from "./types";
export declare const DepositERC20: React.FC<{
    hasAssets?: boolean;
    address: string;
    amount?: string;
    bridgeAddress: string;
    tokenAddress: string;
    spender: string;
    dest: string;
    resourceId: string;
    wrap?: boolean;
    onSuccess?: (target: "weth" | "approve" | "deposit", tx: EthTx) => void | Promise<void>;
    onError?: (target: "weth" | "approve" | "deposit", e: Error) => void | Promise<void>;
    onCopy?: (value: string) => void;
    setDepositTx?: (tx: EthTx) => void;
    setBridgeBalance?: (val: string) => void;
    setStep?: (value: string) => void;
    token: string;
    chainName?: string;
    chainId?: string;
}>;
