export declare function replaceThemePresetsWithInlineStyles(htmlContent: string, shouldPreserveStyles?: boolean): string; /** * Converts a measurement value to pixels. * If the value is a number, it's assumed to be in pixels. * If it's a string, it must include a Gotenberg-supported unit (mm, cm, in, px, pt, pc). * Supports both comma and period as decimal separators (e.g., "10.5mm" or "10,5mm"). * * @param value - Number in pixels or string with unit (e.g., "1000mm", "100,5cm", "4.5in", "96px", "72pt", "6pc") * @returns Value in pixels */ export declare function convertToPixels(value: number | string | undefined): number | undefined; /** * Formats a dimension value for Gotenberg PDF conversion. * If the value is a string with Gotenberg-supported units (mm, cm, in, px, pt, pc), normalizes it to use period as decimal separator. * If it's a number, appends "px" since the convention is that numbers represent pixels. * Supports both comma and period as decimal separators (e.g., "10.5mm" or "10,5mm"). * * Gotenberg supports: 72pt, 96px, 1in, 25.4mm, 2.54cm, or 6pc. Default unit is inches if unspecified. * * @param value - Number in pixels or string with unit (e.g., "1000mm", "100,5cm", "4.5in", "96px", "72pt", "6pc") * @returns Formatted value for Gotenberg (e.g., "1000mm", "10.5cm", "4in", "96px", "72pt", "6pc") or undefined */ export declare function formatDimensionForGotenberg(value: number | string | undefined): string | undefined;