/** * DOCX reader — header watermark detection. * * Watermarks are stored as a VML shape inside the first `` of a header * part. We detect them by walking the header XML tree looking for a shape * whose id contains "WaterMark"; the surrounding header content is parsed * by the regular header-content parser. * * Self-contained — no dependency on the body parser, so it lives in its * own file to keep `docx-reader.ts` focused on package orchestration. */ import type { XmlElement } from "../../xml/types.js"; import type { Watermark } from "../types.js"; /** Detect a watermark shape inside a header XML root, if present. */ export declare function detectWatermarkFromRoot(root: XmlElement): Watermark | undefined;