import type { ColumnView } from "../../columns/index.js"; import type { PositionGridCell, PositionUnion } from "../../types.js"; import type { DataRect } from "../types.js"; interface ExpandRectsInDirectionArgs { readonly scrollIntoView: (params: { row?: number; column?: number; }) => void; readonly cellRoot: (row: number, column: number) => PositionUnion | null; readonly selections: DataRect[]; readonly direction: "up" | "down" | "start" | "end"; readonly meta: boolean; readonly pos: PositionGridCell; readonly rowCount: number; readonly view: ColumnView; readonly ignoreFirst: boolean; } /** * Dispatches to the appropriate directional expand function based on * `direction`. Returns the updated selections array, or null if no expansion * is possible in the given direction. */ export declare function expandRectsInDirection({ scrollIntoView, cellRoot, selections, direction, meta, pos, rowCount, view, ignoreFirst, }: ExpandRectsInDirectionArgs): DataRect[] | null; export {};