/**
 * An utility class for indexing cells in a wrapping grid layout
 */
export default class Grid {
    /**
     *
     * @param {number} nChildren
     * @param {number} [maxCols]
     */
    constructor(nChildren: number, maxCols?: number);
    n: number;
    maxCols: number;
    get nRows(): number;
    get nCols(): number;
    get rowIndices(): number[][];
    get colIndices(): number[][];
    /**
     * @param {number} col
     * @param {number} row
     */
    getCellIndex(col: number, row: number): number;
    /**
     *
     * @param {number} index
     * @returns {[number, number]}
     */
    getCellCoords(index: number): [number, number];
}
//# sourceMappingURL=grid.d.ts.map