import { rateObject } from "../converter";
/**
 * The chainable object interface.
 *
 * @interface chainableConverter
 */
interface chainableConverter {
    from: (from: string) => chainableConverter;
    to: (to: string) => Promise<number>;
    fetch: () => Promise<chainableConverter>;
    rates: rateObject;
    amount: (val: number) => chainableConverter;
}
/**
 * Chained converter.
 * It defaults to the basic API provider, and does not require initialization.
 *
 * @example
 *  let value = await Convert(15).from("USD").to("EUR");
 *
 * @export
 * @param {number} amount - amount of currency to convert
 * @returns
 */
export declare function Chainer(amount?: number | undefined): chainableConverter;
export {};
