import type { InlineImage } from './model.js'; import { type XmlDocument, type XmlElement } from './xml.js'; export declare const SHAPE_GRAPHIC_URI = "http://schemas.microsoft.com/office/word/2010/wordprocessingShape"; /** A new inline text box drawing with `image.textBoxText` as its paragraphs. */ export declare function buildTextBoxDrawing(doc: XmlDocument, image: InlineImage, docPrId: string): XmlElement; /** * Whether a text box is the simple form this module writes: not floating, with paragraphs that hold * only plain runs of text. Such a box can have its text, size and outline edited without losing XML. */ export declare function isSimpleTextBox(graphicData: XmlElement | undefined, anchored: boolean): boolean; /** Whether the shape draws an outline (`a:ln` that is not `a:noFill`). */ export declare function textBoxHasBorder(graphicData: XmlElement | undefined): boolean; /** Applies edited text, size and outline to an existing simple text box drawing in place. */ export declare function patchTextBox(doc: XmlDocument, drawing: XmlElement, image: InlineImage, base: InlineImage): void; //# sourceMappingURL=write-text-box.d.ts.map