import type HeaderObject from "../../types/HeaderObject"; import type { Accessor } from "../../types/HeaderObject"; import type { HandleResizeStartProps } from "../../types/HandleResizeStartProps"; /** * Handler for when resize dragging starts */ export declare const handleResizeStart: ({ autoExpandColumns, collapsedHeaders, containerWidth, event, header, headers, mainBodyRef, onColumnWidthChange, reverse, setHeaders, setIsResizing, startWidth, }: HandleResizeStartProps) => void; export type ApplyColumnAutoFitWithAutoExpandParams = { collapsedHeaders: Set; containerWidth: number; getTargetLeafWidth: (leafHeader: HeaderObject) => number; header: HeaderObject; headerCellElement: HTMLElement | null; headers: HeaderObject[]; mainBodyRef: HandleResizeStartProps["mainBodyRef"]; reverse: boolean; }; /** * Apply a one-shot "fit to content" width for a column while preserving autoExpand * compensation (same redistribution rules as dragging the resize handle). */ export declare const applyColumnAutoFitWithAutoExpand: ({ header, headers, collapsedHeaders, containerWidth, mainBodyRef, reverse, headerCellElement, getTargetLeafWidth, }: ApplyColumnAutoFitWithAutoExpandParams) => void;