/// import { BoundingBox, Context, Element } from "../base"; import { FontStyle } from "../utils"; /** * `Paragraph` is essentially a paragraph. */ export declare class Paragraph implements Element { private text; private style; /** * Create a new paragraph element. * @param text string to be written * @param style font and color to use. Note that the font and font * size affect the `real` width and height of the text element */ constructor(text: string, style?: FontStyle); protected textOptions(box: BoundingBox): PDFKit.Mixins.TextOptions; width(context: Context, box: BoundingBox): number; height(context: Context, box: BoundingBox): number; draw(context: Context, box: BoundingBox): void; }