import { PartialRecord } from './common'; import { Ticker } from './assets-history'; export declare enum PricesScale { month = "month", months3 = "month3", months6 = "months6", year = "year", years5 = "years5", max = "max" } export declare enum OperationSource { tinkoffReports = "tink", sberReports = "sber", bksReports = "bks", alfaReports = "alfa", appReport = "app", manual = "manual" } export declare enum Exchange { moex = "moex", spb = "spb", vnb = "vnb" } export declare enum OperationType { buy = "buy", sell = "sell" } export declare enum Currency { rub = "RUB", usd = "USD", eur = "EUR", cny = "CNY", hkd = "HKD", undefined = "undefined" } export declare enum SecuritySource { moexApi = "m", yahooApi = "y", undefined = "-" } export type DayString = string; export interface Price { amount: number; currency: Currency; } export interface CurrencyMap { currencyFromTicker: PartialRecord; tickerFromCurrency: PartialRecord; } export declare const currencyMap: CurrencyMap;