import { FlattenedRowsArrAndMap } from './types'; import { ObjectForExtending, Prettify } from '../types/utils.type'; import { TableConfig } from '../types/table-config.type'; export interface Props { direction: 'ltr' | 'rtl'; } export declare function useSelectRow({ tableConfig, rows, }: { rows: RowType[]; tableConfig?: Prettify>; }): { selectingRowsIsActive: boolean; setSelectingRowsIsActive: import('react').Dispatch>; selectedRows: ReadonlySet | undefined; setSelectedRows: import('react').Dispatch>> | undefined; selectingRowConfig: { rowKeyGetter?: ((row: RowType) => RowIdType) | undefined; showDefault?: boolean | undefined; showState?: [boolean, import('react').Dispatch>] | undefined; showInControl?: boolean | undefined; disableSummaryCheckboxInHeader?: boolean | undefined; hideSummaryCheckboxInHeader?: boolean | undefined; hideSummaryCheckbox?: boolean | undefined; summaryChecked?: { checked: boolean | import('./types').SummaryCheckedFunc; indeterminate: boolean | import('./types').SummaryCheckedFunc; getCountOfChecked: import('./types').SummaryCheckedFunc; onChange: import('./types').SummaryCheckedFunc>>; }, string | number>; } | undefined; summaryCheckedUncontrolled?: { onChange: (event: import('react').ChangeEvent) => void; } | undefined; rowShowCheckbox?: import('./types').RowShowCheckbox | undefined; rowCheckboxDisabled?: import('./types').RowCheckboxDisabled | undefined; rowGetStates?: ((p: import('./types').RowGetStatesProps) => import('./types').RowGetStatesReturnType | null) | undefined; groupedRow?: { getStates: (p: { checkedCalculated: boolean; indeterminateCalculated: boolean; row: import('..').GroupRow; selectedRows: ReadonlySet; selectedChildCount: number; childCount: number; }) => { checked?: boolean | null | undefined; indeterminate?: boolean | null | undefined; showCheckbox?: boolean | null | undefined; checkboxDisabled?: boolean | null | undefined; } | null; onChange?: ((p: { row: import('..').GroupRow; setSelectedRows: import('react').Dispatch>>; checked: boolean; indeterminate: boolean; checkboxDisabled: boolean; showCheckbox: boolean; defaultSetter: () => void; }) => void) | undefined; } | undefined; controlBlock?: { domMetadata?: import('../types/additional.type').DomMetadata | undefined; } | undefined; sidebar?: { domMetadata?: import('../types/additional.type').DomMetadata | undefined; } | undefined; selectingRules: { levels: number | "all" | number[] | ((lvl: number) => boolean); }; selectingRowsIsActive: boolean; }; flattenedRowsArrAndMap: FlattenedRowsArrAndMap | null; isSelectingRowLabelVisible: boolean; setIsSelectingRowLabelVisible: import('react').Dispatch>; isSelectingRowCounterVisible: boolean; setIsSelectingRowCounterVisible: import('react').Dispatch>; controlBlock: { domMetadata: { className: string | undefined; dataAttributes: import('../types/utils.type').DataAttributes | undefined; }; }; sidebar: { domMetadata: { className: string | undefined; dataAttributes: import('../types/utils.type').DataAttributes | undefined; }; }; };