/** * DOCX Writers - Run Properties & Run Content * * Renders w:rPr and run-level content (w:t, w:br, w:tab, w:drawing, etc.) */ import type { XmlSink } from "../../xml/types.js"; import type { RunProperties, Run, Shading, Border } from "../types.js"; import type { RenderHelpers } from "./render-context.js"; /** Render a single border element. */ export declare function renderBorderElement(xml: XmlSink, tagName: string, border: Border): void; /** Render w:rPr (run properties). Element order follows ECMA-376 CT_RPr schema. */ export declare function renderRunProperties(xml: XmlSink, rPr: RunProperties, insidePropertyChange?: boolean): void; /** * Render the **contents** of a w:rPr element (without the w:rPr wrapper). * * Use this when you need to inject additional siblings (like w:ins/w:del for * paragraph mark revisions) into the same w:rPr element. Otherwise prefer * {@link renderRunProperties} which manages the wrapper for you. */ export declare function renderRunPropertiesContents(xml: XmlSink, rPr: RunProperties, insidePropertyChange?: boolean): void; /** Render w:shd element. */ export declare function renderShading(xml: XmlSink, shd: Shading): void; /** Render a w:r element. */ export declare function renderRun(xml: XmlSink, run: Run, helpers?: RenderHelpers): void;