import type { RefObject } from 'react'; import type { DataTableV2AlignmentColumnDef } from '../features/ColumnAlignment.js'; /** * Gets the alignment for the menu based on the alignment of the column definition. If the header cell or * table cell are outside the bounds of the table's borders, sets the alignment based on the available space * and the size of the menu. * * @param columnAlignment - The alignment of the column based on the column definition. * @param buttonRef - A ref to the menu trigger. * @param virtualizationContainer - The table's virtualization container. * @returns 'center' | 'end' | 'start' * @internal */ export declare function useActionsMenuAlignment(columnAlignment: DataTableV2AlignmentColumnDef['alignment'], buttonRef: RefObject | null, virtualizationContainer?: HTMLDivElement): 'center' | 'end' | 'start';