import type { PositionUnion } from "../types.js"; import type { DataRect } from "./types.js"; /** * Expands a `DataRect` until every span that is touched by the rect is fully * contained within it. The expansion is iterative: after each pass the four * boundaries are re-scanned with the updated rect until the rect stabilises. */ export declare function expandRectToFullSpans(rect: DataRect, cellRoot: (row: number, column: number) => PositionUnion | null): DataRect;