import type { SubmittableExtrinsic } from "@polkadot/api/submittable/types";
import type { Account } from "../../contexts/polkadot/types";
import BigNumber from "bignumber.js";
import React from "react";
import { CrossChainConfig, CrossChainTokens } from "./types";
declare const Withdraw: React.FC<{
    account: Account;
    onChange?: (amount: string, token: string, address: string, crossChain?: CrossChainConfig) => void;
    onClose?: () => void;
    onSuccess?: () => void;
    onError?: (err?: string | Uint8Array | {
        error: any;
        index: any;
    }) => void;
    extrinsic?: SubmittableExtrinsic<"promise">;
    balance?: Record<string, BigNumber>;
    token: string;
    setToken: (c: string) => void;
    config: CrossChainTokens;
}>;
export default Withdraw;
