import * as React from 'react'; import { ColumnDef } from './types.js'; import '../../lib/table-properties-types.js'; import '../../lib/column-cell-kind.js'; import '../../lib/status-badge-tints.js'; /** * Sticky column header: tracks when the real header scrolls out of view, mirrors its * horizontal scroll into the floating clone, and hides the clone while a header * control has visible focus or an open menu. The clone is positioned directly on * the DOM, not through React state, so scrolling never re-renders the table. */ declare function useFloatingHeader>({ displayCols, showColumnHeaders, totalWidth, }: { displayCols: ColumnDef[]; showColumnHeaders: boolean; totalWidth: number; }): { bumpHeaderMenuOpen: (open: boolean) => void; effectiveHeaderStuck: boolean; floatingHeaderInnerWidth: number; floatingHeaderTableWidth: number; floatingHeaderTranslateRef: React.RefObject; floatingHeaderWrapperRef: React.RefObject; headerIsStuck: boolean; headerScrollLeftRef: React.RefObject; headerSurfaceActive: boolean; isClient: boolean; setHeaderKeyboardActive: React.Dispatch>; syncFloatingHeaderScroll: (scrollLeft: number) => void; tableHeadRef: React.RefObject; tableWrapRef: React.RefObject; }; export { useFloatingHeader };