import type { ActionType, TableInstance, TableState, IdType } from '../../../react-table/react-table.js'; /** * Handles selection when toggling a row (Ctrl click or checkbox click) */ export declare const onToggleHandler: >(newState: TableState, action: ActionType, instance?: TableInstance, onSelect?: (selectedData: T[] | undefined, tableState?: TableState) => void, isRowDisabled?: (rowData: T) => boolean) => void; /** * Handles selection when clicked on a row. */ export declare const onSingleSelectHandler: >(state: TableState, action: ActionType, instance?: TableInstance, onSelect?: (selectedData: T[] | undefined, tableState?: TableState) => void, isRowDisabled?: (rowData: T) => boolean) => { lastSelectedRowId: any; selectedRowIds: Record; hiddenColumns?: IdType[] | undefined; columnResizing: { startX?: number; columnWidth?: number; nextColumnWidth?: number; headerIdWidths?: Array<[string, number]>; nextHeaderIdWidths?: Array<[string, number]>; columnWidths: Record; isResizingColumn?: string; }; isTableResizing?: boolean; columnReorderStartIndex: number; sticky: { isScrolledToRight?: boolean; isScrolledToLeft?: boolean; }; columnOrder: IdType[]; expanded: Record, boolean>; filters: import("../../../react-table/react-table.js").Filters; globalFilter: any; groupBy: IdType[]; pageSize: number; pageIndex: number; rowState: Record; }>; sortBy: import("../../../react-table/react-table.js").SortingRule[]; }; /** * Handles selection when clicked on a row while shift key is pressed. */ export declare const onShiftSelectHandler: >(state: TableState, action: ActionType, instance?: TableInstance, onSelect?: (selectedData: T[] | undefined, tableState?: TableState) => void, isRowDisabled?: (rowData: T) => boolean) => TableState;