import { DebtPriority } from '../constants/Debts'; import { Account, Debt, DebtsCopy, Goal } from '../types'; type DataPoint = { x: Date; y: number; payment?: number; extra?: number; }; type Dataset = DataPoint[]; export interface DebtChartData extends Debt { dataset: Dataset; } interface MonthlyPayment { balance: number; interest: number; payment: number; principal: number; timestamp: number; } export declare const transformDebtsChartData: (debts: Debt[], debtPriority: DebtPriority, extraPaydown?: number) => DebtChartData[]; export declare const buildEmptyStateProps: (copy: DebtsCopy, hasAggregation: boolean, handler: () => void) => { description: string; header: string; onClickHandler: (() => void) | undefined; primaryButton: string | undefined; }; export declare function loadDebts(accounts: Account[], goals: Goal[]): Debt[]; export declare function createDebt(account: Account, goal?: Goal): Debt; export declare const calculateFinalPayment: (monthlyPayments: MonthlyPayment[]) => number; export declare const sortDebtsByPrioriy: (debts: Debt[], debtPriority: DebtPriority) => void; export {};