/** * Adjusts the right visual border of the end column when customColumns && nestedRows are used together. * If rightStickyCountFromConfig is set, padding is not added to the last cell of Custom or Nested Columns. */ export declare const getCustomColumnStickyStyles: (nthCellFromRight: number, stickyRightCount: number, rightStickyCountFromConfig?: number) => string; type IsParentPartiallyCheckedParams = { nestedDataKey: keyof DataItem; nestedRowProps: { nestedData: { [key: string]: DataItem[]; }; showCheckboxes?: boolean; }; checkedBoxes: DataItem[]; dataKey: keyof DataItem; }; /** * Returns whether a parent row should show a partially-checked (indeterminate) state * when the new nested row toggle is on and it has some but not all children checked. */ export declare const isParentPartiallyChecked: (parentData: DataItem, params: IsParentPartiallyCheckedParams) => boolean; type ComputeSomeCheckedAllCheckedParams = { data: DataItem[]; checkedBoxes: DataItem[]; totalRowKey: keyof DataItem; dataKey: keyof DataItem; newNestedRowToggle: boolean; nestedRowProps: { nestedData: { [key: string]: DataItem[]; }; showCheckboxes?: boolean; } | null; nestedDataKey: keyof DataItem | undefined; isParentPartiallyCheckedFn: (parentData: DataItem) => boolean; }; /** * Computes someChecked and allChecked for table header checkbox state, * including nested rows and partially-checked parents when the new nested row toggle is on. */ export declare const computeSomeCheckedAllChecked: ({ data, checkedBoxes, totalRowKey, dataKey, newNestedRowToggle, nestedRowProps, nestedDataKey, isParentPartiallyCheckedFn, }: ComputeSomeCheckedAllCheckedParams) => { someChecked: boolean; allChecked: boolean; }; type GetDisplayCheckedCountParams = { checkedBoxes: DataItem[]; nestedRowProps: { nestedData: { [key: string]: DataItem[]; }; showCheckboxes?: boolean; } | null; nestedDataKey: keyof DataItem | undefined; dataKey: keyof DataItem; newNestedRowToggle: boolean; }; /** * Returns the count of selected items to display in the selection banner. * * this will remove after toggle- 'standardtable_new_nested_rows_update' clean up — remove * newNestedRowToggle guard and keep the nested logic unconditionally. * * - Toggle OFF: raw checkedBoxes.length (legacy behavior, no change) * - Toggle ON + showCheckboxes !== true: raw checkedBoxes.length (children not in checkedBoxes) * - Toggle ON + showCheckboxes === true: child rows only; parent rows with no children are * also counted as leaf-level selections */ export declare const getDisplayCheckedCount: ({ checkedBoxes, nestedRowProps, nestedDataKey, newNestedRowToggle, }: GetDisplayCheckedCountParams) => number; export {};