/**
* Row-resize Svelte action - drag the bottom edge of a row to grow /
* shrink it. Pair with a function-valued `rowHeight` prop so the grid
* reads per-row heights from a reactive store.
*
* The action is OFF until a consumer attaches it AND a row-header
* gutter cell exists in each row. A row-header cell is either the
* grid's built-in row-number gutter (enable `showRowNumbers`) or any
* TD tagged with the `sv-row-gutter` class (set
* `cellClass: 'sv-row-gutter'` on a custom gutter column).
*
*
*
*
*
*
*
* Visual: the strip sits along the bottom edge of the row-header
* cell, 5px tall, transparent by default, accent-tinted on hover -
* matching the column resize handle's look. Cursor is `row-resize`.
*/
export type RowResizeOptions = {
/** Called when the user releases the drag with the final height. */
onResize: (rowIndex: number, height: number) => void;
/** Optional callback fired during the drag (every pointermove). */
onResizeMove?: (rowIndex: number, height: number) => void;
/** Min row height in px. Default 20. */
min?: number;
/** Max row height in px. Default 320. */
max?: number;
/** When true, the action removes its strips and ignores events. */
disabled?: boolean;
};
export declare function rowResize(node: HTMLElement, opts: RowResizeOptions): {
update(next: RowResizeOptions): void;
destroy(): void;
};