/// <reference types="react" />
import { type CellValue, type DataGridColumns, type DataGridRow } from '../../../types';
type UsePinnedColumnsParams<TData extends Record<string, CellValue> = DataGridRow> = {
    isLoading?: boolean;
    columns: DataGridColumns<TData>[];
};
export declare const usePinnedColumns: <TData extends Record<string, unknown> = DataGridRow>({ isLoading, columns, }: UsePinnedColumnsParams<TData>) => {
    containerRef: import("react").RefObject<HTMLDivElement | null>;
    rowHoverProps: {
        registerRowElement: (rowId: string, el: HTMLElement) => void;
        unregisterRowElement: (rowId: string, el: HTMLElement) => void;
        onRowEnter: (rowId: string) => void;
        onRowLeave: (rowId: string, e: PointerEvent) => void;
    };
    sections: import("../../../PinnedSections/types").PinnedSection<TData>[];
    hasPinnedColumns: boolean;
};
export {};
