import type { InlineImage, WatermarkSpec } from './inline-model.js'; import { type XmlDocument, type XmlElement } from './xml.js'; export declare const WATERMARK_PREFIX = "PowerPlusWaterMarkObject"; export declare const DEFAULT_WATERMARK_COLOR = "#c0c0c0"; /** The watermark a `v:shape` describes, or undefined when it is not a Word text watermark. */ export declare function parseWatermarkShape(shape: XmlElement | undefined): InlineImage | undefined; /** The shape's size in points: text-length driven, as Word fits the text to the shape. */ export declare function watermarkSizePt(spec: WatermarkSpec): { width: number; height: number; }; /** A `w:r` holding Word's text-watermark VML for `spec`, with a unique shape id. */ export declare function buildWatermarkRun(doc: XmlDocument, spec: WatermarkSpec, uniqueId: string): XmlElement; //# sourceMappingURL=watermark.d.ts.map