import { Account, Holding } from '../../../../core'; import { InvestmentAllocationCopy } from '../../../../core/types/localization/InvestmentsCopy'; import { DonutData } from '../InvestmentsAllocationChart'; export interface InvestmentsAllocationData { name: string; displayName: string; guid: string; holdings: InvestmentAllocationTotals[]; percentage: number; value: number; color: string; } export interface InvestmentAllocationTotals { displayName: string; name: string; value: number; percentage: number; } export declare const createInvestmentsAllocationData: (accounts: Account[], copy: InvestmentAllocationCopy, holdings: Holding[]) => { investmentsData: InvestmentsAllocationData[]; donutData: DonutData[]; totalAmount: number; totalGainLoss: number; totalGainLossAvailable: boolean; totalMarketValue: number; totalGainLossPercentage: number; }; export declare const percentageDisplay: (value: number) => string | number | undefined; export declare const currencyDisplay: (value: number) => string;