import type { jsPDF as JsPdf } from 'jspdf'; import type { WorkPdfPageBounds } from './work-pdf-text-layer'; /** One alt-text figure candidate in page-local CSS pixels. */ export interface WorkPdfFigureBox { alt: string; height: number; width: number; x: number; y: number; } /** * Collects visible `img` elements with non-empty `alt` or `title` inside page * bounds. Decorative images without alt/title are omitted (fail soft). Not a * PDF/UA certification claim. */ export declare function collectWorkPdfFigureBoxes(root: ParentNode, page: WorkPdfPageBounds): WorkPdfFigureBox[]; /** * Registers `/Figure` StructElems for collected alt-text images on the current * PDF page. Raster paint already embeds the pixels; this deepens the tagged * tree without claiming PDF/UA certification. */ export declare function appendWorkPdfFigureStructEntries(pdf: JsPdf, figures: readonly WorkPdfFigureBox[]): void;