import type { RackTableCell } from './rack-table-cell.js'; /** * Classify cells by their row index. */ export declare function classifyByRow(cells: RackTableCell[]): RackTableCell[][]; /** * Find aisle rows (rows where all cells are empty). */ export declare function findAisle(rows?: RackTableCell[][]): RackTableCell[][]; /** * Get indices of aisle rows. */ export declare function getAisleRowIndices(rows: RackTableCell[][]): number[]; /** * Classify rows into sections separated by aisle rows. */ export declare function classifyCellsBySection(rows: RackTableCell[][], aisleRowIndices: number[]): RackTableCell[][][]; /** * Rearrange cells by aisle direction pattern. */ export declare function rearrangeByAisle(type: string, sections: RackTableCell[][][]): RackTableCell[][][]; /** * Remove empty cells from sections. */ export declare function removeEmptyCells(sections: RackTableCell[][][]): RackTableCell[][][]; /** * Merge section rows into flat arrays. */ export declare function mergeRows(sections: RackTableCell[][][]): RackTableCell[][]; /** * Set section/unit location on cells. */ export declare function setLocations(sections: RackTableCell[][], startSection: number, startUnit: number, sectionDigits: number, unitDigits: number): void; /** * Run the full location increase flow. */ export declare function increaseLocation(selectedCells: RackTableCell[], type: string, skipNumbering: boolean, startSection: number, startUnit: number, sectionDigits: number, unitDigits: number): void;