import type { PageData } from '../format/document.js'; /** * Normalizes the supported fixed color forms to one renderer-safe CSS value. * Empty or non-color values disable the monochrome override. */ export declare function normalizeMonochromeColor(value: string | undefined): string | undefined; /** * Returns a page view with vector/text/material colors replaced while keeping * geometry, line weights, source diagnostics, images and source objects intact. */ export declare function createMonochromePage(page: PageData, color: string): PageData; /** * Rewrites only direct XPS color attributes. Resource references and image * brushes are left untouched; referenced SolidColorBrush/GradientStop colors * are rewritten when their XML resource part is read. */ export declare function applyXpsMonochromeXml(xml: string, color: string): string; /** Preserves source brush alpha and combines it with an optional target alpha. */ export declare function monochromeColorWithAlpha(color: string, sourceColor?: string): string;