/** CSS px from docx half-points (96 DPI reference). */ export declare function halfPointsToPx(halfPoints: number): number; export interface TextMeasureOptions { bold?: boolean; /** Font size in half-points; defaults to body size. */ fontSizeHalfPoints?: number; } /** * Estimate rendered text width for Arial-like sans-serif prose using per-class * glyph advances (flat per-char averages overestimate spaces and narrow glyphs, * skewing column-width distribution). */ export declare function estimateTextWidthPx(text: string, options?: TextMeasureOptions): number; export declare function estimateTextWidthTwips(text: string, options?: TextMeasureOptions): number; /** Minimum content width for empty or very short cells/items. */ export declare function minContentWidthTwips(minPx?: number): number; //# sourceMappingURL=text-metrics.d.ts.map