/** * Compute a pinned total row from a dataset and a list of numeric fields. * * The returned object is structurally a `TData` with non-summed fields left * `undefined` — plug it into `pinnedBottomRowData={[totalRow]}`. Cell renderers * in the non-summed columns receive `undefined`, so they should render nothing * (all of the DS cell renderers short-circuit on `null`/`undefined`). * * Pass an optional `labelField` + `labelValue` to show a static caption such * as "Total" in the first column of the pinned row. */ export declare function useTotalRow(rowData: TData[] | undefined, sumFields: Array, options?: { labelField?: keyof TData & string; labelValue?: string; }): TData; //# sourceMappingURL=use-total-row.d.ts.map