import * as react_jsx_runtime from 'react/jsx-runtime'; import { OwnershipOwner } from './form-primitives.mjs'; type DebtOwner = OwnershipOwner; type DebtItem = { id: string; /** Summary label shown in the collapsed row. */ description: string; currentOwing: number; monthlyRepayment?: number; interestRate?: number; subLabel?: string; originalLoanAmount?: number; loanRepaymentAmount?: number; repaymentFrequency?: "monthly" | "weekly"; detail?: string; lenderName?: string; accountName?: string; bsb?: string; accountNumber?: string; owners?: DebtOwner[]; }; type DebtGroup = { debtType: string; label: string; items: DebtItem[]; }; type DebtAccordionProps = { groups: DebtGroup[]; openGroups?: string[]; onToggleGroup?: (debtType: string) => void; /** Create/update an item. `item.id === ""` means a newly-added item. */ onSaveItem?: (debtType: string, item: DebtItem) => void; onDeleteItem?: (debtType: string, itemId: string) => void; /** Applicants used to seed the liability-ownership split on a new item. */ owners?: DebtOwner[]; /** Accessible label for the accordion landmark region. */ "aria-label"?: string; className?: string; }; declare function DebtAccordion({ groups, openGroups, onToggleGroup, onSaveItem, onDeleteItem, owners, "aria-label": ariaLabel, className, }: DebtAccordionProps): react_jsx_runtime.JSX.Element; export { DebtAccordion, type DebtAccordionProps, type DebtGroup, type DebtItem, type DebtOwner };