import * as react_jsx_runtime from 'react/jsx-runtime'; interface CalculatorIncomeItem { key: string; /** e.g. "Avg Income Per Month" */ label: string; /** Pre-formatted e.g. "$8,500" */ value: string; } interface CalculatorSectionProps { /** Formatted total of all income sources, e.g. "$12,500" */ incomeTotalFormatted: string; /** Individual income line items shown when accordion is open */ incomeItems: CalculatorIncomeItem[]; /** Initial open/closed state of the accordion (uncontrolled after mount) */ defaultIncomeExpanded?: boolean; onIncomeExpandChange?: (open: boolean) => void; /** Called with the item key when a pencil button is clicked */ onIncomeItemEdit?: (key: string) => void; currentExpensesValue: string; currentExpensesTooltip?: string; /** * Raw number — enables inline editing directly in the row. * Must be paired with `onCurrentExpensesChange`. */ currentExpenses?: number; onCurrentExpensesChange?: (value: number) => void; /** Fallback: called when pencil is clicked (no inline edit) */ onCurrentExpensesEdit?: () => void; optimisedEstimateValue: string; optimisedEstimateTooltip?: string; debtRepaymentsValue: string; /** * Raw number — enables inline editing directly in the row. * Must be paired with `onDebtRepaymentsChange`. */ debtRepayments?: number; onDebtRepaymentsChange?: (value: number) => void; /** Fallback: called when pencil is clicked (no inline edit) */ onDebtRepaymentsEdit?: () => void; surplusIncomeValue: string; surplusPercent: number; currentExpensesPercent: number; debtRepaymentsPercent: number; /** Enables the Save button */ hasChanges?: boolean; /** Shows loading state on the Save button */ isSaving?: boolean; onSave?: () => void; className?: string; } declare function CalculatorSection({ incomeTotalFormatted, incomeItems, defaultIncomeExpanded, onIncomeExpandChange, onIncomeItemEdit, currentExpensesValue, currentExpensesTooltip, currentExpenses, onCurrentExpensesChange, onCurrentExpensesEdit, optimisedEstimateValue, optimisedEstimateTooltip, debtRepaymentsValue, debtRepayments, onDebtRepaymentsChange, onDebtRepaymentsEdit, surplusIncomeValue, surplusPercent, currentExpensesPercent, debtRepaymentsPercent, hasChanges, isSaving, onSave, className, }: CalculatorSectionProps): react_jsx_runtime.JSX.Element; export { type CalculatorIncomeItem, CalculatorSection, type CalculatorSectionProps };