import { Currency } from "../types/currencies";
import { CryptoCurrency } from "../types/cryptocurrencies";
/**
 * Converts one currency to another.
 * @param fromCurrency The original currency
 * @param amount The amount of money in the original currency
 * @param toCurrency The currency to convert to
 * @return An object containing the new currency and value
 */
export declare function convert(fromCurrency: Currency | CryptoCurrency, amount: number, toCurrency: Currency | CryptoCurrency): Promise<{
    currency: Currency | CryptoCurrency;
    amount: number;
}>;
