import { r as MathMlNode$1 } from "./nodes-jrlUmrNs.js"; import { t as OmmlWriteResult } from "./write-qKlz1R0J.js"; import { XmlElement, XmlNode } from "ooxml.js"; import { Alignment, Box, Color } from "document-schema.js"; //#region src/edit/pptx/shape.d.ts declare const ROTATION_UNITS_PER_DEGREE = 60000; declare class PptxShape { private readonly container; private readonly node; private removed; constructor(container: XmlNode[], node: XmlElement); private live; private spPrElement; private cNvPrElement; private bodyPrElement; get name(): string | undefined; set name(value: string | undefined); get insetLeftPt(): number | undefined; set insetLeftPt(value: number | undefined); get insetTopPt(): number | undefined; set insetTopPt(value: number | undefined); get insetRightPt(): number | undefined; set insetRightPt(value: number | undefined); get insetBottomPt(): number | undefined; set insetBottomPt(value: number | undefined); private readInsetPt; private writeInsetPt; get frame(): Box | undefined; set frame(value: Box); get rotationDeg(): number | undefined; set rotationDeg(value: number | undefined); get text(): string; set text(value: string); setParagraphs(paragraphs: readonly DrawingParagraphInit[]): void; appendOfficeMath(mathml: readonly MathMlNode$1[]): OmmlWriteResult & { readonly written: boolean; }; remove(): void; } interface DrawingRunInit { readonly text: string; readonly bold?: boolean; readonly italic?: boolean; readonly underline?: boolean; readonly strike?: boolean; readonly fontFamily?: string; readonly sizePt?: number; readonly color?: Color; readonly hyperlinkRId?: string; } interface DrawingParagraphInit { readonly runs: readonly DrawingRunInit[]; readonly alignment?: Alignment; readonly spacingBeforePt?: number; readonly spacingAfterPt?: number; readonly lineSpacing?: number; readonly indentLeftPt?: number; readonly indentFirstLinePt?: number; } declare function buildDrawingParagraph(init: DrawingParagraphInit): XmlElement; declare function buildTextBoxShape(frame: Box, text: string, shapeId: number): XmlElement; declare function buildPictureShape(frame: Box, relationshipId: string, shapeId: number, altText?: string): XmlElement; //#endregion export { buildDrawingParagraph as a, ROTATION_UNITS_PER_DEGREE as i, DrawingRunInit as n, buildPictureShape as o, PptxShape as r, buildTextBoxShape as s, DrawingParagraphInit as t };