import { ReactNode } from 'react'; import { ID, Month, TimeframeTick, TransactionID, TransactionListByAccountReport, TransactionListByCategoryType, TransactionListByClassReport, TransactionListByProjectReport } from '@zeniai/client-epic-state'; import { ThreadMetadata } from '../commentsAndNotes/utils/CollaborationTypes'; export interface Props { currentScrollYOffset: number; dataAvailableForPeriod: TimeframeTick; firstMonthOfFY: Month; isAccountingClassesEnabled: boolean; report: TransactionListByAccountReport | TransactionListByCategoryType | TransactionListByClassReport | TransactionListByProjectReport; timeframe: "month" | "quarter" | "year"; timePeriod: TimeframeTick; title: string; isTransactionCommentingEnabled?: boolean; panelContent?: ReactNode; referrerType?: string; /** Combined gate (tenant capability AND FE rollout). Defaults to false. */ showProjectField?: boolean; showStatementPageIcon?: boolean; sidePanelIsFullView?: boolean; sidePanelIsOpen?: boolean; subTitle?: string; useFixedPeriod?: { numberOfPeriods: number; timeframe: "month"; }; onTransactionListScroll: (scrollYOffset: number) => void; onBackClick?: () => void; /** Enables the navbar comments icon + drawer; called on drawer thread click. */ onCommentThreadClick?: (threadMetadata: ThreadMetadata, threadId: ID) => void; onStatementPageIconClick?: () => void; onTimePeriodChange?: (addTimePeriod: TimeframeTick, currentTimePeriod: TimeframeTick, timeframe: "month" | "quarter" | "year") => void; onTransactionItemClick?: (transaction: TransactionID) => void; } export default function TransactionListPage({ title, subTitle, firstMonthOfFY, isAccountingClassesEnabled, showProjectField, isTransactionCommentingEnabled, onCommentThreadClick, timeframe, timePeriod, useFixedPeriod, dataAvailableForPeriod, report, currentScrollYOffset, showStatementPageIcon, onTimePeriodChange, onTransactionItemClick, onTransactionListScroll, onBackClick, onStatementPageIconClick, panelContent, referrerType, sidePanelIsFullView, sidePanelIsOpen, }: Readonly): import("react/jsx-runtime").JSX.Element;