import { AccountApi } from '../api'; import { AssetsLiabilities, DetailedAccount, GainsLosses, MonthlyAccountBalance, NetWorth, NetWorthData } from '../types'; import { GlobalStore } from './GlobalStore'; export declare const HISTORICAL_ACCOUNT_BALANCES = "Historical account balances"; export declare class NetWorthStore { globalStore: GlobalStore; accountsApi: AccountApi; monthlyAccountBalances: MonthlyAccountBalance[]; monthlyAccountBalancesLoaded: boolean; hoveredIndex: number; selectedIndex: number; timeframe: number; constructor(globalStore: GlobalStore); get isNetWorthDataLoaded(): boolean; get netWorthAccounts(): DetailedAccount[]; get netWorthData(): NetWorthData; get netWorthChartData(): NetWorth[]; get selectedData(): NetWorth | undefined; get hoveredData(): NetWorth | undefined; get gainsLosses(): GainsLosses; get isHistoricalBalancesEnabled(): boolean; get assetsLiabilities(): AssetsLiabilities; loadNetWorthData: () => Promise; getMonthlyAccountBalances: (accountGuid: string) => Promise; getHistoricalAccountBalances: (accountGuid: string) => Promise; setHoveredIndex: (index: number) => number; setMonthlyAccountBalances: (balances: MonthlyAccountBalance[]) => void; setSelectedIndex: (index: number) => number; setTimeframe: (months: number) => number; }