import type { DatosEconomicos } from '../types' /** Total de ingresos: ingresos mensuales + otros ingresos */ export function calcularTotalIngresos(economicos: Pick): number { return economicos.ingresosMensuales + economicos.otrosIngresos } /** Total de gastos aproximados: luz + otros */ export function calcularGastosTotal(economicos: Pick): number { return economicos.gastosLuz + economicos.gastosOtros }