import { addDays } from 'date-fns/addDays'; import { addMonths } from 'date-fns/addMonths'; import { addYears } from 'date-fns/addYears'; import { differenceInDays } from 'date-fns/differenceInDays'; import { differenceInMonths } from 'date-fns/differenceInMonths'; import { differenceInWeeks } from 'date-fns/differenceInWeeks'; import { PieValueType } from '@mui/x-charts'; import { MonthlySummaries } from '../../core'; import { CreditScoreStatusCopy, FinstrongCopy, KeyIndicatorSpend } from '../../core/types/localization/FinstrongCopy'; import { CardStatus } from '../../common/constants/FinStrong'; import { Action } from '../components/ProfileList'; export declare const radiansToDegrees: (radians: number) => number; export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => { description: string; max: number; scoreContent: string; status: string; } | { status: string; description: string; scoreContent: string; }; export declare const CreditScoreLightColors: { POOR: string; FAIR: string; GOOD: string; VERY_GOOD: string; EXCEPTIONAL: string; }; export declare const CreditScoreDarkColors: { POOR: string; FAIR: string; GOOD: string; VERY_GOOD: string; EXCEPTIONAL: string; }; export declare const getCreditScoreDetails: (healthScore: number, isDarkMode: boolean, copy: CreditScoreStatusCopy) => { status: string; color: string; } | { status: string; color?: undefined; }; export declare const getOutterArcStartEndAngle: (healthScoreData: PieValueType[], totalAngularSpan: number, arcStartAngle: number, dataIndex: number) => number[]; export declare const getFilledArcStartEndAngle: (outterArcStartAngle: number, outterArcEndAngle: number, dataIndex: number, unitsPerSegment: number, progressEndAngle: number) => number[]; export declare const getMarkerXYCoordinates: (markerRadius: number, progressEndAngle: number, angleOffset?: number) => number[]; export declare const buildProfileItem: ({ dynamicCopy, fallbackLabel, icon, key, label, value, }: { dynamicCopy?: string; fallbackLabel: string; icon: React.JSX.Element; key: Action; label: string; value: string | number | undefined | null; }) => { icon: import("react/jsx-runtime").JSX.Element; isComplete: boolean; key: Action; primaryText: string; secondaryText: string; }; export declare const getPercentFromRatio: (ratio: number | null) => number | null; export declare const getMonthName: (month: number) => string; export declare const getDaysOfCashOnHandState: (days: number | null) => keyof typeof CardStatus; export declare const getEmergencySavingsState: (dollars: number | null) => keyof typeof CardStatus; export declare const getSpendToIncomeRatioState: (ratio: number | null) => keyof typeof CardStatus; export declare const getManageDebtRatioState: (ratio: number | null) => keyof typeof CardStatus; export declare const getCreditScoreState: (score: number | null) => keyof typeof CardStatus; export declare const getSpendingFeeCountState: (count: number | null) => "OFF_TRACK" | "GOOD" | "MISSING"; export declare const getSpendingFeeCountStatus: (count: number | null, spendCopy: KeyIndicatorSpend) => { cardState: keyof typeof CardStatus; description: string; title: string; }; export declare const getCardStateStyles: (cardState: string) => { backgroundColor: string; color: string; }; declare const getFutureDate: { readonly 1: typeof addMonths; readonly 2: typeof addYears; readonly 3: typeof addDays; }; declare const getNumberOfPayments: { readonly 1: typeof differenceInMonths; readonly 2: (end: Date, start: Date) => number; readonly 3: typeof differenceInWeeks; readonly 4: typeof differenceInDays; }; interface CalculateContributionParams { contribution: keyof typeof getNumberOfPayments; goalAmount: number; goalPeriod: number; targetPeriod: keyof typeof getFutureDate; totalSaved: number; } export declare const calculateContribution: ({ contribution, goalAmount, goalPeriod, targetPeriod, totalSaved, }: CalculateContributionParams) => number; export declare const calculatePercentage: (amount: number | null) => string; export declare const getInitialTargetPeriodAmount: (totalSaved: number) => number; export declare const getInitialContributionPeriod: (totalSaved: number) => number; export declare const getSeriesGraphData: (monthlySummaries: MonthlySummaries[], valueKey: keyof Pick) => { x: string; y: number; }[]; export {};