import { ResponsiveSized } from '../../../../../context/windowSizeProvider'; import { TransactionLineRowHeaderItemData } from './transactionLineHeaderConfig'; /** * Column order matches Figma frame 5240:7220: * Description | Category | Class | (Project) | Amount * * `Project` is appended after `Class` only when `showProjectField` is * true; the base Figma frame does not include it. This mirrors the JE * table's optional-Project handling. */ export declare const getTransactionLineTableHeaderItemsData: (isAccountingClassesEnabled?: boolean, showProjectField?: boolean) => TransactionLineRowHeaderItemData[]; /** * Compressed (quick-view / small window) header list — single * Description column with a single right-aligned Amount column. No * `Dr`/`Cr` prefix here (unlike JE) because non-JE lines have no * posting type to disambiguate. */ export declare const compressedTransactionLineHeaderItemsData: TransactionLineRowHeaderItemData[]; /** * Recomputes widthPercentage and customStyle for quick view mode: * - Amount column gets 20%; all other columns split the remaining 80% equally. * - Padding is capped at 16px; first column keeps 16px left edge, amount * keeps 16px right edge. All non-amount columns are left-aligned; amount * is right-aligned. */ export declare const toQuickViewWidthPercentages: (columns: TransactionLineRowHeaderItemData[]) => TransactionLineRowHeaderItemData[]; export declare const getTransactionLineTableMaxWidth: (isAccountingClassesEnabled?: boolean, showProjectField?: boolean) => ResponsiveSized;