import { WindowSize } from '../../../../../context/windowSizeProvider/WindowSizeProvider'; import { LineInfo } from '../../../common'; import { JournalEntryRowHeaderItemData } from '../header/journalEntryHeaderConfig'; export interface JournalEntryTotalsRowProps { columns: JournalEntryRowHeaderItemData[]; isCompressed: boolean; lines: LineInfo[]; sectionId: string; windowSize: WindowSize; /** Inline validation errors shown below the totals row on a failed submit. */ splitValidationErrors?: string[]; /** Original transaction total; required for balance checking. */ transactionTotalAmount?: number; /** Fires whenever the split balance state changes (split edit mode only). */ onSplitBalanceChange?: (isBalanced: boolean) => void; } /** * Sticky totals row pinned to the bottom of the table. * * Layout (Figma frame 5177:12455 totals row 5177:12750): * [Total label flex-grow] [Debit total 140px right] [Credit total 116px right] * * In compressed (quick view / small) mode we collapse to a single line * showing Total Debits / Total Credits with a divider, matching the * quick-view spec. */ export declare const JournalEntryTotalsRow: ({ columns, isCompressed, lines, onSplitBalanceChange, sectionId, splitValidationErrors, transactionTotalAmount, windowSize, }: JournalEntryTotalsRowProps) => import("react/jsx-runtime").JSX.Element;