import { default as React } from 'react'; export type NestedRowCheckboxProps = { /** Nested row data item */ nestedRow: DataItem; /** Key used to identify the row (e.g. id) */ dataKey: keyof DataItem; /** Parent row key for cascading checkbox updates */ parentDataKey: DataItem[keyof DataItem]; /** Callback when checkbox value changes (cascading logic) */ handleCheck: (params: { checkboxValue: boolean; checkedItemData: DataItem; name?: string; isNestedRow?: boolean; parentDataKey?: DataItem[keyof DataItem]; }) => void; /** Returns the checked item if this row is checked */ isChecked: (data: DataItem) => DataItem | undefined; /** When true, show the checkbox (respects nestedRowProps.showCheckboxes) */ showCheckbox: boolean; /** Optional predicate to disable the checkbox for specific rows */ disableCheckboxes?: (data: DataItem) => boolean; }; /** * Reusable checkbox for nested table rows. Used by NestedRow (desktop) and MobileNestedRows * to keep behavior and styling consistent and avoid duplication. */ declare function NestedRowCheckbox({ nestedRow, dataKey, parentDataKey, handleCheck, isChecked, showCheckbox, disableCheckboxes, }: NestedRowCheckboxProps): React.JSX.Element | null; export default NestedRowCheckbox;