import { TimeframeTick } from '../../commonStateTypes/timeframeTick'; import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport'; import { CustomerIncomeState } from '../../entity/customerIncome/customerIncomeTrendState'; import { Entity } from '../../entity/genericEntity/entity'; import { VendorExpenseState } from '../../entity/vendorExpense/vendorExpenseState'; import { RootState } from '../../rootStateTypes'; import { TransactionListByEntityView } from '../transactionList/transactionListByEntitySelector'; import { TrendView } from '../trend/trendSelector'; import { TrendState } from '../trend/trendState'; import { DetailScreenType, TrendWithTransactionsState, TrendWithTransactionsUIState } from './trendWithTransactionsState'; export interface TrendWithTransactionsView extends SelectorView { selectedPeriod?: { timeframe: 'month' | 'quarter' | 'year'; timePeriod: TimeframeTick; }; transactionTimePeriod?: TimeframeTick; transactionView?: TransactionListByEntityView; trendReport?: TrendView; trendsTimePeriod?: TimeframeTick; } export declare const getTrendWithTransactions: (state: RootState, entity: Entity, screen: DetailScreenType) => TrendWithTransactionsView; export declare const getLatestTimeFrameWithTransactionsForEntity: (customerState: CustomerIncomeState, vendorExpenseState: VendorExpenseState, trendState: TrendState, entity: Entity, timeframe: "month" | "quarter") => TimeframeTick | undefined; export declare const getEntityDetailUIStateByEntity: (trendWithTransactionsState: TrendWithTransactionsState, entity: Entity, screen: DetailScreenType) => TrendWithTransactionsUIState | undefined;