import * as React from 'react'; import type { HeaderProps } from '../../../react-table/react-table.js'; import { Popover } from '../../Popover/Popover.js'; type ActionColumnProps = { columnManager?: boolean | { dropdownMenuProps: React.ComponentPropsWithoutRef<'div'> & Pick, 'visible' | 'onVisibleChange' | 'placement' | 'portal'>; }; }; /** * Action column that adds column manager to the Table header. * It is recommended to add this column to the end of the Table * and to override its `Cell` prop with your row actions menu. * @example * { * ...ActionColumn({ columnManager: true }), * Cell: () => ( * * e.stopPropagation()} * > * * * * ), * }, */ export declare const ActionColumn: >({ columnManager, }?: ActionColumnProps) => { id: string; disableResizing: boolean; canResize: boolean; disableGroupBy: boolean; minWidth: number; width: number; maxWidth: number; columnClassName: string; cellClassName: string; disableReordering: boolean; Header: ({ allColumns, dispatch, state }: HeaderProps) => React.JSX.Element | null; }; export {};