import { BoundingBox, Context, Element } from "../base"; /** * This arranges all it's element on a vertical line using the width * of its bounding box. */ export declare class Block implements Element { protected elements: Element[]; /** * Create a new block layout. * @param elements list of elements to layout */ constructor(elements: Element[]); width(_context: Context, box: BoundingBox): number; height(context: Context, box: BoundingBox): number; draw(context: Context, box: BoundingBox): void; protected boxes(context: Context, box: BoundingBox): BoundingBox[]; }