export interface TableResizeHandlesProps { tableElement: HTMLTableElement; /** * `currentWidths` is every column's real, currently-rendered width (not * just the dragged one) - see the handleUp comment below for why the * caller needs this, not just the one changed index. */ onResizeColumn: (index: number, width: number, currentWidths: readonly number[]) => void; onResizeRow: (index: number, height: number, adjacent?: { index: number; height: number; }) => void; } /** * Phase 11.5 ยง2.2: column-width/row-height drag handles calling the * existing setTableColumnWidthCommand/setTableRowHeightCommand (row/column * reorder already had toolbar buttons - "Move row up/down"/"Move column * left/right" - wired since before this phase; resize had no UI at all). * Commit-on-release, not a live preview during drag - a deliberately * bounded scope for the first pass. Recomputes handle geometry from the * live table's actual rendered cell rects on every table layout change via * ResizeObserver, since table content (and therefore column/row sizes) * changes independently of resize actions. */ export declare function TableResizeHandles({ tableElement, onResizeColumn, onResizeRow }: TableResizeHandlesProps): import("react/jsx-runtime").JSX.Element;