import type { PricesInfo } from "@equilab/utils/lib/types/apiv2";
import type { Account, Network, Converter } from "../../contexts/polkadot/types";
import type { Undef } from "@equilab/utils";
import type { EQEvent } from "@equilab/utils/lib/types/apiv2";
import BigNumber from "bignumber.js";
import React from "react";
import { Period } from "./types";
declare const History: React.FC<{
    account: Account;
    bailsman?: Account;
    borrower?: Account;
    lender?: Account;
    currency: string;
    stableCurrency: string;
    onClose: () => void;
    rateHistory?: PricesInfo;
    getRateHistory?: (_: string | undefined, payload: {
        points: string;
        token: string;
        chainId?: string;
        timeframe: "h" | "4h" | "d";
    }) => Promise<PricesInfo | undefined>;
    period: Period;
    setPeriod: (period: Period) => void;
    transferHistory: EQEvent[];
    onEntryClick?: (entry: EQEvent) => void;
    onSwitch: (to: string) => void;
    network?: Network;
    chainId?: string;
    convert: Converter;
    balance: Undef<Record<string, BigNumber>>;
    firstBlockAt: Undef<number>;
    block: Undef<number>;
}>;
export default History;
