import { type CSSProperties } from 'react';
import { type CheckboxProps } from '../../../../Checkbox';
import { type DataGridRow } from '../../../types';
import { type HeadColumnsProps } from '../HeadColumns';
import { type GridPositions } from './utils';
export declare const useLogic: <TData extends Record<string, unknown> = DataGridRow, TSortField extends keyof TData = keyof TData>({ columns, onSort, sorting, uncheckedRowsCount, rowsCount, onSelectAllRows, }: HeadColumnsProps<TData, TSortField>) => {
    checkboxProps: CheckboxProps;
    handleSort: (field: TSortField) => void;
    gridPositions: Map<string | keyof TData, GridPositions>;
    headerCssVars: (position?: GridPositions) => CSSProperties;
    hasGroupedColumns: boolean;
};
