import { Point } from './common.js'; type GridCellPositions = { index: number; row: number; col: number; center: Point; topLeft: Point; bottomRight: Point; }; type GridOptions = { rows: number; cols: number; xSpacing?: number; ySpacing?: number; width?: number; height?: number; offsetX?: number; offsetY?: number; yDirection?: "cartesian" | "up-is-negative"; centered?: boolean; }; declare function grid({ rows, cols, xSpacing, ySpacing, width, height, offsetX, offsetY, yDirection, centered, }: GridOptions): GridCellPositions[]; export { type GridCellPositions, type GridOptions, grid };