import type { Api as EqApi } from "@equilab/api/equilibrium";
import type { Undef, UnwrapArray, UnwrapPromise } from "@equilab/utils";
import type { web3Accounts, web3Enable } from "@polkadot/extension-dapp";
import type { BigNumber } from "bignumber.js";
declare type Currency = string;
export declare type Accounts = UnwrapPromise<ReturnType<typeof web3Accounts>>;
export declare type Account = UnwrapArray<Accounts>;
export declare type Injectors = UnwrapPromise<ReturnType<typeof web3Enable>>;
export declare type Converter = (amount: Undef<string | number | bigint | BigNumber>, from: string, to: string) => BigNumber;
export declare type Rates = Record<string, BigNumber>;
export interface BalanceDict {
    [address: string]: Record<string, BigNumber>;
}
export interface Network {
    node: string | string[];
    name: string;
    dev?: boolean;
}
export interface PolkadotAggregates {
    ltvs: {
        master?: BigNumber;
        borrower?: BigNumber;
        bailsman?: BigNumber;
    };
}
export interface PolkadotContext {
    aggregates?: PolkadotAggregates;
}
export interface LtvResult {
    ltv: BigNumber;
}
export interface LtvDict {
    [address: string]: BigNumber;
}
export type { EqApi, Currency };
