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