import type { CustomCellRendererProps } from 'ag-grid-react'; /** * Keyboard-accessible row-reorder cell. AG Grid's native row dragging is * mouse/touch only; this renderer adds move-up / move-down buttons so the order * is reachable by keyboard too (the missing accessible half of the * "drag-sortable column" primitive). The consumer owns `rowData` order and * reorders it in `onMove` — the same controlled contract as the editable cells. */ export interface ReorderCellRendererParams { /** Move the row one step in the given direction (consumer reorders rowData). */ onMove: (data: TData, direction: 'up' | 'down') => void; /** Accessible name for the move-up button (defaults to a kit string). */ moveUpLabel?: string; /** Accessible name for the move-down button (defaults to a kit string). */ moveDownLabel?: string; /** Button intent (default `ghost`). */ intent?: 'ghost' | 'outline'; /** Render the two buttons as a connected `IconButtonGroup` (default true). */ group?: boolean; /** * Disable move-up on the first displayed row and move-down on the last * (default true). Turn off when the grid is filtered/sorted and the ends are * not meaningful. */ disableAtEnds?: boolean; } /** * Pixel width a reorder column needs for the two `sm` IconButtons (32px each) * plus the data-table cell's inline padding so the controls never clip. Mirrors * {@link actionsColumnWidth}. */ export declare function reorderColumnWidth(): number; export declare function ReorderCellRenderer(props: CustomCellRendererProps & ReorderCellRendererParams): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=reorder-cell-renderer.d.ts.map