import { Widget } from "./Widget"; /** * A [[Widget]] that holds Widgets and the amount of rows and columns, and is to be displayed as a grid on the client * * @example * ```jsx * new GridLayout({width:2,height:3},[ * new Blank(), new Blank(), * new Blank(), new Blank(), * new Blank(), new Blank() * ]) * //JSX * * * * * * ``` */ export declare class GridLayout implements Widget { children: Widget[]; height: number; width: number; __variant__: string; /** * * @param height Number of rows * @param width Number of columns */ constructor({ height, width }: { height: number; width: number; }, children: Widget[]); static fromJSON(json: { height: number; width: number; children: any[]; }): GridLayout; }