UNPKG

@cranberry-money/shared-utils

Version:

Shared utility functions for Blueberry platform

7 lines 443 B
export interface BaseAllocation { readonly percentage: string; } export declare const calculateTotalAllocation: <T extends BaseAllocation>(allocations: readonly T[]) => number; export declare const validateAllocationPercentages: <T extends BaseAllocation>(allocations: readonly T[], tolerance?: number) => boolean; export declare const formatRiskLevelDisplay: (riskLevel: string) => string; //# sourceMappingURL=portfolio-template.d.ts.map