import { RunProperties } from '../core/document-model/index.js'; import { ThemeFonts } from '../core/drawingml/theme-parser.js'; /** * Parse a run-properties element (`w:rPr`, ECMA-376 Part 1 §17.3.2) into the * typed {@link RunProperties}. Reads the character formatting the renderer needs: * style reference, bold/italic/strike toggles, underline style, size, colour, * font family map, vertical alignment, RTL, and language; sizes convert from * half-points to points and colours normalize to uppercase hex. * * @param rPr The flat-tree `w:rPr` element (or `undefined`/non-element). * @param themeFonts The document theme's font scheme, for the fonts a run names * by slot rather than by name (§17.3.2.26 `w:asciiTheme`). * @returns The parsed properties; an empty object when `rPr` is absent. */ export declare function parseRunProperties(rPr: unknown, themeFonts?: ThemeFonts): RunProperties;