import { AgingBalance, AgingPeriod } from '../../../commonStateTypes/agingBalance/agingBalance'; import { Amount } from '../../../commonStateTypes/amount'; import { NestedCustomerID } from '../../../commonStateTypes/customerView/nestedCustomerID'; import { SelectorReport } from '../../../commonStateTypes/viewAndReport/viewAndReport'; import { Customer } from '../../../entity/customer/customerState'; import { RootState } from '../../../rootStateTypes'; import { ArAgingUIState } from './arAgingState'; export interface NestedAgingBalancesByCustomer { arAgingBalances: AgingBalance[]; children: NestedAgingBalancesByCustomer[]; customer: Customer; hasSiblings: boolean; id: NestedCustomerID; isLeafCustomer: boolean; total: Amount; totalWithChildren: Amount; } export interface ArAgingReport extends SelectorReport { agingBalances: NestedAgingBalancesByCustomer[]; agingPeriods: AgingPeriod[]; arAgingUIState: ArAgingUIState; totalBalances: AgingBalance[]; } export declare const getArAgingReport: (state: RootState) => ArAgingReport;