import { BoundingBox, Context, Element } from "../../base"; import { Block } from "../block"; /** * This is like a normal `Block` but with its width sourced from * its children */ export declare class FlexBlock extends Block { protected elements: Element[]; /** * Create a new block layout. * @param elements list of elements to layout */ constructor(elements: Element[]); width(context: Context, box: BoundingBox): number; boxes(context: Context, box: BoundingBox): BoundingBox[]; }