import { Box } from "./Box";
import { PiElement } from "../../language/PiModel";
export declare type GridCell = {
    row: number;
    column: number;
    box: Box;
    rowSpan?: number;
    columnSpan?: number;
    style?: string;
};
export declare class GridBox extends Box {
    readonly kind = "GridBox";
    cells: GridCell[];
    private $children;
    constructor(exp: PiElement, role: string, cells: GridCell[], initializer?: Partial<GridBox>);
    get children(): ReadonlyArray<Box>;
    private sortCellsAndAddChildren;
    numberOfColumns(): number;
    numberOfRows(): number;
    private addChild;
}
export declare function isGridBox(box: Box): box is GridBox;
//# sourceMappingURL=GridBox.d.ts.map