modern-pdf-lib 0.28.1 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +10 -7
  2. package/dist/browser.cjs +31 -3
  3. package/dist/browser.d.cts +5 -5
  4. package/dist/browser.d.mts +5 -5
  5. package/dist/browser.mjs +4 -4
  6. package/dist/{compressionAnalysis-InMeGrqw.d.mts → compressionAnalysis-0m5jJG1_.d.mts} +2 -2
  7. package/dist/{compressionAnalysis-CyBVhRU5.d.cts.map → compressionAnalysis-0m5jJG1_.d.mts.map} +1 -1
  8. package/dist/{compressionAnalysis-CyBVhRU5.d.cts → compressionAnalysis-CSBcmi0_.d.cts} +2 -2
  9. package/dist/{compressionAnalysis-InMeGrqw.d.mts.map → compressionAnalysis-CSBcmi0_.d.cts.map} +1 -1
  10. package/dist/create.cjs +2 -2
  11. package/dist/create.d.cts +2 -2
  12. package/dist/create.d.mts +2 -2
  13. package/dist/create.mjs +2 -2
  14. package/dist/{fontEmbed-N-VWoZ0F.d.mts → fontEmbed-Bzv89wgp.d.mts} +2 -2
  15. package/dist/{fontEmbed-DxtdZxUj.d.cts.map → fontEmbed-Bzv89wgp.d.mts.map} +1 -1
  16. package/dist/{fontEmbed-DxtdZxUj.d.cts → fontEmbed-Dwl1XeEA.d.cts} +2 -2
  17. package/dist/{fontEmbed-N-VWoZ0F.d.mts.map → fontEmbed-Dwl1XeEA.d.cts.map} +1 -1
  18. package/dist/{index-_Onej9Wy.d.cts → index-BJ4KxqDL.d.cts} +807 -68
  19. package/dist/index-BJ4KxqDL.d.cts.map +1 -0
  20. package/dist/{index-5Fv1-Z-p.d.mts → index-CERay5r2.d.mts} +807 -68
  21. package/dist/index-CERay5r2.d.mts.map +1 -0
  22. package/dist/index.cjs +31 -3
  23. package/dist/index.d.cts +5 -5
  24. package/dist/index.d.mts +5 -5
  25. package/dist/index.mjs +4 -4
  26. package/dist/{layout-DiO_3JLh.cjs → layout-BYXpcYtC.cjs} +2 -2
  27. package/dist/{layout-D035GpU8.mjs → layout-xOcesNCh.mjs} +2 -2
  28. package/dist/parse.cjs +1 -1
  29. package/dist/parse.d.cts +2 -2
  30. package/dist/parse.d.mts +2 -2
  31. package/dist/parse.mjs +1 -1
  32. package/dist/{pdfDocument-5Do0LKQh.d.cts → pdfDocument-B-8iPl_j.d.mts} +85 -3
  33. package/dist/pdfDocument-B-8iPl_j.d.mts.map +1 -0
  34. package/dist/{pdfDocument-B_0VSUHL.d.mts → pdfDocument-B8tQcZqj.d.cts} +85 -3
  35. package/dist/pdfDocument-B8tQcZqj.d.cts.map +1 -0
  36. package/dist/{pdfDocument-BaQlOkYr.cjs → pdfDocument-Bh4ebDqE.cjs} +41 -2
  37. package/dist/{pdfDocument-B6czyaVI.mjs → pdfDocument-Cgkkk8F8.mjs} +41 -2
  38. package/dist/{src-vNbsqoIy.cjs → src-Tb7wHOKz.cjs} +2764 -18
  39. package/dist/{src-BOzRFaEE.mjs → src-s9zNsZAT.mjs} +2599 -21
  40. package/package.json +3 -2
  41. package/dist/index-5Fv1-Z-p.d.mts.map +0 -1
  42. package/dist/index-_Onej9Wy.d.cts.map +0 -1
  43. package/dist/pdfDocument-5Do0LKQh.d.cts.map +0 -1
  44. package/dist/pdfDocument-B_0VSUHL.d.mts.map +0 -1
@@ -1,8 +1,8 @@
1
- import { $ as formatPdfDate, $n as translate, $t as applyRedactions, A as OutlineDestination, An as StructureType, Ar as setStrokingColor, At as QrCodeMatrix, B as EncryptOptions, Bn as Radians, Bt as RadialGradientOptions, C as VisibleSignatureOptions, Cn as annotationFromDict, Cr as setFillColorRgb, Ct as TableColumn, D as ViewerPreferences, Dn as PdfStructureElement, Dr as setStrokeColorGray, Dt as renderMultiPageTable, E as PdfViewerPreferences, En as AccessibilityIssue, Er as setStrokeColorCmyk, Et as TextRun, F as loadPdf, Fn as ParseSpeeds, Ft as GradientFill, G as CatalogOptions, Gn as radiansToDegrees, Gt as radialGradient, H as PdfPermissionFlags, Hn as degrees, Ht as buildGradientObjects, I as PdfSaveOptions, In as TextAlignment$1, It as LinearGradientOptions, J as PageEntry, Jn as rotationMatrix, Jt as EmbedPageOptions, K as DocumentMetadata, Kn as restoreState, Kt as tilingPattern, L as PdfWriter, Ln as TextRenderingMode, Lt as NormalizedStop, M as PdfOutlineItem, Mn as ImageAlignment, Mr as spotResourceName, Mt as encodeQrCode, N as PdfOutlineTree, Nn as LineCapStyle, Nt as qrCodeToOperators, O as buildViewerPreferencesDict, On as PdfStructureTree, Or as setStrokeColorRgb, Ot as renderTable, P as LoadPdfOptions, Pn as LineJoinStyle, Pt as ColorStop, Q as buildPageTree, Qn as skew, Qt as RedactionOptions, R as serializePdf, Rn as Angle, Rt as PatternFill, S as SignOptions, Sn as PdfAnnotation, Sr as setFillColorGray, St as TableCell, T as signPdf, Tn as createAnnotation, Tr as setStrokeColor, Tt as TableRow, U as decodePermissions, Un as degreesToRadians, Ut as buildPatternObjects, V as PdfEncryptionHandler, Vn as concatMatrix, Vt as TilingPatternOptions, W as encodePermissions, Wn as radians, Wt as linearGradient, X as buildDocumentStructure, Xn as scale, Xt as embedPageAsFormXObject, Y as buildCatalog, Yn as saveState, Yt as EmbeddedPdfPage, Z as buildInfoDict, Zn as setGraphicsState, Zt as RedactionMark, _ as EmbeddedFile, _n as parseSvgPath, _r as rgb, _t as CellContent, a as StandardFonts, an as endLayerContent, ar as SpotColor, at as DrawRectangleOptions, b as getAttachments, bn as AnnotationOptions, br as setFillColor, bt as NestedTableContent, c as PdfPluginManager, cn as svgToPdfOperators, cr as cmyk, ct as DrawTextOptions, d as SignatureVerificationResult, dn as SvgGradient, dr as colorToHex, dt as PageSize, en as getRedactionMarks, er as CmykColor, et as DrawCircleOptions, f as verifySignature, fn as SvgGradientStop, fr as componentsToColor, ft as PageSizes, g as addWatermarkToPage, gn as parseSvgColor, gr as hexToColor, gt as TransparencyGroupOptions, h as addWatermark, hn as parseSvg, hr as grayscale, ht as SoftMaskRef, i as StandardFontName, in as beginLayerContent, ir as RgbColor, it as DrawQrCodeOptions, j as OutlineItemOptions, jn as BlendMode, jr as spotColor, jt as QrCodeOptions, k as parseViewerPreferences, kn as StructureElementOptions, kr as setStrokeColorSpace, kt as ErrorCorrectionLevel, l as PluginDocument, ln as SvgDrawCommand, lr as cmykToRgb, lt as FontRef, m as WatermarkOptions, mn as interpolateLinearRgb, mr as deviceNResourceName, mt as SoftMaskBuilder, n as PdfDocument, nn as PdfLayer, nr as DeviceNColor, nt as DrawImageOptions, o as createPdf, on as SvgRenderOptions, or as applyFillColor, ot as DrawSquareOptions, p as verifySignatures, pn as applySpreadMethod, pr as deviceNColor, pt as PdfPage, q as DocumentStructure, qn as rotate, qt as DrawPageOptions, r as SetTitleOptions, rn as PdfLayerManager, rr as GrayscaleColor, rt as DrawLineOptions, s as PdfPlugin, sn as drawSvgOnPage, sr as applyStrokeColor, st as DrawSvgPathOptions, t as EmbedFontOptions, tn as markForRedaction, tr as Color, tt as DrawEllipseOptions, u as PluginPage, un as SvgElement, ur as colorToComponents, ut as ImageRef, v as attachFile, vn as parseSvgTransform, vr as rgbToCmyk, vt as DrawTableOptions, w as getSignatures, wn as buildAnnotationDict, wr as setFillingColor, wt as TableRenderResult, x as PdfSignatureInfo, xn as AnnotationType, xr as setFillColorCmyk, xt as PageContent, y as buildEmbeddedFilesNameTree, yn as AnnotationFlags, yr as setColorSpace, yt as MultiPageTableResult, z as EncryptAlgorithm, zn as Degrees, zt as RadialGradientFill } from "./pdfDocument-B_0VSUHL.mjs";
1
+ import { $ as PageEntry, $n as rotationMatrix, $t as EmbedPageOptions, A as signPdf, An as createAnnotation, Ar as setStrokeColor, At as TableRow, B as loadPdf, Bn as ParseSpeeds, Bt as GradientFill, C as attachFile, Cn as parseSvgTransform, Cr as rgbToCmyk, Ct as DrawTableOptions, D as SignOptions, Dn as PdfAnnotation, Dr as setFillColorGray, Dt as TableCell, E as PdfSignatureInfo, En as AnnotationType, Er as setFillColorCmyk, Et as PageContent, F as OutlineDestination, Fn as StructureType, Fr as setStrokingColor, Ft as QrCodeMatrix, G as EncryptOptions, Gn as Radians, Gt as RadialGradientOptions, H as PdfWriter, Hn as TextRenderingMode, Ht as NormalizedStop, I as OutlineItemOptions, In as BlendMode, Ir as spotColor, It as QrCodeOptions, J as decodePermissions, Jn as degreesToRadians, Jt as buildPatternObjects, K as PdfEncryptionHandler, Kn as concatMatrix, Kt as TilingPatternOptions, L as PdfOutlineItem, Ln as ImageAlignment, Lr as spotResourceName, Lt as encodeQrCode, M as ViewerPreferences, Mn as PdfStructureElement, Mr as setStrokeColorGray, Mt as renderMultiPageTable, N as buildViewerPreferencesDict, Nn as PdfStructureTree, Nr as setStrokeColorRgb, Nt as renderTable, O as VisibleSignatureOptions, On as annotationFromDict, Or as setFillColorRgb, Ot as TableColumn, P as parseViewerPreferences, Pn as StructureElementOptions, Pr as setStrokeColorSpace, Pt as ErrorCorrectionLevel, Q as DocumentStructure, Qn as rotate, Qt as DrawPageOptions, R as PdfOutlineTree, Rn as LineCapStyle, Rt as qrCodeToOperators, S as EmbeddedFile, Sn as parseSvgPath, Sr as rgb, St as CellContent, T as getAttachments, Tn as AnnotationOptions, Tr as setFillColor, Tt as NestedTableContent, U as serializePdf, Un as Angle, Ut as PatternFill, V as PdfSaveOptions, Vn as TextAlignment$1, Vt as LinearGradientOptions, W as EncryptAlgorithm, Wn as Degrees, Wt as RadialGradientFill, X as CatalogOptions, Xn as radiansToDegrees, Xt as radialGradient, Y as encodePermissions, Yn as radians, Yt as linearGradient, Z as DocumentMetadata, Zn as restoreState, Zt as tilingPattern, _ as AFRelationship, _n as SvgGradientStop, _r as componentsToColor, _t as PageSizes, a as StandardFonts, an as getRedactionMarks, ar as CmykColor, at as DrawCircleOptions, b as buildAfArray, bn as parseSvg, br as grayscale, bt as SoftMaskRef, c as PdfPluginManager, cn as PdfLayerManager, cr as GrayscaleColor, ct as DrawLineOptions, d as SignatureVerificationResult, dn as SvgRenderOptions, dr as applyFillColor, dt as DrawSquareOptions, en as EmbeddedPdfPage, er as saveState, et as buildCatalog, f as verifySignature, fn as drawSvgOnPage, fr as applyStrokeColor, ft as DrawSvgPathOptions, g as addWatermarkToPage, gn as SvgGradient, gr as colorToHex, gt as PageSize, h as addWatermark, hn as SvgElement, hr as colorToComponents, ht as ImageRef, i as StandardFontName, in as applyRedactions, ir as translate, it as formatPdfDate, j as PdfViewerPreferences, jn as AccessibilityIssue, jr as setStrokeColorCmyk, jt as TextRun, k as getSignatures, kn as buildAnnotationDict, kr as setFillingColor, kt as TableRenderResult, l as PluginDocument, ln as beginLayerContent, lr as RgbColor, lt as DrawQrCodeOptions, m as WatermarkOptions, mn as SvgDrawCommand, mr as cmykToRgb, mt as FontRef, n as PdfDocument, nn as RedactionMark, nr as setGraphicsState, nt as buildInfoDict, o as createPdf, on as markForRedaction, or as Color, ot as DrawEllipseOptions, p as verifySignatures, pn as svgToPdfOperators, pr as cmyk, pt as DrawTextOptions, q as PdfPermissionFlags, qn as degrees, qt as buildGradientObjects, r as SetTitleOptions, rn as RedactionOptions, rr as skew, rt as buildPageTree, s as PdfPlugin, sn as PdfLayer, sr as DeviceNColor, st as DrawImageOptions, t as EmbedFontOptions, tn as embedPageAsFormXObject, tr as scale, tt as buildDocumentStructure, u as PluginPage, un as endLayerContent, ur as SpotColor, ut as DrawRectangleOptions, v as AssociatedFileOptions, vn as applySpreadMethod, vr as deviceNColor, vt as PdfPage, w as buildEmbeddedFilesNameTree, wn as AnnotationFlags, wr as setColorSpace, wt as MultiPageTableResult, x as createAssociatedFile, xn as parseSvgColor, xr as hexToColor, xt as TransparencyGroupOptions, y as AssociatedFileResult, yn as interpolateLinearRgb, yr as deviceNResourceName, yt as SoftMaskBuilder, z as LoadPdfOptions, zn as LineJoinStyle, zt as ColorStop } from "./pdfDocument-B-8iPl_j.mjs";
2
2
  import { C as PdfRef, E as RegistryEntry, S as PdfObjectRegistry, T as PdfString, _ as PdfDict, a as PdfListboxField, b as PdfNumber, c as PdfCheckboxField, d as FieldType, f as PdfField, g as PdfBool, h as PdfArray, i as PdfButtonField, l as PdfTextField, m as ByteWriter, n as RefResolver, o as PdfDropdownField, p as WidgetAnnotationHost, r as PdfSignatureField, s as PdfRadioGroup, t as PdfForm, u as FieldFlags, v as PdfName, w as PdfStream, x as PdfObject, y as PdfNull } from "./pdfForm-Ca86NDWn.mjs";
3
- import { A as movePage, B as asPdfName, C as copyPages, D as cropPage, E as CropBox, F as rotateAllPages, I as rotatePage, L as asNumber, M as removePages, N as resizePage, O as getPageSize, P as reversePages, R as asPDFName, S as PageRange, T as splitPdf, V as asPdfNumber, _ as LayoutSinglelineResult, a as FontEmbeddingResult, b as layoutMultilineText, c as SubsetCmap, d as extractMetrics, f as ComputeFontSizeOptions, g as LayoutSinglelineOptions, h as LayoutMultilineResult, i as FontDescriptorData, j as removePage, k as insertPage, l as SubsetResult, m as LayoutMultilineOptions, n as CIDSystemInfoData, o as Type0FontData, p as LayoutCombedOptions, r as EmbeddedFont, s as WidthEntry, t as CIDFontData, u as FontMetrics, v as computeFontSize, w as mergePdfs, x as layoutSinglelineText, y as layoutCombedText, z as asPDFNumber } from "./fontEmbed-N-VWoZ0F.mjs";
3
+ import { A as movePage, B as asPdfName, C as copyPages, D as cropPage, E as CropBox, F as rotateAllPages, I as rotatePage, L as asNumber, M as removePages, N as resizePage, O as getPageSize, P as reversePages, R as asPDFName, S as PageRange, T as splitPdf, V as asPdfNumber, _ as LayoutSinglelineResult, a as FontEmbeddingResult, b as layoutMultilineText, c as SubsetCmap, d as extractMetrics, f as ComputeFontSizeOptions, g as LayoutSinglelineOptions, h as LayoutMultilineResult, i as FontDescriptorData, j as removePage, k as insertPage, l as SubsetResult, m as LayoutMultilineOptions, n as CIDSystemInfoData, o as Type0FontData, p as LayoutCombedOptions, r as EmbeddedFont, s as WidthEntry, t as CIDFontData, u as FontMetrics, v as computeFontSize, w as mergePdfs, x as layoutSinglelineText, y as layoutCombedText, z as asPDFNumber } from "./fontEmbed-Bzv89wgp.mjs";
4
4
  import { a as ListboxAppearanceOptions, c as TextAppearanceOptions, d as generateDropdownAppearance, f as generateListboxAppearance, h as generateTextAppearance, i as DropdownAppearanceOptions, l as generateButtonAppearance, m as generateSignatureAppearance, n as ButtonAppearanceOptions, o as RadioAppearanceOptions, p as generateRadioAppearance, r as CheckboxAppearanceOptions, s as SignatureAppearanceOptions, t as AppearanceProviderFor, u as generateCheckboxAppearance } from "./fieldAppearance-_CZdoUCD.mjs";
5
- import { _ as parseContentStream, a as ImageInfo, c as PdfParseError, d as TextExtractionOptions, f as TextItem, g as Operand, h as ContentStreamOperator, i as analyzeImages, l as formatHexContext, m as extractTextWithPositions, n as AnalyzeImagesOptions, o as decodeImageStream, p as extractText, r as ImageAnalysis, s as extractImages, t as AnalysisReport, u as decodeStream } from "./compressionAnalysis-InMeGrqw.mjs";
5
+ import { _ as parseContentStream, a as ImageInfo, c as PdfParseError, d as TextExtractionOptions, f as TextItem$1, g as Operand, h as ContentStreamOperator, i as analyzeImages, l as formatHexContext, m as extractTextWithPositions, n as AnalyzeImagesOptions, o as decodeImageStream, p as extractText, r as ImageAnalysis, s as extractImages$1, t as AnalysisReport, u as decodeStream } from "./compressionAnalysis-0m5jJG1_.mjs";
6
6
 
7
7
  //#region \0rolldown/runtime.js
8
8
  //#endregion
@@ -2008,7 +2008,7 @@ interface SearchOptions {
2008
2008
  * @param options - Case-sensitivity / whole-word options (string queries).
2009
2009
  * @returns The matches in document order.
2010
2010
  */
2011
- declare function searchTextItems(items: readonly TextItem[], query: string | RegExp, options?: SearchOptions): TextMatch[];
2011
+ declare function searchTextItems(items: readonly TextItem$1[], query: string | RegExp, options?: SearchOptions): TextMatch[];
2012
2012
  //#endregion
2013
2013
  //#region src/parser/jpeg2000Decode.d.ts
2014
2014
  /**
@@ -4268,61 +4268,6 @@ declare function parseXmpMetadata(xmp: string): ParsedXmpMetadata;
4268
4268
  */
4269
4269
  declare function validateXmpMetadata(pdfBytes: Uint8Array, level: string): XmpValidationResult;
4270
4270
  //#endregion
4271
- //#region src/compliance/associatedFiles.d.ts
4272
- /** Relationship type for associated files (PDF 2.0 / PDF/A-3). */
4273
- type AFRelationship = "Source" | "Data" | "Alternative" | "Supplement" | "EncryptedPayload" | "FormData" | "Schema" | "Unspecified";
4274
- /** Options for creating an associated file entry. */
4275
- interface AssociatedFileOptions {
4276
- /** The file data bytes. */
4277
- readonly data: Uint8Array;
4278
- /** The filename. */
4279
- readonly filename: string;
4280
- /** MIME type of the file (e.g. `"text/xml"`, `"application/pdf"`). */
4281
- readonly mimeType: string;
4282
- /** Relationship to the PDF document. */
4283
- readonly relationship: AFRelationship;
4284
- /** Optional description of the file. */
4285
- readonly description?: string | undefined;
4286
- /** Optional creation date (ISO 8601 string, stored as PDF date). */
4287
- readonly creationDate?: string | undefined;
4288
- /** Optional modification date (ISO 8601 string, stored as PDF date). */
4289
- readonly modificationDate?: string | undefined;
4290
- }
4291
- /** Result of creating an associated file. */
4292
- interface AssociatedFileResult {
4293
- /** Reference to the file specification dictionary. */
4294
- readonly fileSpecRef: PdfRef;
4295
- /** Reference to the embedded file stream. */
4296
- readonly streamRef: PdfRef;
4297
- }
4298
- /**
4299
- * Create a PDF/A-3 compliant associated file entry.
4300
- *
4301
- * Creates:
4302
- * 1. An embedded file stream with the data
4303
- * 2. A file specification dictionary with /AFRelationship
4304
- *
4305
- * The caller is responsible for adding the `fileSpecRef` to the
4306
- * catalog's /AF array and /Names/EmbeddedFiles name tree.
4307
- *
4308
- * @param registry The PDF object registry.
4309
- * @param options Associated file configuration.
4310
- * @returns References to the created objects.
4311
- */
4312
- declare function createAssociatedFile(registry: PdfObjectRegistry, options: AssociatedFileOptions): AssociatedFileResult;
4313
- /**
4314
- * Build an /AF array from multiple associated file specification references.
4315
- *
4316
- * The returned array should be set on the catalog dictionary:
4317
- * ```ts
4318
- * catalogDict.set('/AF', buildAfArray([ref1, ref2]));
4319
- * ```
4320
- *
4321
- * @param fileSpecRefs Indirect references to file specification dictionaries.
4322
- * @returns A PdfArray containing the references.
4323
- */
4324
- declare function buildAfArray(fileSpecRefs: PdfRef[]): PdfArray;
4325
- //#endregion
4326
4271
  //#region src/compliance/stripProhibited.d.ts
4327
4272
  /**
4328
4273
  * Strip PDF/A prohibited features from raw PDF bytes.
@@ -8164,7 +8109,7 @@ interface TableExtractOptions {
8164
8109
  * share a consistent column structure. Returns an empty array
8165
8110
  * when no table-like block is found.
8166
8111
  */
8167
- declare function extractTables(items: readonly TextItem[], options?: TableExtractOptions): ExtractedTable[];
8112
+ declare function extractTables(items: readonly TextItem$1[], options?: TableExtractOptions): ExtractedTable[];
8168
8113
  /**
8169
8114
  * Serialise a table to RFC 4180 CSV. Fields containing a comma, a double
8170
8115
  * quote or a newline are wrapped in double quotes, with embedded quotes
@@ -8589,7 +8534,7 @@ interface Line {
8589
8534
  /** The representative baseline `y` coordinate of the line. */
8590
8535
  readonly y: number;
8591
8536
  /** The source items that make up this line, sorted left-to-right. */
8592
- readonly items: readonly TextItem[];
8537
+ readonly items: readonly TextItem$1[];
8593
8538
  }
8594
8539
  /**
8595
8540
  * A reconstructed paragraph: a run of vertically-adjacent lines.
@@ -8628,7 +8573,7 @@ interface ReconstructOptions {
8628
8573
  * @param options Reconstruction options.
8629
8574
  * @returns The reconstructed lines, in reading order.
8630
8575
  */
8631
- declare function reconstructLines(items: readonly TextItem[], options?: ReconstructOptions): Line[];
8576
+ declare function reconstructLines(items: readonly TextItem$1[], options?: ReconstructOptions): Line[];
8632
8577
  /**
8633
8578
  * Group positioned text items into paragraphs.
8634
8579
  *
@@ -8640,7 +8585,7 @@ declare function reconstructLines(items: readonly TextItem[], options?: Reconstr
8640
8585
  * @param options Reconstruction options.
8641
8586
  * @returns The reconstructed paragraphs, in reading order.
8642
8587
  */
8643
- declare function reconstructParagraphs(items: readonly TextItem[], options?: ReconstructOptions): Paragraph[];
8588
+ declare function reconstructParagraphs(items: readonly TextItem$1[], options?: ReconstructOptions): Paragraph[];
8644
8589
  //#endregion
8645
8590
  //#region src/core/collections.d.ts
8646
8591
  /**
@@ -9518,7 +9463,7 @@ type VNode = {
9518
9463
  /**
9519
9464
  * Options controlling how a {@link VNode} tree is rendered to PDF.
9520
9465
  */
9521
- interface RenderOptions {
9466
+ interface RenderOptions$1 {
9522
9467
  /** Base body font size in points. Default: 12. */
9523
9468
  readonly fontSize?: number | undefined;
9524
9469
  /** Page margin in points applied on all four sides. Default: 50. */
@@ -9551,7 +9496,7 @@ declare function h(type: VNode["type"], props: Record<string, unknown>, ...child
9551
9496
  * @param options Optional layout overrides.
9552
9497
  * @returns A promise resolving to the saved PDF bytes (starting `%PDF-`).
9553
9498
  */
9554
- declare function renderToPdf(root: VNode, options?: RenderOptions): Promise<Uint8Array>;
9499
+ declare function renderToPdf(root: VNode, options?: RenderOptions$1): Promise<Uint8Array>;
9555
9500
  //#endregion
9556
9501
  //#region src/compliance/pdfVT.d.ts
9557
9502
  /**
@@ -10181,8 +10126,802 @@ declare function layoutColumns(spans: TextSpan[] | string, frame: TextFrame, col
10181
10126
  * @returns An array of results, one per frame used.
10182
10127
  */
10183
10128
  declare function layoutTextFlow(spans: TextSpan[] | string, frames: TextFrame[], options?: ParagraphOptions, measureFn?: (text: string, font: string, size: number) => number): TextLayoutResult[];
10129
+ //#endregion
10130
+ //#region src/render/matrix.d.ts
10131
+ /**
10132
+ * @module render/matrix
10133
+ *
10134
+ * 2-D affine transforms used by the content-stream interpreter and rasterizer.
10135
+ * A PDF transformation matrix is the 6-tuple `[a, b, c, d, e, f]` representing
10136
+ *
10137
+ * ```
10138
+ * | a b 0 |
10139
+ * | c d 0 |
10140
+ * | e f 1 |
10141
+ * ```
10142
+ *
10143
+ * A point `(x, y)` maps to `(a·x + c·y + e, b·x + d·y + f)` (ISO 32000-2 §8.3.4).
10144
+ *
10145
+ * @packageDocumentation
10146
+ */
10147
+ /** A 2-D affine transform as the PDF `[a, b, c, d, e, f]` 6-tuple. */
10148
+ type Matrix = readonly [number, number, number, number, number, number];
10149
+ //#endregion
10150
+ //#region src/render/displayList.d.ts
10151
+ /** An 8-bit RGBA color, each channel `0–255`. */
10152
+ type Rgba = readonly [number, number, number, number];
10153
+ /**
10154
+ * A flattened sub-path: an array of page-space coordinates as a flat
10155
+ * `[x0, y0, x1, y1, …]` polyline. Bézier curves are flattened to line segments
10156
+ * by the interpreter.
10157
+ */
10158
+ interface SubPath {
10159
+ /** Flat `[x, y, …]` page-space points. */
10160
+ readonly points: readonly number[];
10161
+ /** Whether the sub-path is closed (last point joins the first). */
10162
+ readonly closed: boolean;
10163
+ }
10164
+ /** A filled region. */
10165
+ interface FillItem {
10166
+ readonly type: "fill";
10167
+ readonly subpaths: readonly SubPath[];
10168
+ /** Winding rule (`f`/`B` → nonzero, `f*`/`B*` → evenodd). */
10169
+ readonly rule: "nonzero" | "evenodd";
10170
+ readonly color: Rgba;
10171
+ /** Constant alpha from the graphics state (`ca`), `0–1`. */
10172
+ readonly alpha: number;
10173
+ /** Active clip path (page space), if any. */
10174
+ readonly clip?: readonly SubPath[] | undefined;
10175
+ }
10176
+ /** A stroked path. */
10177
+ interface StrokeItem {
10178
+ readonly type: "stroke";
10179
+ readonly subpaths: readonly SubPath[];
10180
+ readonly color: Rgba;
10181
+ readonly alpha: number;
10182
+ /** Line width in page-space units (the user-space width × CTM scale). */
10183
+ readonly lineWidth: number;
10184
+ readonly lineCap: 0 | 1 | 2;
10185
+ readonly lineJoin: 0 | 1 | 2;
10186
+ readonly clip?: readonly SubPath[] | undefined;
10187
+ }
10188
+ /** A positioned text run (a `Tj`/`TJ`/`'`/`"` show). */
10189
+ interface TextItem {
10190
+ readonly type: "text";
10191
+ /** The decoded Unicode text (best-effort via ToUnicode / WinAnsi). */
10192
+ readonly text: string;
10193
+ /** The resource font name (e.g. `F1`), or `undefined` if unresolved. */
10194
+ readonly font: string | undefined;
10195
+ /** Font size in text-space units. */
10196
+ readonly fontSize: number;
10197
+ /** Text-space → page-space transform at the run's origin (Tm × CTM). */
10198
+ readonly transform: Matrix;
10199
+ /** Fill color (text render modes 0/2/4/6). */
10200
+ readonly color: Rgba;
10201
+ readonly alpha: number;
10202
+ /** Text rendering mode (Tr), `0–7`; `3`/`7` are invisible (§9.3.3). */
10203
+ readonly renderMode: number;
10204
+ readonly clip?: readonly SubPath[] | undefined;
10205
+ }
10206
+ /** A placed image XObject (`Do`) or inline image (`BI…EI`). */
10207
+ interface ImageItem {
10208
+ readonly type: "image";
10209
+ /** Resource XObject name, or `inline` for an inline image. */
10210
+ readonly name: string;
10211
+ /** Unit-square `(0,0)–(1,1)` → page-space placement (the CTM at `Do`). */
10212
+ readonly transform: Matrix;
10213
+ readonly alpha: number;
10214
+ readonly clip?: readonly SubPath[] | undefined;
10215
+ }
10216
+ /** Any drawable produced by the interpreter. */
10217
+ type DisplayItem = FillItem | StrokeItem | TextItem | ImageItem;
10218
+ /** The full interpreted page: drawables in paint order + page dimensions. */
10219
+ interface DisplayList {
10220
+ /** Drawables in paint order (first = painted first / bottom-most). */
10221
+ readonly items: readonly DisplayItem[];
10222
+ /** Page width in user-space units (from the crop/media box). */
10223
+ readonly width: number;
10224
+ /** Page height in user-space units. */
10225
+ readonly height: number;
10226
+ /** Page-space origin offset (crop/media box lower-left), for renderers. */
10227
+ readonly origin: readonly [number, number];
10228
+ }
10229
+ //#endregion
10230
+ //#region src/render/interpreter.d.ts
10231
+ /** Options for {@link interpretContentStream}. */
10232
+ interface InterpretOptions {
10233
+ /** Page (crop/media box) width in user-space units. */
10234
+ width: number;
10235
+ /** Page (crop/media box) height in user-space units. */
10236
+ height: number;
10237
+ /** Page-space origin (crop/media box lower-left). Default `[0, 0]`. */
10238
+ origin?: readonly [number, number] | undefined;
10239
+ /** Page `/Resources` dict, for `Do`/`Tf` resolution. */
10240
+ resources?: PdfDict | undefined;
10241
+ /** Object registry, to resolve indirect resource refs. */
10242
+ registry?: PdfObjectRegistry | undefined;
10243
+ }
10244
+ /**
10245
+ * Execute a parsed content stream into a {@link DisplayList}.
10246
+ *
10247
+ * @param operators - Output of {@link parseContentStream}.
10248
+ * @param options - Page dimensions and (optional) resources/registry.
10249
+ */
10250
+ declare function interpretContentStream(operators: readonly ContentStreamOperator[], options: InterpretOptions): DisplayList;
10251
+ /**
10252
+ * Interpret a {@link PdfPage}'s content into a {@link DisplayList}, using its
10253
+ * crop/media box for dimensions and its resources/registry for `Do`/`gs`/`Tf`
10254
+ * resolution. The entry point for {@link renderPageToImage} et al.
10255
+ */
10256
+ declare function interpretPage(page: PdfPage): DisplayList;
10257
+ //#endregion
10258
+ //#region src/render/rasterizer.d.ts
10259
+ /** Options controlling raster output. */
10260
+ interface RenderOptions {
10261
+ /** Scale factor (1 = 72 dpi / 1 px per user unit). Overrides `dpi`. */
10262
+ scale?: number | undefined;
10263
+ /** Target resolution in dots per inch (72 dpi = scale 1). */
10264
+ dpi?: number | undefined;
10265
+ /** Background fill; `'transparent'` for a transparent canvas. Default white. */
10266
+ background?: Rgba | "transparent" | undefined;
10267
+ /** Render text runs as positioned glyph boxes. Default `true`. */
10268
+ renderText?: boolean | undefined;
10269
+ /**
10270
+ * Render only a pixel sub-window of the full-scale image (for tiling huge
10271
+ * pages). `x`/`y` are the tile's top-left in full-image pixel coordinates;
10272
+ * the returned image is `width`×`height`.
10273
+ */
10274
+ region?: {
10275
+ x: number;
10276
+ y: number;
10277
+ width: number;
10278
+ height: number;
10279
+ } | undefined;
10280
+ }
10281
+ /** A raw RGBA8888 image. */
10282
+ interface RasterImage {
10283
+ readonly data: Uint8Array;
10284
+ readonly width: number;
10285
+ readonly height: number;
10286
+ }
10287
+ /** Rasterize a display list to an RGBA8888 buffer. */
10288
+ declare function rasterize(dl: DisplayList, opts?: RenderOptions): RasterImage;
10289
+ /**
10290
+ * Render a {@link PdfPage} to a PNG image.
10291
+ * @returns The PNG bytes plus pixel dimensions.
10292
+ */
10293
+ declare function renderPageToImage(page: PdfPage, opts?: RenderOptions): Promise<{
10294
+ data: Uint8Array;
10295
+ width: number;
10296
+ height: number;
10297
+ }>;
10298
+ //#endregion
10299
+ //#region src/render/canvas.d.ts
10300
+ /** The subset of the Canvas 2D context API used by the renderer. */
10301
+ interface Canvas2DLike {
10302
+ save(): void;
10303
+ restore(): void;
10304
+ beginPath(): void;
10305
+ moveTo(x: number, y: number): void;
10306
+ lineTo(x: number, y: number): void;
10307
+ closePath(): void;
10308
+ fill(rule?: "nonzero" | "evenodd"): void;
10309
+ stroke(): void;
10310
+ fillRect(x: number, y: number, w: number, h: number): void;
10311
+ fillText(text: string, x: number, y: number): void;
10312
+ fillStyle: string;
10313
+ strokeStyle: string;
10314
+ lineWidth: number;
10315
+ font: string;
10316
+ }
10317
+ /** Options for Canvas rendering. */
10318
+ interface CanvasRenderOptions {
10319
+ /** Scale (1 = 72 dpi). Overrides `dpi`. */
10320
+ scale?: number | undefined;
10321
+ /** Target dpi (72 = scale 1). */
10322
+ dpi?: number | undefined;
10323
+ /** `devicePixelRatio` to multiply into the scale (browser HiDPI). Default 1. */
10324
+ pixelRatio?: number | undefined;
10325
+ /** Font family for text runs. Default `sans-serif`. */
10326
+ fontFamily?: string | undefined;
10327
+ }
10328
+ /** Replay a display list onto a 2D context. */
10329
+ declare function renderDisplayListToCanvas(dl: DisplayList, ctx: Canvas2DLike, opts?: CanvasRenderOptions): void;
10330
+ /**
10331
+ * Render a {@link PdfPage} onto a 2D context. The context's canvas should be
10332
+ * sized to `page.width × scale` by `page.height × scale`.
10333
+ */
10334
+ declare function renderPageToCanvas(page: PdfPage, ctx: Canvas2DLike, opts?: CanvasRenderOptions): void;
10335
+ //#endregion
10336
+ //#region src/render/thumbnail.d.ts
10337
+ /** Options for {@link generateThumbnail}. */
10338
+ interface ThumbnailOptions {
10339
+ /** Longest-side length in pixels. Default 256. */
10340
+ maxSize?: number | undefined;
10341
+ /** Background fill (defaults to white via the rasterizer). */
10342
+ background?: RenderOptions["background"];
10343
+ /** Render text runs (as boxes). Default true. */
10344
+ renderText?: boolean | undefined;
10345
+ }
10346
+ /**
10347
+ * Render `page` to a thumbnail PNG whose longest side is `maxSize` pixels,
10348
+ * preserving aspect ratio.
10349
+ */
10350
+ declare function generateThumbnail(page: PdfPage, opts?: ThumbnailOptions): Promise<{
10351
+ data: Uint8Array;
10352
+ width: number;
10353
+ height: number;
10354
+ }>;
10355
+ //#endregion
10356
+ //#region src/render/imageExtract.d.ts
10357
+ /**
10358
+ * A single decoded image extracted from a page's XObject resources.
10359
+ *
10360
+ * `pixels` is interleaved, row-major, 8-bit data:
10361
+ * - RGBA (4 channels) when {@link hasAlpha} is `true`,
10362
+ * - RGB (3 channels) for colour images without alpha,
10363
+ * - grayscale (1 channel) for `/DeviceGray` images without alpha.
10364
+ */
10365
+ interface ExtractedImage {
10366
+ /** Resource name of the image XObject (without the leading slash, e.g. `Im1`). */
10367
+ name: string;
10368
+ /** Image width in pixels. */
10369
+ width: number;
10370
+ /** Image height in pixels. */
10371
+ height: number;
10372
+ /** Number of interleaved channels in {@link pixels} (1, 3, or 4). */
10373
+ channels: number;
10374
+ /** Interleaved 8-bit pixel data (RGBA, RGB, or grayscale). */
10375
+ pixels: Uint8Array;
10376
+ /** Resolved colour-space name (e.g. `DeviceRGB`, `DeviceGray`, `DeviceCMYK`, `Indexed`). */
10377
+ colorSpace: string;
10378
+ /** Bits per component of the source samples (typically `8`). */
10379
+ bitsPerComponent: number;
10380
+ /** Whether {@link pixels} includes an alpha channel (4-channel RGBA). */
10381
+ hasAlpha: boolean;
10382
+ }
10383
+ /**
10384
+ * Extract and decode all image XObjects referenced by a page.
10385
+ *
10386
+ * @param page - The page whose `/Resources /XObject` images are extracted.
10387
+ * @returns One {@link ExtractedImage} per successfully decoded image XObject.
10388
+ * Images that cannot be decoded (unsupported filters/colour spaces,
10389
+ * missing WASM, malformed data) are skipped silently.
10390
+ *
10391
+ * @example
10392
+ * ```ts
10393
+ * import { loadPdf } from 'modern-pdf-lib';
10394
+ * import { extractImages } from 'modern-pdf-lib/render';
10395
+ *
10396
+ * const doc = await loadPdf(bytes);
10397
+ * for (const img of extractImages(doc.getPage(0))) {
10398
+ * console.log(img.name, img.width, img.height, img.channels, img.hasAlpha);
10399
+ * }
10400
+ * ```
10401
+ */
10402
+ declare function extractImages(page: PdfPage): ExtractedImage[];
10403
+ //#endregion
10404
+ //#region src/render/fontExtract.d.ts
10405
+ /** The on-disk format of an embedded font program. */
10406
+ type FontFileFormat = "truetype" | "cff" | "opentype" | "type1";
10407
+ /** A single embedded font program extracted from a page. */
10408
+ interface ExtractedFont {
10409
+ /** Resource name under `/Font` (e.g. `F1`), without the leading slash. */
10410
+ resourceName: string;
10411
+ /** The `/BaseFont` PostScript name, with any leading slash stripped. */
10412
+ baseFont: string;
10413
+ /** Detected font-program format. */
10414
+ format: FontFileFormat;
10415
+ /** The standalone, filter-decoded font bytes. */
10416
+ data: Uint8Array;
10417
+ /**
10418
+ * `true` when {@link baseFont} carries a 6-uppercase-letter `+`-prefixed
10419
+ * subset tag (e.g. `ABCDEF+Helvetica`).
10420
+ */
10421
+ subset: boolean;
10422
+ }
10423
+ /**
10424
+ * Extract every embedded font program referenced by a page.
10425
+ *
10426
+ * Walks the page's original `/Resources` → `/Font` dictionary. For each
10427
+ * font that carries an embedded file (`/FontFile`, `/FontFile2`, or
10428
+ * `/FontFile3`) — directly or via a Type0 descendant — the standalone,
10429
+ * filter-decoded font bytes are returned. Standard-14 fonts with no
10430
+ * embedded file are omitted, and malformed entries are skipped silently.
10431
+ *
10432
+ * @param page The page to scan (typically from a loaded PDF).
10433
+ * @returns One {@link ExtractedFont} per embedded font program.
10434
+ *
10435
+ * @example
10436
+ * ```ts
10437
+ * const loaded = await PdfDocument.load(bytes);
10438
+ * const fonts = extractFonts(loaded.getPage(0));
10439
+ * for (const f of fonts) {
10440
+ * console.log(f.resourceName, f.baseFont, f.format, f.data.length, f.subset);
10441
+ * }
10442
+ * ```
10443
+ */
10444
+ declare function extractFonts(page: PdfPage): ExtractedFont[];
10445
+ //#endregion
10446
+ //#region src/render/diff.d.ts
10447
+ /** Result of a visual comparison. */
10448
+ interface DiffResult {
10449
+ readonly width: number;
10450
+ readonly height: number;
10451
+ /** Number of pixels whose max channel difference exceeds the threshold. */
10452
+ readonly changedPixels: number;
10453
+ /** `changedPixels / (width·height)`. */
10454
+ readonly changedRatio: number;
10455
+ /** Mean structural similarity over 8×8 luminance blocks, `0–1` (1 = identical). */
10456
+ readonly ssim: number;
10457
+ /** RGBA heatmap: changed pixels in red over a dimmed grayscale of image A. */
10458
+ readonly heatmap: Uint8Array;
10459
+ }
10460
+ /** Options for {@link compareImages}. */
10461
+ interface CompareOptions {
10462
+ /** Per-channel difference (0–255) above which a pixel counts as changed. Default 16. */
10463
+ threshold?: number | undefined;
10464
+ }
10465
+ /** Compare two equally-sized raster images. */
10466
+ declare function compareImages(a: RasterImage, b: RasterImage, opts?: CompareOptions): DiffResult;
10467
+ /** Rasterize two pages at the same scale and compare them. */
10468
+ declare function comparePages(pageA: PdfPage, pageB: PdfPage, opts?: RenderOptions & CompareOptions): Promise<DiffResult>;
10469
+ //#endregion
10470
+ //#region src/render/ocr.d.ts
10471
+ /**
10472
+ * A single recognized word with its bounding box in **page space**.
10473
+ *
10474
+ * Coordinates follow the PDF convention: the origin is the lower-left corner
10475
+ * of the page and the y-axis points up. `x`/`y` are the lower-left corner of
10476
+ * the word box; `width`/`height` are its extent in page units (points).
10477
+ */
10478
+ interface OcrWord {
10479
+ /** The recognized text of the word. */
10480
+ text: string;
10481
+ /** X coordinate of the word box's lower-left corner, in page units. */
10482
+ x: number;
10483
+ /** Y coordinate of the word box's lower-left corner (y-up), in page units. */
10484
+ y: number;
10485
+ /** Width of the word box, in page units. */
10486
+ width: number;
10487
+ /** Height of the word box, in page units. */
10488
+ height: number;
10489
+ }
10490
+ /**
10491
+ * A pluggable OCR backend.
10492
+ *
10493
+ * Implementations receive an interleaved 8-bit RGBA bitmap of the rasterized
10494
+ * page (row-major, top-to-bottom, `width * height * 4` bytes) and return the
10495
+ * recognized words with **page-space** bounding boxes (see {@link OcrWord}).
10496
+ */
10497
+ interface OcrEngine {
10498
+ /**
10499
+ * Recognize text in a rasterized page.
10500
+ *
10501
+ * @param rgba Interleaved RGBA8888 pixels (`width * height * 4` bytes).
10502
+ * @param width Bitmap width in pixels.
10503
+ * @param height Bitmap height in pixels.
10504
+ * @returns The recognized words, with page-space boxes.
10505
+ */
10506
+ recognize(rgba: Uint8Array, width: number, height: number): Promise<OcrWord[]>;
10507
+ }
10508
+ /** Options controlling {@link applyOcr}. */
10509
+ interface ApplyOcrOptions {
10510
+ /**
10511
+ * Rasterization resolution handed to the engine, in dots per inch.
10512
+ * Higher values give the OCR engine more detail at the cost of memory.
10513
+ * Default: `150`.
10514
+ */
10515
+ dpi?: number | undefined;
10516
+ /**
10517
+ * Resource name to use for the invisible overlay font. A standard
10518
+ * Helvetica Type 1 font is embedded under this name if it is not already
10519
+ * present. Default: `'OCRFont'`.
10520
+ */
10521
+ fontResourceName?: string | undefined;
10522
+ }
10523
+ /**
10524
+ * Run OCR on a page and append the recognized text as an invisible,
10525
+ * selectable/searchable overlay.
10526
+ *
10527
+ * The page is rasterized to RGBA at `opts.dpi`, passed to `engine.recognize`,
10528
+ * and each returned word is written back as a content-stream fragment:
10529
+ *
10530
+ * ```text
10531
+ * BT 3 Tr /<font> <size> Tf <x> <y> Td (<escaped text>) Tj ET
10532
+ * ```
10533
+ *
10534
+ * where `<size> ≈ word.height` and `<x> <y>` is the word's lower-left corner
10535
+ * in page space. Render mode `3` makes the text invisible (no fill, no
10536
+ * stroke) while keeping it part of the document's text content.
10537
+ *
10538
+ * @param page The page to OCR and annotate.
10539
+ * @param engine The OCR backend.
10540
+ * @param opts Optional DPI and font-resource overrides.
10541
+ * @returns The words returned by the engine (unmodified).
10542
+ */
10543
+ declare function applyOcr(page: PdfPage, engine: OcrEngine, opts?: ApplyOcrOptions): Promise<OcrWord[]>;
10544
+ //#endregion
10545
+ //#region src/render/redactContent.d.ts
10546
+ /** A rectangular region to redact, in page space (PDF points, y-up, lower-left origin). */
10547
+ interface RedactRect {
10548
+ /** X coordinate of the lower-left corner. */
10549
+ x: number;
10550
+ /** Y coordinate of the lower-left corner. */
10551
+ y: number;
10552
+ /** Width of the region (must be > 0 to match anything). */
10553
+ width: number;
10554
+ /** Height of the region (must be > 0 to match anything). */
10555
+ height: number;
10556
+ }
10557
+ /** The outcome of a {@link redactRegions} call. */
10558
+ interface RedactResult {
10559
+ /** Number of text-showing operators removed. */
10560
+ removedText: number;
10561
+ /** Number of image (`Do`) placements removed. */
10562
+ removedImages: number;
10563
+ }
10564
+ /**
10565
+ * Permanently remove text and image content within the given regions from a
10566
+ * page (redaction by removal).
10567
+ *
10568
+ * The page's content stream is parsed, replayed through a position-tracking
10569
+ * graphics-state machine, and re-emitted with every text-showing operator and
10570
+ * image placement that falls inside any redaction rect omitted. All other
10571
+ * operators — paths, fills, colors, clips, state changes — are preserved, so
10572
+ * the surrounding page layout is left intact. The filtered content is written
10573
+ * back to the page and takes effect on the next `save()`.
10574
+ *
10575
+ * @param page The page to redact (modified in place).
10576
+ * @param rects Redaction regions in page space (PDF points, y-up).
10577
+ * @returns Counts of removed text runs and image placements.
10578
+ *
10579
+ * @example
10580
+ * ```ts
10581
+ * const result = redactRegions(page, [{ x: 0, y: 90, width: 200, height: 30 }]);
10582
+ * console.log(`Removed ${result.removedText} text runs`);
10583
+ * const bytes = await doc.save();
10584
+ * ```
10585
+ */
10586
+ declare function redactRegions(page: PdfPage, rects: RedactRect[]): RedactResult;
10587
+ //#endregion
10588
+ //#region src/render/tiles.d.ts
10589
+ /** Options for tiling. */
10590
+ interface TileOptions {
10591
+ /** Tile edge length in pixels. Default 512. */
10592
+ tileSize?: number | undefined;
10593
+ /** Scale (1 = 72 dpi). Overrides `dpi`. */
10594
+ scale?: number | undefined;
10595
+ /** Target dpi (72 = scale 1). */
10596
+ dpi?: number | undefined;
10597
+ /** Background fill. */
10598
+ background?: RenderOptions["background"];
10599
+ /** Render text runs. Default true. */
10600
+ renderText?: boolean | undefined;
10601
+ }
10602
+ /** Tile grid geometry for a page at a given scale. */
10603
+ interface TileGrid {
10604
+ readonly columns: number;
10605
+ readonly rows: number;
10606
+ readonly tileSize: number;
10607
+ readonly fullWidth: number;
10608
+ readonly fullHeight: number;
10609
+ readonly scale: number;
10610
+ }
10611
+ /** Compute the tile grid for a page. */
10612
+ declare function computeTileGrid(page: PdfPage, opts?: TileOptions): TileGrid;
10613
+ /** Render a single tile `(column, row)` of a page to an RGBA image. */
10614
+ declare function renderPageTile(page: PdfPage, column: number, row: number, opts?: TileOptions): RasterImage;
10615
+ /**
10616
+ * A simple least-recently-used cache (Map-backed). Useful for memoizing
10617
+ * interpreted display lists or rasterized tiles across renders.
10618
+ */
10619
+ declare class RenderCache<V> {
10620
+ private readonly maxEntries;
10621
+ private readonly map;
10622
+ constructor(maxEntries?: number);
10623
+ /** Number of cached entries. */
10624
+ get size(): number;
10625
+ /** Look up a value, marking it most-recently-used. */
10626
+ get(key: string): V | undefined;
10627
+ /** Whether a key is present (without affecting recency). */
10628
+ has(key: string): boolean;
10629
+ /** Insert/replace a value, evicting the LRU entry when over capacity. */
10630
+ set(key: string, value: V): void;
10631
+ /** Remove a key. */
10632
+ delete(key: string): boolean;
10633
+ /** Empty the cache. */
10634
+ clear(): void;
10635
+ }
10636
+ //#endregion
10637
+ //#region src/compliance/afAttach.d.ts
10638
+ /**
10639
+ * Attach one or more associated files to any PDF object via its `/AF` key.
10640
+ *
10641
+ * Works uniformly for the document catalog, a page dictionary, an annotation
10642
+ * dictionary, a Form/Image XObject stream's dictionary, or a structure-element
10643
+ * dictionary — all of which are plain {@link PdfDict} instances.
10644
+ *
10645
+ * If `target` has no `/AF` yet, a fresh array (built with
10646
+ * {@link buildAfArray}) is set. If `/AF` is already a {@link PdfArray}, the
10647
+ * new refs are appended to it, preserving the existing entries and order. Any
10648
+ * other (malformed) `/AF` value is replaced with a fresh array.
10649
+ *
10650
+ * @param target The object dictionary to attach the files to.
10651
+ * @param fileSpecRefs Indirect references to file-specification dictionaries.
10652
+ */
10653
+ declare function attachAssociatedFiles(target: PdfDict, fileSpecRefs: readonly PdfRef[]): void;
10654
+ /**
10655
+ * Complete {@link createAssociatedFile}'s "caller responsibility" by wiring a
10656
+ * file-specification reference into the document catalog at the *document
10657
+ * level*.
10658
+ *
10659
+ * Two things happen:
10660
+ * 1. The pair `[PdfString.literal(name), fileSpecRef]` is added to the
10661
+ * catalog's `/Names` → `/EmbeddedFiles` → `/Names` array, keeping the
10662
+ * array's name/value pairs sorted by name (as required for a name tree).
10663
+ * The intermediate dictionaries and the leaf array are created on demand
10664
+ * and reused if already present.
10665
+ * 2. `fileSpecRef` is added to the catalog's `/AF` array (via
10666
+ * {@link attachAssociatedFiles}).
10667
+ *
10668
+ * @param catalog The document catalog dictionary.
10669
+ * @param name The name under which the file is registered in the tree.
10670
+ * @param fileSpecRef Indirect reference to the file-specification dictionary.
10671
+ */
10672
+ declare function registerEmbeddedFile(catalog: PdfDict, name: string, fileSpecRef: PdfRef): void;
10673
+ //#endregion
10674
+ //#region src/compliance/pageOutputIntent.d.ts
10675
+ /**
10676
+ * Attach output-intent references to a target dictionary's `/OutputIntents`
10677
+ * array.
10678
+ *
10679
+ * If the target has no `/OutputIntents` entry, a fresh {@link PdfArray} is
10680
+ * created and populated with `intentRefs`. If one already exists (and is an
10681
+ * array), the references are appended to it in order, preserving the existing
10682
+ * array instance.
10683
+ *
10684
+ * The target may be a page dictionary (for per-page intents) or a Form
10685
+ * XObject stream's dictionary (for per-stream intents).
10686
+ *
10687
+ * @param target The page or Form XObject dictionary to mutate.
10688
+ * @param intentRefs Indirect references to `/OutputIntent` dictionaries.
10689
+ */
10690
+ declare function attachOutputIntents(target: PdfDict, intentRefs: readonly PdfRef[]): void;
10691
+ /**
10692
+ * Options for a per-page / per-stream output intent.
10693
+ */
10694
+ interface PageOutputIntentOptions {
10695
+ /**
10696
+ * Custom ICC profile bytes to embed as the `/DestOutputProfile`.
10697
+ *
10698
+ * @default Built-in minimal sRGB ICC v2 profile.
10699
+ */
10700
+ iccProfile?: Uint8Array | undefined;
10701
+ /**
10702
+ * Number of colour components in the ICC profile (3 = RGB, 4 = CMYK,
10703
+ * 1 = Gray). Must match the embedded profile's colour space.
10704
+ *
10705
+ * @default 3
10706
+ */
10707
+ components?: number | undefined;
10708
+ /**
10709
+ * Formal registry identifier for the output condition (`/OutputConditionIdentifier`).
10710
+ */
10711
+ outputConditionIdentifier?: string | undefined;
10712
+ /**
10713
+ * Human-readable additional information about the intended output device,
10714
+ * stored as the optional `/Info` entry.
10715
+ */
10716
+ info?: string | undefined;
10717
+ /**
10718
+ * Output-intent subtype (`/S`). Common values are `/GTS_PDFA1` (PDF/A) and
10719
+ * `/GTS_PDFX` (PDF/X).
10720
+ *
10721
+ * @default '/GTS_PDFA1'
10722
+ */
10723
+ subtype?: string | undefined;
10724
+ }
10725
+ /**
10726
+ * Build a per-page / per-stream `/OutputIntent` dictionary and register it.
10727
+ *
10728
+ * The embedded ICC `/DestOutputProfile` is produced by reusing
10729
+ * {@link buildOutputIntent}; this builder then layers the per-page subtype
10730
+ * (`/S`), output-condition identifier and optional `/Info` string on top.
10731
+ * The resulting dictionary carries `/Type /OutputIntent` and may be attached
10732
+ * to a page or Form XObject dictionary via {@link attachOutputIntents}.
10733
+ *
10734
+ * @param registry The PDF object registry to register objects into.
10735
+ * @param options Output-intent configuration.
10736
+ * @returns An indirect reference to the `/OutputIntent` dictionary.
10737
+ */
10738
+ declare function buildPageOutputIntent(registry: PdfObjectRegistry, options?: PageOutputIntentOptions): PdfRef;
10739
+ //#endregion
10740
+ //#region src/compliance/encryptedPayload.d.ts
10741
+ /** Options for building an `/EncryptedPayload` dictionary. */
10742
+ interface EncryptedPayloadOptions {
10743
+ /**
10744
+ * Name of the crypto filter that protects the payload, without the leading
10745
+ * slash (for example `'AESV3'`). Emitted as the `/Subtype` name.
10746
+ */
10747
+ readonly subtype: string;
10748
+ /**
10749
+ * Optional version of the crypto filter, without the leading slash.
10750
+ * Emitted as the `/Version` name when present.
10751
+ */
10752
+ readonly version?: string | undefined;
10753
+ }
10754
+ /** Options for embedding an encrypted payload as an unencrypted wrapper. */
10755
+ interface WrapperPayloadOptions {
10756
+ /** The (already encrypted) payload bytes to embed. */
10757
+ readonly data: Uint8Array;
10758
+ /** The filename to record on the embedded file specification. */
10759
+ readonly filename: string;
10760
+ /**
10761
+ * Name of the crypto filter that protects the payload, without the leading
10762
+ * slash (for example `'AESV3'`).
10763
+ */
10764
+ readonly subtype: string;
10765
+ /** Optional version of the crypto filter, without the leading slash. */
10766
+ readonly version?: string | undefined;
10767
+ /** Optional human-readable description of the embedded payload. */
10768
+ readonly description?: string | undefined;
10769
+ }
10770
+ /**
10771
+ * Build an `/EncryptedPayload` dictionary (ISO 32000-2 §7.6.7).
10772
+ *
10773
+ * The returned dictionary has:
10774
+ * - `/Type /EncryptedPayload`
10775
+ * - `/Subtype /<subtype>` — the crypto filter name
10776
+ * - `/Version /<version>` — only when {@link EncryptedPayloadOptions.version}
10777
+ * is supplied
10778
+ *
10779
+ * @param options - The crypto-filter subtype and optional version.
10780
+ * @returns A spec-shaped `/EncryptedPayload` {@link PdfDict}.
10781
+ */
10782
+ declare function buildEncryptedPayload(options: EncryptedPayloadOptions): PdfDict;
10783
+ /**
10784
+ * Build the embedded encrypted-payload file for an unencrypted wrapper
10785
+ * document and return its file-specification reference.
10786
+ *
10787
+ * The payload bytes are embedded via {@link createAssociatedFile} with an
10788
+ * `/AFRelationship` of `/EncryptedPayload` and an `application/octet-stream`
10789
+ * MIME type. The resolved file-specification dictionary then receives an
10790
+ * `/EP` entry holding the {@link buildEncryptedPayload} dictionary.
10791
+ *
10792
+ * The caller is responsible for attaching the returned file-spec reference to
10793
+ * the catalog `/AF` array and the `/Names /EmbeddedFiles` name tree.
10794
+ *
10795
+ * @param registry - The PDF object registry to register objects into.
10796
+ * @param options - The payload bytes, filename, crypto subtype/version, and
10797
+ * optional description.
10798
+ * @returns An indirect reference to the file-specification dictionary.
10799
+ */
10800
+ declare function buildUnencryptedWrapper(registry: PdfObjectRegistry, options: WrapperPayloadOptions): PdfRef;
10801
+ //#endregion
10802
+ //#region src/core/softMask.d.ts
10803
+ /**
10804
+ * Options describing a soft-mask group to wrap in an `ExtGState`.
10805
+ */
10806
+ interface SoftMaskGroupOptions {
10807
+ /**
10808
+ * Indirect reference to the transparency-group form XObject that supplies
10809
+ * the mask. Its `/Group` dictionary must declare `/S /Transparency`.
10810
+ */
10811
+ readonly groupXObject: PdfRef;
10812
+ /**
10813
+ * Mask subtype: `'Luminosity'` (default) measures the composited
10814
+ * luminosity, `'Alpha'` measures the accumulated alpha.
10815
+ */
10816
+ readonly type?: "Luminosity" | "Alpha" | undefined;
10817
+ /**
10818
+ * Backdrop colour the group is composited against before the luminosity is
10819
+ * measured. Component count must match the group's colour space. Honoured
10820
+ * only for luminosity masks; ignored for alpha masks.
10821
+ */
10822
+ readonly backdropColor?: readonly number[] | undefined;
10823
+ /**
10824
+ * Transfer function remapping computed mask values — either an indirect
10825
+ * reference to a function object or the literal name `'Identity'`.
10826
+ */
10827
+ readonly transferFunction?: PdfRef | "Identity" | undefined;
10828
+ }
10829
+ /**
10830
+ * Build an `ExtGState` dictionary that installs a soft-mask group.
10831
+ *
10832
+ * The returned dictionary has `/Type /ExtGState` and an `/SMask` mask
10833
+ * dictionary:
10834
+ *
10835
+ * - `/Type /Mask`
10836
+ * - `/S /Luminosity` or `/S /Alpha` (per {@link SoftMaskGroupOptions.type},
10837
+ * defaulting to `Luminosity`)
10838
+ * - `/G` → the supplied group XObject reference
10839
+ * - `/BC [ … ]` — backdrop colour, **only** for luminosity masks and only
10840
+ * when {@link SoftMaskGroupOptions.backdropColor} is provided
10841
+ * - `/TR` → the transfer function (indirect reference) or the name
10842
+ * `/Identity`, only when {@link SoftMaskGroupOptions.transferFunction} is
10843
+ * provided
10844
+ *
10845
+ * @param options - The soft-mask group description.
10846
+ * @returns A spec-shaped `ExtGState` {@link PdfDict}.
10847
+ */
10848
+ declare function buildSoftMaskGroupExtGState(options: SoftMaskGroupOptions): PdfDict;
10849
+ /**
10850
+ * Build an `ExtGState` dictionary that clears any active soft mask by setting
10851
+ * `/SMask /None`. Apply this after a masked region to restore unmasked
10852
+ * painting.
10853
+ *
10854
+ * @returns An `ExtGState` {@link PdfDict} with `/SMask /None`.
10855
+ */
10856
+ declare function buildSoftMaskNone(): PdfDict;
10857
+ //#endregion
10858
+ //#region src/core/imageMask.d.ts
10859
+ /**
10860
+ * Build a stencil mask: a 1-bit `/ImageMask` image XObject (§8.9.6.2).
10861
+ *
10862
+ * The returned stream has `/Type /XObject`, `/Subtype /Image`,
10863
+ * `/ImageMask true`, `/BitsPerComponent 1`, and the supplied `/Width` and
10864
+ * `/Height`. When a `decode` pair is given it is emitted as a `/Decode`
10865
+ * array, allowing the mask polarity to be inverted (`[1 0]`).
10866
+ *
10867
+ * The `bits` buffer must already be packed one bit per sample with each row
10868
+ * byte-aligned (`ceil(width / 8)` bytes per row); this builder stores it
10869
+ * verbatim and does not repack it.
10870
+ *
10871
+ * @param registry - Registry to register the stream into.
10872
+ * @param bits - Packed, byte-aligned 1-bpc mask data.
10873
+ * @param width - Image width in samples.
10874
+ * @param height - Image height in samples.
10875
+ * @param decode - Optional `[d0, d1]` decode pair.
10876
+ * @returns An indirect reference to the registered image XObject stream.
10877
+ */
10878
+ declare function buildStencilMask(registry: PdfObjectRegistry, bits: Uint8Array, width: number, height: number, decode?: readonly [number, number] | undefined): PdfRef;
10879
+ /**
10880
+ * Build a colour-key masking array (§8.9.6.4).
10881
+ *
10882
+ * The `ranges` list holds two integers — a minimum and a maximum — per
10883
+ * colour component, laid out as `[min0 max0 min1 max1 …]`. Sample colours
10884
+ * whose every component falls within its range become transparent. The
10885
+ * returned {@link PdfArray} is assigned to a base image's `/Mask` entry.
10886
+ *
10887
+ * @param ranges - An even-length list of `[min, max]` integer pairs.
10888
+ * @returns A `/Mask` {@link PdfArray} of {@link PdfNumber}s.
10889
+ * @throws RangeError if `ranges` is empty or has an odd length.
10890
+ */
10891
+ declare function buildColorKeyMask(ranges: readonly number[]): PdfArray;
10892
+ /**
10893
+ * Build an image soft mask: a DeviceGray image XObject usable as a base
10894
+ * image's `/SMask` (§11.6.5.2).
10895
+ *
10896
+ * The returned stream has `/Type /XObject`, `/Subtype /Image`,
10897
+ * `/ColorSpace /DeviceGray`, the supplied `/Width` and `/Height`, and
10898
+ * `/BitsPerComponent` (defaulting to 8). Each grayscale sample provides the
10899
+ * opacity of the corresponding base-image pixel.
10900
+ *
10901
+ * @param registry - Registry to register the stream into.
10902
+ * @param gray - Grayscale opacity samples.
10903
+ * @param width - Image width in samples.
10904
+ * @param height - Image height in samples.
10905
+ * @param bitsPerComponent - Bits per sample; defaults to 8.
10906
+ * @returns An indirect reference to the registered soft-mask image XObject.
10907
+ */
10908
+ declare function buildImageSoftMask(registry: PdfObjectRegistry, gray: Uint8Array, width: number, height: number, bitsPerComponent?: number | undefined): PdfRef;
10909
+ /**
10910
+ * Build an ExtGState that controls black-point compensation (§8.6.5.9).
10911
+ *
10912
+ * The returned dictionary has `/Type /ExtGState` and `/UseBlackPtComp` set
10913
+ * to the requested mode:
10914
+ *
10915
+ * - `Default` — leave the choice to the conforming reader.
10916
+ * - `ON` — always apply black-point compensation.
10917
+ * - `OFF` — never apply black-point compensation.
10918
+ *
10919
+ * @param mode - The `/UseBlackPtComp` mode.
10920
+ * @returns An ExtGState {@link PdfDict}.
10921
+ */
10922
+ declare function buildBlackPointCompensationExtGState(mode: "Default" | "ON" | "OFF"): PdfDict;
10184
10923
  declare namespace index_d_exports {
10185
- export { AFDate_FormatEx, AFNumber_Format, AFRelationship, AFSpecial_Format, AccessibilityIssue, AccessibilityPluginOptions, AddBookmarkOptions, AnalysisReport, AnalyzeImagesOptions, Angle, AnnotationFlags, AnnotationOptions, AnnotationType, AppearanceProviderFor, AppendOptions, AssociatedFileOptions, AssociatedFileResult, BarcodeMatrix, BarcodeOptions, BarcodeReadResult, BatchErrorStrategy, BatchOptimizeOptions, BatchOptions, BatchProcessingError, BatchProgressCallback, BatchResult, BlendMode, BookmarkNode, BookmarkRef, BoxGeometry, ButtonAppearanceOptions, ByteRangeResult, ByteWriter, CIDFontData, CIDSystemInfoData, CalGrayParams, CalRGBParams, CaretSymbol, CatalogOptions, CellContent, ChangeTracker, CheckboxAppearanceOptions, ChromaSubsampling, CmykColor, Code128Options, Code39Options, CodeFrameOptions, CollectionOptions, CollectionSchemaField, CollectionView, Color, ColorStop, CombedTextLayoutError, ComputeFontSizeOptions, ContentStreamOperator, CounterSignatureInfo, CropBox, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE, DEFAULT_SARIF_TOOL_NAME, DataMatrixOptions, DataMatrixResult, DeduplicationReport, DeferredSignOptions, DeferredSignResult, Degrees, DeviceNColor, DiffEntry, DirectEmbedOptions, DirectEmbedResult, DocTimeStampOptions, DocumentDiff, DocumentMetadata, DocumentPart, DocumentStructure, DownscaleOptions, DrawCircleOptions, DrawEllipseOptions, DrawImageOptions, DrawLineOptions, DrawPageOptions, DrawQrCodeOptions, DrawRectangleOptions, DrawSquareOptions, DrawSvgPathOptions, DrawTableOptions, DrawTextOptions, DropdownAppearanceOptions, DssData, EKU_OIDS, BarcodeOptions as EanOptions, EmbedFontOptions, EmbedPageOptions, EmbeddedFile, EmbeddedFont, EmbeddedPdfPage, EncryptAlgorithm, EncryptDictValues, EncryptOptions, EncryptedPdfError, EnforcePdfAOptions, EnforcePdfAResult, EnforcementAction, ErrorCorrectionLevel, ExceededMaxLengthError, ExponentialFunction, ExternalSigner, ExtractedTable, FacturXProfile, FallbackFont, FallbackRun, FetchLike, FetchLikeResponse, FieldAlreadyExistsError, FieldExistsAsNonTerminalError, FieldFlags, FieldLockInfo, FieldLockOptions, FieldType, FileAttachmentIcon, FlattenFormResult, FlattenOptions, FontDescriptorData, FontEmbeddingResult, FontMetrics, FontNotEmbeddedError, FontRef, ForeignPageError, FreeTextAlignment, FunctionShadingOptions, GradientFill, GrayscaleColor, HeaderFooterContent, HeaderFooterOptions, HeaderFooterPosition, IccProfile, IfdEntry, ImageAlignment, ImageAnalysis, ImageDpi, ImageFormat, ImageInfo, ImageOptimizeEntry, ImageOptimizeOptions, ImageRef, IncrementalChange, IncrementalObject, IncrementalSaveOptions, IncrementalSaveResult, InitWasmOptions, InvalidColorError, InvalidFieldNamePartError, InvalidPageSizeError, Invoice, InvoiceLine, InvoiceParty, ItfOptions, JpegDecodeResult, JpegMarkerInfo, JpegMetadata, JpegWasmModule, JsonReport, LabParams, LayoutCombedOptions, LayoutMultilineOptions, LayoutMultilineResult, LayoutSinglelineOptions, LayoutSinglelineResult, LineCapStyle, LineEndingStyle, LineJoinStyle, LinearGradientOptions, LinearizationInfo, LinearizationOptions, LinkHighlightMode, ListboxAppearanceOptions, LoadPdfOptions, LtvOptions, MATHML_NAMESPACE, MarkdownToPdfOptions, MarkedContentScope, MdpPermission, MetadataPluginOptions, MissingOnValueCheckError, ModificationReport, ModificationViolation, ModificationViolationType, MultiPageTableResult, NamespaceDef, NestedTableContent, NoSuchFieldError, NormalizedStop, Operand, OptimizationReport, OptimizeResult, OrderXType, OutlineDestination, OutlineItemOptions, OutputIntentOptions, OverflowMode, OverflowResult, OverlayAlignment, PDF2_NAMESPACE, PDFOperator, PageContent, PageEntry, PageLabelRange, PageLabelStyle, PageRange, PageSize, PageSizes, ParseSpeeds, ParsedPage, ParsedXmpMetadata, PatternFill, Pdf417Matrix, Pdf417Options, PdfA4ExtensionProperty, PdfA4ExtensionSchema, PdfA4Level, PdfA4Options, PdfAIssue, PdfALevel, PdfAProfile, PdfAValidationResult, PdfAXmpOptions, PdfAnnotation, PdfArray, PdfBool, PdfButtonField, PdfCaretAnnotation, PdfCheckboxField, PdfCircleAnnotation, PdfDict, PdfDocument, PdfDocumentBuilder, PdfDropdownField, PdfEncryptionHandler, PdfField, PdfFileAttachmentAnnotation, PdfForm, PdfFreeTextAnnotation, PdfFunctionDef, PdfHighlightAnnotation, PdfInkAnnotation, PdfLayer, PdfLayerManager, PdfLineAnnotation, PdfLinkAnnotation, PdfListboxField, PdfName, PdfNull, PdfNumber, PdfObject, PdfObjectRegistry, PdfOutlineItem, PdfOutlineTree, PdfPage, PdfParseError, PdfPermissionFlags, PdfPlugin, PdfPluginManager, PdfPolyLineAnnotation, PdfPolygonAnnotation, PdfPopupAnnotation, PdfRadioGroup, PdfRect, PdfRedactAnnotation, PdfRef, PdfSaveOptions, PdfSignatureField, PdfSignatureInfo, PdfSquareAnnotation, PdfSquigglyAnnotation, PdfStampAnnotation, PdfStream, PdfStreamWriter, PdfStrikeOutAnnotation, PdfString, PdfStructureElement, PdfStructureTree, PdfTextAnnotation, PdfTextField, PdfUaEnforcementResult, PdfUaError, PdfUaLevel, PdfUaValidationResult, PdfUaWarning, PdfUnderlineAnnotation, PdfViewerPreferences, PdfVtConformance, PdfWorker, PdfWorkerOptions, PdfWriter, PdfX6Options, PdfX6Variant, PluginDocument, PluginError, PluginPage, PostScriptFunction, PrepareAppearanceOptions, PresetName, PresetOptions, ProgressInfo, QrCodeMatrix, QrCodeOptions, RadialGradientFill, RadialGradientOptions, Radians, RadioAppearanceOptions, RangeFetchOptions, RangeFetcher, RawImageData, RecompressOptions, ReconstructOptions, RedactionMark, RedactionOperatorOptions, RedactionOptions, RedactionResult, RefResolver, RegistryEntry, RemovePageFromEmptyDocumentError, RequirementType, RgbColor, RichTextFieldReadError, RuntimeKind, SARIF_SCHEMA_URI, SRGB_ICC_PROFILE, STANDARD_SPOT_FUNCTIONS, SampledFunction, SarifLog, SarifResult, SarifRun, ScriptRun, SetTitleOptions, SignOptions, SignatureAlgorithm, SignatureAppearanceOptions, SignatureByteRange, SignatureChainEntry, SignatureChainResult, SignatureOptions, SignatureVerificationResult, SignerInfo, SoftMaskBuilder, SoftMaskRef, SpotColor, StandardFontName, StandardFonts, StandardStampName, StitchingFunction, StreamingParseError, StreamingParseResult, StreamingParserEvent, StreamingParserOptions, StreamingPdfParser, StripOptions, StripResult, StrippedFeature, StructureElementOptions, StructureType, StyledBarcodeOptions, SubsetCmap, SubsetResult, SvgDrawCommand, SvgElement, SvgGradient, SvgGradientStop, SvgRenderOptions, TableCell, TableColumn, TableExtractOptions, TablePreset, TableRenderResult, TableRow, TaskRunner, TextAlignment$1 as TextAlignment, TextAnnotationIcon, TextAppearanceOptions, TextExtractionOptions, TextItem, Line as TextLine, Paragraph as TextParagraph, TextRenderingMode, TextRun, TiffCmykEmbedResult, TiffDecodeOptions, TiffIfdEntry, TiffImage, TilingPatternOptions, TimestampPluginOptions, TimestampResult, TrailerInfo, TransparencyFinding, TransparencyGroupOptions, TransparencyInfo, TrustStore, Type0FontData, Type1Halftone, UnexpectedFieldTypeError, BarcodeOptions as UpcOptions, VNode, ValidationFinding, ValidationLevel, RenderOptions as VdomRenderOptions, ViewerPreferences, VisibleSignatureOptions, RecordMetadata as VtRecordMetadata, WasmLoaderConfig, WasmModuleName, WatermarkOptions, WebPImage, WidgetAnnotationHost, WidthEntry, WoffInfo, WorkerPool, WorkerPoolOptions, XRechnungOptions, XmpIssue, XmpValidationResult, accessibilityPlugin, addBookmark, addCounterSignature, addFieldLock, addVisibilityAction, addWatermark, addWatermarkToPage, aesDecryptCBC, aesEncryptCBC, analyzeImages, analyzeJpegMarkers, annotationFromDict, appendIncrementalUpdate, applyFillColor, applyHeaderFooter, applyHeaderFooterToPage, applyOverflow, applyPreset, applyRedaction, applyRedactions, applySpreadMethod, applyStrokeColor, applyTablePreset, asNumber, asPDFName, asPDFNumber, asPdfName, asPdfNumber, assembleTiles, attachFile, base64Decode, base64Encode, batchFlatten, batchMerge, beginArtifact, beginArtifactWithType, beginLayerContent, beginMarkedContent, beginMarkedContentSequence, beginMarkedContentWithProperties, beginText, borderedPreset, buildAfArray, buildAnnotationDict, buildBoxDict, buildCalGray, buildCalRGB, buildCatalog, buildCertificateChain, buildCollection, buildDPartRoot, buildDeviceNColorSpace, buildDocMdpReference, buildDocTimeStampDict, buildDocumentStructure, buildDssDictionary, buildEmbeddedFilesNameTree, buildFieldLockDict, buildFunctionShading, buildGradientObjects, buildGtsPdfxVersion, buildInfoDict, buildLab, buildNamespace, buildNamespacesArray, buildOutputIntent, buildPageTree, buildPatternObjects, buildPdfA4Xmp, buildPdfVtDParts, buildPdfX6OutputIntent, buildPdfXOutputIntent, buildPieceInfo, buildPkcs7Signature, buildRequirement, buildRequirements, buildSampledTransferFunction, buildSeparationColorSpace, buildThresholdHalftone, buildTimestampRequest, buildType1Halftone, buildType5Halftone, buildViewerPreferencesDict, buildVtDpm, buildXmpMetadata, calculateBarcodeDimensions, calculateEanCheckDigit, calculateUpcCheckDigit, canDirectEmbed, checkAccessibility, checkCertificateStatus, circlePath, clearWasmCache, clipEvenOdd, clip as clipOp, closeAndStroke, closeFillAndStroke, closeFillEvenOddAndStroke, closePath as closePathOp, cmyk, cmykToRgb, code128ToOperators, code39ToOperators, colorToComponents, colorToHex, componentsToColor, computeCode39CheckDigit, computeFileEncryptionKey, computeFontSize, computeImageDpi, computeObjectHash, computeSignatureHash, computeTargetDimensions, concatMatrix, concatMatrix as concatTransformationMatrix, configureWasmLoader, convertTiffCmykToRgb, convertToGrayscale, copyPages, countOccurrences, createAnnotation, createAssociatedFile, createMarkedContentScope, createPdf, createRangeFetcher, createSandbox, h as createVNode, createWorkerPool, createXmpStream, cropPage, curveToFinal, curveToInitial, curveTo as curveToOp, dataMatrixToOperators, decodeImageStream, decodeJpeg2000, decodeJpegWasm, decodePermissions, decodeStream, decodeTiff, decodeTiffAll, decodeTiffPage, decodeTile, decodeTileRegion, decodeWebP, decodeWoff, deduplicateImages, degrees, degreesToRadians, delinearizePdf, detectImageFormat, detectModifications, detectRuntime, detectTransparency, deviceNColor, deviceNResourceName, didYouMean, diffSignedContent, downloadCrl, downscale16To8, downscaleImage, drawImageWithMatrix, drawImageXObject, drawXObject as drawObject, drawSvgOnPage, drawXObject, ean13ToOperators, ean8ToOperators, ellipsePath, ellipsisText, embedIccProfile, embedLtvData, embedPageAsFormXObject, embedSignature, embedTiffCmyk, embedTiffDirect, encodeCode128, encodeCode128Values, encodeCode39, encodeContextTag, encodeDataMatrix, encodeEan13, encodeEan8, encodeInteger, encodeItf, encodeJpegWasm, encodeLength, encodeOID, encodeOctetString, encodePdf417, encodePermissions, encodePngFromPixels, encodePrintableString, encodeQrCode, encodeSequence, encodeSet, encodeUTCTime, encodeUpcA, encodeUtf8String, endArtifact, endLayerContent, endMarkedContent, endPath as endPathOp, endText, enforcePdfA, enforcePdfAFull, enforcePdfUa, enforcePdfX, estimateJpegQuality, estimateTextWidth, evaluateFunction, extractCrlUrls, extractEmbeddedRevocationData, extractIccProfile, extractImages, extractJpegMetadata, extractMetrics, extractOcspUrl, extractTables, extractText, extractTextWithPositions, extractXmpMetadata, fillAndStroke as fillAndStrokeOp, fillEvenOdd, fillEvenOddAndStroke, fill as fillOp, findChangedObjects, findExistingSignatures, findHyphenationPoints, findSignatures, flattenField, flattenFields, flattenForm, flattenTransparency, formatDate$1 as formatAcrobatDate, formatDate, formatHexContext, formatNumber, formatPdfDate, generateButtonAppearance, generateCheckboxAppearance, generateCiiXml, generateCircleAppearance, generateDropdownAppearance, generateFreeTextAppearance, generateHighlightAppearance, generateInkAppearance, generateLineAppearance, generateListboxAppearance, generateOrderX, generatePdfAXmp, generatePdfAXmpBytes, generateRadioAppearance, generateSignatureAppearance, generateSquareAppearance, generateSquigglyAppearance, generateSrgbIccProfile, generateStrikeOutAppearance, generateSymbolToUnicodeCmap, generateTextAppearance, generateUnderlineAppearance, generateWinAnsiToUnicodeCmap, generateXRechnungCii, generateZapfDingbatsToUnicodeCmap, getAttachments, getBookmarks, getCertificationLevel, getComponentDepths, getCounterSignatures, getFieldLocks, getFieldValue, getImageFormatName, getInlineWasmBytes, getInlineWasmSize, getLinearizationInfo, getPageLabels, getPageSize, getProfile, getRedactionMarks, getSignatures, getSupportedFormats, getSupportedLevels, getTiffPageCount, getToUnicodeCmap, grayscale, gtsPdfVtVersion, hasInlineWasmData, hasLtvData, hexToColor, identityTransferFunction, initJpegWasm, initWasm, injectJpegMetadata, insertPage, instantiateWasmModuleStreaming, interpolateLinearRgb, isAccessible, isCertificateRevoked, isCmykTiff, isGrayscaleImage, isJpegWasmReady, isLinearized, isOpenTypeCFF, isTiff, isTrueType, isValidLevel, isValidModuleName, isWasmDisabled, isWasmModuleCached, isWebP, isWebPLossless, isWoff, isWoff2, itfToOperators, labToRgb, layoutColumns, layoutCombedText, layoutMultilineText, layoutParagraph, layoutSinglelineText, layoutTextFlow, levenshtein, lineTo as lineToOp, linearGradient, linearizePdf, loadPdf, loadWasmModule, loadWasmModuleStreaming, markForRedaction, markdownToPdf, md5, mergePdfs, metadataPlugin, minimalPreset, movePage, moveText as moveTextOp, moveTextSetLeading, moveTo as moveToOp, nameHalftone, nextLine as nextLineOp, normalizeComponentDepth, offsetSignedToUnsigned, optimizeAllImages, optimizeImage, optimizeIncrementalSave, parseAcrobatDate, parseContentStream, parseExistingTrailer, parseIccColorSpace, parseIccDescription, parseSvg, parseSvgColor, parseSvgPath, parseSvgTransform, parseTiffIfd, parseTileInfo, parseTimestampResponse, parseViewerPreferences, parseXmpMetadata$1 as parseXmpMetadata, parseXmpMetadata as parseXmpPdfAMetadata, pdf417ToOperators, pdfA4Rules, restoreState as popGraphicsState, preloadInlineWasm, prepareForSigning, processBatch, professionalPreset, provideWasmBytes, saveState as pushGraphicsState, qrCodeToOperators, radialGradient, radians, radiansToDegrees, rc4, readBarcode, readCode128, readCode39, readEan13, readEan8, readWoffHeader, recompressImage, recompressWebP, reconstructLines, reconstructParagraphs, rectangle as rectangleOp, removeAllBookmarks, removeBookmark, removePage, removePageLabels, removePages, renderCodeFrame, renderMultiPageTable, renderStyledBarcode, renderTable, renderToPdf, replaceTemplateVariables, requestTimestamp, resetWasmLoader, resizePage, resolveFallback, resolveFieldReference, restoreState, reversePages, rgb, rgbToCmyk, rotateAllPages, rotate as rotateOp, rotatePage, rotationMatrix, sampleShadingColor, saveDocumentIncremental, saveIncremental, saveIncrementalWithSignaturePreservation, saveState, scale as scaleOp, searchTextItems, serializePdf, setCertificationLevel, setCharacterSpacing as setCharacterSpacingOp, setCharacterSpacing as setCharacterSqueeze, setColorSpace, setDashPattern as setDashPatternOp, setFieldValue, setFieldVisibility, setFillColor, setFillColorCmyk, setFillColorGray, setFillColorRgb, setFillingColor, setFlatness, setFont as setFontAndSize, setFont as setFontOp, setFontSize as setFontSizeOp, setGraphicsState as setGraphicsStateOp, setLeading as setLeadingOp, setLineCap as setLineCapOp, setLeading as setLineHeight, setLineJoin as setLineJoinOp, setLineWidth as setLineWidthOp, setMiterLimit, setPageLabels, setStrokeColor, setStrokeColorCmyk, setStrokeColorGray, setStrokeColorRgb, setStrokeColorSpace, setStrokingColor, setTextMatrix as setTextMatrixOp, setTextRenderingMode as setTextRenderingModeOp, setTextRise as setTextRiseOp, setWordSpacing as setWordSpacingOp, sha256, sha384, sha512, showTextArray, showTextHex, showTextNextLine, showText as showTextOp, showTextWithSpacing, shrinkFontSize, signDeferred, signPdf, skew as skewOp, splitByScript, splitPdf, spotColor, spotResourceName, stripProhibitedFeatures, stripedPreset, stroke as strokeOp, summarizeBitDepth, summarizeIssues, svgToPdfOperators, tableToCsv, tableToJson, tilingPattern, timestampPlugin, toAlpha, toJsonReport, toRoman, toSarif, translate as translateOp, truncateText, upcAToOperators, upscale8To16, validateBoxGeometry, validateByteRangeIntegrity, validateCertificateChain, validateCertificatePolicy, validateExtendedKeyUsage, validateFieldValue, validateKeyUsage, validatePdfA, validatePdfUa, validatePdfX, validateSignatureChain, validateXmpMetadata, valuesToModules, verifyOfflineRevocation, verifyOwnerPassword, verifySignature, verifySignatureDetailed, verifySignatures, verifyUserPassword, webpToJpeg, webpToPng, wrapInMarkedContent, wrapText };
10924
+ export { AFDate_FormatEx, AFNumber_Format, AFRelationship, AFSpecial_Format, AccessibilityIssue, AccessibilityPluginOptions, AddBookmarkOptions, AnalysisReport, AnalyzeImagesOptions, Angle, AnnotationFlags, AnnotationOptions, AnnotationType, AppearanceProviderFor, AppendOptions, ApplyOcrOptions, AssociatedFileOptions, AssociatedFileResult, BarcodeMatrix, BarcodeOptions, BarcodeReadResult, BatchErrorStrategy, BatchOptimizeOptions, BatchOptions, BatchProcessingError, BatchProgressCallback, BatchResult, BlendMode, BookmarkNode, BookmarkRef, BoxGeometry, ButtonAppearanceOptions, ByteRangeResult, ByteWriter, CIDFontData, CIDSystemInfoData, CalGrayParams, CalRGBParams, Canvas2DLike, CanvasRenderOptions, CaretSymbol, CatalogOptions, CellContent, ChangeTracker, CheckboxAppearanceOptions, ChromaSubsampling, CmykColor, Code128Options, Code39Options, CodeFrameOptions, CollectionOptions, CollectionSchemaField, CollectionView, Color, ColorStop, CombedTextLayoutError, CompareOptions, ComputeFontSizeOptions, ContentStreamOperator, CounterSignatureInfo, CropBox, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE, DEFAULT_SARIF_TOOL_NAME, DataMatrixOptions, DataMatrixResult, DeduplicationReport, DeferredSignOptions, DeferredSignResult, Degrees, DeviceNColor, DiffEntry, DiffResult, DirectEmbedOptions, DirectEmbedResult, DisplayItem, DisplayList, DocTimeStampOptions, DocumentDiff, DocumentMetadata, DocumentPart, DocumentStructure, DownscaleOptions, DrawCircleOptions, DrawEllipseOptions, DrawImageOptions, DrawLineOptions, DrawPageOptions, DrawQrCodeOptions, DrawRectangleOptions, DrawSquareOptions, DrawSvgPathOptions, DrawTableOptions, DrawTextOptions, DropdownAppearanceOptions, DssData, EKU_OIDS, BarcodeOptions as EanOptions, EmbedFontOptions, EmbedPageOptions, EmbeddedFile, EmbeddedFont, EmbeddedPdfPage, EncryptAlgorithm, EncryptDictValues, EncryptOptions, EncryptedPayloadOptions, EncryptedPdfError, EnforcePdfAOptions, EnforcePdfAResult, EnforcementAction, ErrorCorrectionLevel, ExceededMaxLengthError, ExponentialFunction, ExternalSigner, ExtractedFont, ExtractedImage, ExtractedTable, FacturXProfile, FallbackFont, FallbackRun, FetchLike, FetchLikeResponse, FieldAlreadyExistsError, FieldExistsAsNonTerminalError, FieldFlags, FieldLockInfo, FieldLockOptions, FieldType, FileAttachmentIcon, FillItem, FlattenFormResult, FlattenOptions, FontDescriptorData, FontEmbeddingResult, FontFileFormat, FontMetrics, FontNotEmbeddedError, FontRef, ForeignPageError, FreeTextAlignment, FunctionShadingOptions, GradientFill, GrayscaleColor, HeaderFooterContent, HeaderFooterOptions, HeaderFooterPosition, IccProfile, IfdEntry, ImageAlignment, ImageAnalysis, ImageDpi, ImageFormat, ImageInfo, ImageItem, ImageOptimizeEntry, ImageOptimizeOptions, ImageRef, IncrementalChange, IncrementalObject, IncrementalSaveOptions, IncrementalSaveResult, InitWasmOptions, InterpretOptions, InvalidColorError, InvalidFieldNamePartError, InvalidPageSizeError, Invoice, InvoiceLine, InvoiceParty, ItfOptions, JpegDecodeResult, JpegMarkerInfo, JpegMetadata, JpegWasmModule, JsonReport, LabParams, LayoutCombedOptions, LayoutMultilineOptions, LayoutMultilineResult, LayoutSinglelineOptions, LayoutSinglelineResult, LineCapStyle, LineEndingStyle, LineJoinStyle, LinearGradientOptions, LinearizationInfo, LinearizationOptions, LinkHighlightMode, ListboxAppearanceOptions, LoadPdfOptions, LtvOptions, MATHML_NAMESPACE, MarkdownToPdfOptions, MarkedContentScope, Matrix, MdpPermission, MetadataPluginOptions, MissingOnValueCheckError, ModificationReport, ModificationViolation, ModificationViolationType, MultiPageTableResult, NamespaceDef, NestedTableContent, NoSuchFieldError, NormalizedStop, OcrEngine, OcrWord, Operand, OptimizationReport, OptimizeResult, OrderXType, OutlineDestination, OutlineItemOptions, OutputIntentOptions, OverflowMode, OverflowResult, OverlayAlignment, PDF2_NAMESPACE, PDFOperator, PageContent, PageEntry, PageLabelRange, PageLabelStyle, PageOutputIntentOptions, PageRange, PageSize, PageSizes, ParseSpeeds, ParsedPage, ParsedXmpMetadata, PatternFill, Pdf417Matrix, Pdf417Options, PdfA4ExtensionProperty, PdfA4ExtensionSchema, PdfA4Level, PdfA4Options, PdfAIssue, PdfALevel, PdfAProfile, PdfAValidationResult, PdfAXmpOptions, PdfAnnotation, PdfArray, PdfBool, PdfButtonField, PdfCaretAnnotation, PdfCheckboxField, PdfCircleAnnotation, PdfDict, PdfDocument, PdfDocumentBuilder, PdfDropdownField, PdfEncryptionHandler, PdfField, PdfFileAttachmentAnnotation, PdfForm, PdfFreeTextAnnotation, PdfFunctionDef, PdfHighlightAnnotation, PdfInkAnnotation, PdfLayer, PdfLayerManager, PdfLineAnnotation, PdfLinkAnnotation, PdfListboxField, PdfName, PdfNull, PdfNumber, PdfObject, PdfObjectRegistry, PdfOutlineItem, PdfOutlineTree, PdfPage, PdfParseError, PdfPermissionFlags, PdfPlugin, PdfPluginManager, PdfPolyLineAnnotation, PdfPolygonAnnotation, PdfPopupAnnotation, PdfRadioGroup, PdfRect, PdfRedactAnnotation, PdfRef, PdfSaveOptions, PdfSignatureField, PdfSignatureInfo, PdfSquareAnnotation, PdfSquigglyAnnotation, PdfStampAnnotation, PdfStream, PdfStreamWriter, PdfStrikeOutAnnotation, PdfString, PdfStructureElement, PdfStructureTree, PdfTextAnnotation, PdfTextField, PdfUaEnforcementResult, PdfUaError, PdfUaLevel, PdfUaValidationResult, PdfUaWarning, PdfUnderlineAnnotation, PdfViewerPreferences, PdfVtConformance, PdfWorker, PdfWorkerOptions, PdfWriter, PdfX6Options, PdfX6Variant, PluginDocument, PluginError, PluginPage, PostScriptFunction, PrepareAppearanceOptions, PresetName, PresetOptions, ProgressInfo, QrCodeMatrix, QrCodeOptions, RadialGradientFill, RadialGradientOptions, Radians, RadioAppearanceOptions, RangeFetchOptions, RangeFetcher, RasterImage, RawImageData, RecompressOptions, ReconstructOptions, RedactRect, RedactResult, RedactionMark, RedactionOperatorOptions, RedactionOptions, RedactionResult, RefResolver, RegistryEntry, RemovePageFromEmptyDocumentError, RenderCache, RenderOptions, RequirementType, RgbColor, Rgba, RichTextFieldReadError, RuntimeKind, SARIF_SCHEMA_URI, SRGB_ICC_PROFILE, STANDARD_SPOT_FUNCTIONS, SampledFunction, SarifLog, SarifResult, SarifRun, ScriptRun, SetTitleOptions, SignOptions, SignatureAlgorithm, SignatureAppearanceOptions, SignatureByteRange, SignatureChainEntry, SignatureChainResult, SignatureOptions, SignatureVerificationResult, SignerInfo, SoftMaskBuilder, SoftMaskGroupOptions, SoftMaskRef, SpotColor, StandardFontName, StandardFonts, StandardStampName, StitchingFunction, StreamingParseError, StreamingParseResult, StreamingParserEvent, StreamingParserOptions, StreamingPdfParser, StripOptions, StripResult, StrippedFeature, StrokeItem, StructureElementOptions, StructureType, StyledBarcodeOptions, SubPath, SubsetCmap, SubsetResult, SvgDrawCommand, SvgElement, SvgGradient, SvgGradientStop, SvgRenderOptions, TableCell, TableColumn, TableExtractOptions, TablePreset, TableRenderResult, TableRow, TaskRunner, TextAlignment$1 as TextAlignment, TextAnnotationIcon, TextAppearanceOptions, TextItem as TextDisplayItem, TextExtractionOptions, TextItem$1 as TextItem, Line as TextLine, Paragraph as TextParagraph, TextRenderingMode, TextRun, ThumbnailOptions, TiffCmykEmbedResult, TiffDecodeOptions, TiffIfdEntry, TiffImage, TileGrid, TileOptions, TilingPatternOptions, TimestampPluginOptions, TimestampResult, TrailerInfo, TransparencyFinding, TransparencyGroupOptions, TransparencyInfo, TrustStore, Type0FontData, Type1Halftone, UnexpectedFieldTypeError, BarcodeOptions as UpcOptions, VNode, ValidationFinding, ValidationLevel, RenderOptions$1 as VdomRenderOptions, ViewerPreferences, VisibleSignatureOptions, RecordMetadata as VtRecordMetadata, WasmLoaderConfig, WasmModuleName, WatermarkOptions, WebPImage, WidgetAnnotationHost, WidthEntry, WoffInfo, WorkerPool, WorkerPoolOptions, WrapperPayloadOptions, XRechnungOptions, XmpIssue, XmpValidationResult, accessibilityPlugin, addBookmark, addCounterSignature, addFieldLock, addVisibilityAction, addWatermark, addWatermarkToPage, aesDecryptCBC, aesEncryptCBC, analyzeImages, analyzeJpegMarkers, annotationFromDict, appendIncrementalUpdate, applyFillColor, applyHeaderFooter, applyHeaderFooterToPage, applyOcr, applyOverflow, applyPreset, applyRedaction, applyRedactions, applySpreadMethod, applyStrokeColor, applyTablePreset, asNumber, asPDFName, asPDFNumber, asPdfName, asPdfNumber, assembleTiles, attachAssociatedFiles, attachFile, attachOutputIntents, base64Decode, base64Encode, batchFlatten, batchMerge, beginArtifact, beginArtifactWithType, beginLayerContent, beginMarkedContent, beginMarkedContentSequence, beginMarkedContentWithProperties, beginText, borderedPreset, buildAfArray, buildAnnotationDict, buildBlackPointCompensationExtGState, buildBoxDict, buildCalGray, buildCalRGB, buildCatalog, buildCertificateChain, buildCollection, buildColorKeyMask, buildDPartRoot, buildDeviceNColorSpace, buildDocMdpReference, buildDocTimeStampDict, buildDocumentStructure, buildDssDictionary, buildEmbeddedFilesNameTree, buildEncryptedPayload, buildFieldLockDict, buildFunctionShading, buildGradientObjects, buildGtsPdfxVersion, buildImageSoftMask, buildInfoDict, buildLab, buildNamespace, buildNamespacesArray, buildOutputIntent, buildPageOutputIntent, buildPageTree, buildPatternObjects, buildPdfA4Xmp, buildPdfVtDParts, buildPdfX6OutputIntent, buildPdfXOutputIntent, buildPieceInfo, buildPkcs7Signature, buildRequirement, buildRequirements, buildSampledTransferFunction, buildSeparationColorSpace, buildSoftMaskGroupExtGState, buildSoftMaskNone, buildStencilMask, buildThresholdHalftone, buildTimestampRequest, buildType1Halftone, buildType5Halftone, buildUnencryptedWrapper, buildViewerPreferencesDict, buildVtDpm, buildXmpMetadata, calculateBarcodeDimensions, calculateEanCheckDigit, calculateUpcCheckDigit, canDirectEmbed, checkAccessibility, checkCertificateStatus, circlePath, clearWasmCache, clipEvenOdd, clip as clipOp, closeAndStroke, closeFillAndStroke, closeFillEvenOddAndStroke, closePath as closePathOp, cmyk, cmykToRgb, code128ToOperators, code39ToOperators, colorToComponents, colorToHex, compareImages, comparePages, componentsToColor, computeCode39CheckDigit, computeFileEncryptionKey, computeFontSize, computeImageDpi, computeObjectHash, computeSignatureHash, computeTargetDimensions, computeTileGrid, concatMatrix, concatMatrix as concatTransformationMatrix, configureWasmLoader, convertTiffCmykToRgb, convertToGrayscale, copyPages, countOccurrences, createAnnotation, createAssociatedFile, createMarkedContentScope, createPdf, createRangeFetcher, createSandbox, h as createVNode, createWorkerPool, createXmpStream, cropPage, curveToFinal, curveToInitial, curveTo as curveToOp, dataMatrixToOperators, decodeImageStream, decodeJpeg2000, decodeJpegWasm, decodePermissions, decodeStream, decodeTiff, decodeTiffAll, decodeTiffPage, decodeTile, decodeTileRegion, decodeWebP, decodeWoff, deduplicateImages, degrees, degreesToRadians, delinearizePdf, detectImageFormat, detectModifications, detectRuntime, detectTransparency, deviceNColor, deviceNResourceName, didYouMean, diffSignedContent, downloadCrl, downscale16To8, downscaleImage, drawImageWithMatrix, drawImageXObject, drawXObject as drawObject, drawSvgOnPage, drawXObject, ean13ToOperators, ean8ToOperators, ellipsePath, ellipsisText, embedIccProfile, embedLtvData, embedPageAsFormXObject, embedSignature, embedTiffCmyk, embedTiffDirect, encodeCode128, encodeCode128Values, encodeCode39, encodeContextTag, encodeDataMatrix, encodeEan13, encodeEan8, encodeInteger, encodeItf, encodeJpegWasm, encodeLength, encodeOID, encodeOctetString, encodePdf417, encodePermissions, encodePngFromPixels, encodePrintableString, encodeQrCode, encodeSequence, encodeSet, encodeUTCTime, encodeUpcA, encodeUtf8String, endArtifact, endLayerContent, endMarkedContent, endPath as endPathOp, endText, enforcePdfA, enforcePdfAFull, enforcePdfUa, enforcePdfX, estimateJpegQuality, estimateTextWidth, evaluateFunction, extractCrlUrls, extractEmbeddedRevocationData, extractFonts, extractIccProfile, extractImages$1 as extractImages, extractJpegMetadata, extractMetrics, extractOcspUrl, extractImages as extractPageImages, extractTables, extractText, extractTextWithPositions, extractXmpMetadata, fillAndStroke as fillAndStrokeOp, fillEvenOdd, fillEvenOddAndStroke, fill as fillOp, findChangedObjects, findExistingSignatures, findHyphenationPoints, findSignatures, flattenField, flattenFields, flattenForm, flattenTransparency, formatDate$1 as formatAcrobatDate, formatDate, formatHexContext, formatNumber, formatPdfDate, generateButtonAppearance, generateCheckboxAppearance, generateCiiXml, generateCircleAppearance, generateDropdownAppearance, generateFreeTextAppearance, generateHighlightAppearance, generateInkAppearance, generateLineAppearance, generateListboxAppearance, generateOrderX, generatePdfAXmp, generatePdfAXmpBytes, generateRadioAppearance, generateSignatureAppearance, generateSquareAppearance, generateSquigglyAppearance, generateSrgbIccProfile, generateStrikeOutAppearance, generateSymbolToUnicodeCmap, generateTextAppearance, generateThumbnail, generateUnderlineAppearance, generateWinAnsiToUnicodeCmap, generateXRechnungCii, generateZapfDingbatsToUnicodeCmap, getAttachments, getBookmarks, getCertificationLevel, getComponentDepths, getCounterSignatures, getFieldLocks, getFieldValue, getImageFormatName, getInlineWasmBytes, getInlineWasmSize, getLinearizationInfo, getPageLabels, getPageSize, getProfile, getRedactionMarks, getSignatures, getSupportedFormats, getSupportedLevels, getTiffPageCount, getToUnicodeCmap, grayscale, gtsPdfVtVersion, hasInlineWasmData, hasLtvData, hexToColor, identityTransferFunction, initJpegWasm, initWasm, injectJpegMetadata, insertPage, instantiateWasmModuleStreaming, interpolateLinearRgb, interpretContentStream, interpretPage, isAccessible, isCertificateRevoked, isCmykTiff, isGrayscaleImage, isJpegWasmReady, isLinearized, isOpenTypeCFF, isTiff, isTrueType, isValidLevel, isValidModuleName, isWasmDisabled, isWasmModuleCached, isWebP, isWebPLossless, isWoff, isWoff2, itfToOperators, labToRgb, layoutColumns, layoutCombedText, layoutMultilineText, layoutParagraph, layoutSinglelineText, layoutTextFlow, levenshtein, lineTo as lineToOp, linearGradient, linearizePdf, loadPdf, loadWasmModule, loadWasmModuleStreaming, markForRedaction, markdownToPdf, md5, mergePdfs, metadataPlugin, minimalPreset, movePage, moveText as moveTextOp, moveTextSetLeading, moveTo as moveToOp, nameHalftone, nextLine as nextLineOp, normalizeComponentDepth, offsetSignedToUnsigned, optimizeAllImages, optimizeImage, optimizeIncrementalSave, parseAcrobatDate, parseContentStream, parseExistingTrailer, parseIccColorSpace, parseIccDescription, parseSvg, parseSvgColor, parseSvgPath, parseSvgTransform, parseTiffIfd, parseTileInfo, parseTimestampResponse, parseViewerPreferences, parseXmpMetadata$1 as parseXmpMetadata, parseXmpMetadata as parseXmpPdfAMetadata, pdf417ToOperators, pdfA4Rules, restoreState as popGraphicsState, preloadInlineWasm, prepareForSigning, processBatch, professionalPreset, provideWasmBytes, saveState as pushGraphicsState, qrCodeToOperators, radialGradient, radians, radiansToDegrees, rasterize, rc4, readBarcode, readCode128, readCode39, readEan13, readEan8, readWoffHeader, recompressImage, recompressWebP, reconstructLines, reconstructParagraphs, rectangle as rectangleOp, redactRegions, registerEmbeddedFile, removeAllBookmarks, removeBookmark, removePage, removePageLabels, removePages, renderCodeFrame, renderDisplayListToCanvas, renderMultiPageTable, renderPageTile, renderPageToCanvas, renderPageToImage, renderStyledBarcode, renderTable, renderToPdf, replaceTemplateVariables, requestTimestamp, resetWasmLoader, resizePage, resolveFallback, resolveFieldReference, restoreState, reversePages, rgb, rgbToCmyk, rotateAllPages, rotate as rotateOp, rotatePage, rotationMatrix, sampleShadingColor, saveDocumentIncremental, saveIncremental, saveIncrementalWithSignaturePreservation, saveState, scale as scaleOp, searchTextItems, serializePdf, setCertificationLevel, setCharacterSpacing as setCharacterSpacingOp, setCharacterSpacing as setCharacterSqueeze, setColorSpace, setDashPattern as setDashPatternOp, setFieldValue, setFieldVisibility, setFillColor, setFillColorCmyk, setFillColorGray, setFillColorRgb, setFillingColor, setFlatness, setFont as setFontAndSize, setFont as setFontOp, setFontSize as setFontSizeOp, setGraphicsState as setGraphicsStateOp, setLeading as setLeadingOp, setLineCap as setLineCapOp, setLeading as setLineHeight, setLineJoin as setLineJoinOp, setLineWidth as setLineWidthOp, setMiterLimit, setPageLabels, setStrokeColor, setStrokeColorCmyk, setStrokeColorGray, setStrokeColorRgb, setStrokeColorSpace, setStrokingColor, setTextMatrix as setTextMatrixOp, setTextRenderingMode as setTextRenderingModeOp, setTextRise as setTextRiseOp, setWordSpacing as setWordSpacingOp, sha256, sha384, sha512, showTextArray, showTextHex, showTextNextLine, showText as showTextOp, showTextWithSpacing, shrinkFontSize, signDeferred, signPdf, skew as skewOp, splitByScript, splitPdf, spotColor, spotResourceName, stripProhibitedFeatures, stripedPreset, stroke as strokeOp, summarizeBitDepth, summarizeIssues, svgToPdfOperators, tableToCsv, tableToJson, tilingPattern, timestampPlugin, toAlpha, toJsonReport, toRoman, toSarif, translate as translateOp, truncateText, upcAToOperators, upscale8To16, validateBoxGeometry, validateByteRangeIntegrity, validateCertificateChain, validateCertificatePolicy, validateExtendedKeyUsage, validateFieldValue, validateKeyUsage, validatePdfA, validatePdfUa, validatePdfX, validateSignatureChain, validateXmpMetadata, valuesToModules, verifyOfflineRevocation, verifyOwnerPassword, verifySignature, verifySignatureDetailed, verifySignatures, verifyUserPassword, webpToJpeg, webpToPng, wrapInMarkedContent, wrapText };
10186
10925
  }
10187
10926
  /**
10188
10927
  * Options for WASM module initialization.
@@ -10234,5 +10973,5 @@ interface InitWasmOptions {
10234
10973
  */
10235
10974
  declare function initWasm(options?: string | URL | InitWasmOptions): Promise<void>;
10236
10975
  //#endregion
10237
- export { generateOrderX as $, extractIccProfile as $a, findSignatures as $c, PdfWorker as $i, aesDecryptCBC as $l, BatchOptions as $n, XmpValidationResult as $o, estimateTextWidth as $r, detectModifications as $s, DocTimeStampOptions as $t, buildDeviceNColorSpace as $u, WorkerPoolOptions as A, encodePngFromPixels as Aa, checkCertificateStatus as Ac, IncrementalSaveResult as Ad, encodeUpcA as Ai, PdfUnderlineAnnotation as Al, TableExtractOptions as An, applyRedaction as Ao, InvalidColorError as Ar, IncrementalChange as As, buildThresholdHalftone as At, endMarkedContent as Au, renderToPdf as B, convertTiffCmykToRgb as Ba, encodeInteger as Bc, Code39Options as Bi, AFNumber_Format as Bl, ParsedPage as Bn, generatePdfAXmpBytes as Bo, HeaderFooterContent as Br, addCounterSignature as Bs, evaluateFunction as Bt, setCharacterSpacing as Bu, DeferredSignOptions as C, decodeWebP as Ca, extractEmbeddedRevocationData as Cc, setLineJoin as Cd, encodePdf417 as Ci, PdfLineAnnotation as Cl, buildPieceInfo as Cn, decodeJpegWasm as Co, CombedTextLayoutError as Cr, validatePdfA as Cs, buildBoxDict as Ct, beginArtifact as Cu, signDeferred as D, DirectEmbedResult as Da, downloadCrl as Dc, isOpenTypeCFF as Dd, dataMatrixToOperators as Di, PdfHighlightAnnotation as Dl, DocumentPart as Dn, OverlayAlignment as Do, FieldExistsAsNonTerminalError as Dr, getLinearizationInfo as Ds, STANDARD_SPOT_FUNCTIONS as Dt, beginMarkedContentWithProperties as Du, SignatureAlgorithm as E, DirectEmbedOptions as Ea, validateCertificateChain as Ec, stroke as Ed, DataMatrixResult as Ei, PdfSquareAnnotation as El, buildRequirements as En, isJpegWasmReady as Eo, FieldAlreadyExistsError as Er, delinearizePdf as Es, validateBoxGeometry as Et, beginMarkedContentSequence as Eu, buildVtDpm as F, detectImageFormat as Fa, requestTimestamp as Fc, encodeEan13 as Fi, PdfTextAnnotation as Fl, accessibilityPlugin as Fn, EnforcePdfAResult as Fo, PluginError as Fr, LtvOptions as Fs, ExponentialFunction as Ft, beginText as Fu, createRangeFetcher as G, injectJpegMetadata as Ga, encodeSequence as Gc, code128ToOperators as Gi, setFieldValue as Gl, PdfDocumentBuilder as Gn, stripProhibitedFeatures as Go, formatDate as Gr, FieldLockInfo as Gs, CollectionView as Gt, setTextRenderingMode as Gu, FetchLikeResponse as H, isCmykTiff as Ha, encodeOID as Hc, computeCode39CheckDigit as Hi, createSandbox as Hl, StreamingParserEvent as Hn, StripResult as Ho, HeaderFooterPosition as Hr, DiffEntry as Hs, markdownToPdf as Ht, setFontSize as Hu, gtsPdfVtVersion as I, getImageFormatName as Ia, SignatureOptions as Ic, encodeEan8 as Ii, TextAnnotationIcon as Il, MetadataPluginOptions as In, EnforcementAction as Io, RemovePageFromEmptyDocumentError as Ir, buildDssDictionary as Is, PdfFunctionDef as It, endText as Iu, ScriptRun as J, ImageDpi as Ja, encodeUtf8String as Jc, valuesToModules as Ji, AFSpecial_Format as Jl, getInlineWasmSize as Jn, AssociatedFileResult as Jo, toRoman as Jr, buildFieldLockDict as Js, Paragraph as Jt, showText as Ju, FallbackFont as K, JpegMarkerInfo as Ka, encodeSet as Kc, encodeCode128 as Ki, addVisibilityAction as Kl, WasmModuleName as Kn, AFRelationship as Ko, replaceTemplateVariables as Kr, FieldLockOptions as Ks, buildCollection as Kt, setTextRise as Ku, RenderOptions as L, getSupportedFormats as La, SignerInfo as Lc, ItfOptions as Li, AFDate_FormatEx as Ll, metadataPlugin as Ln, enforcePdfAFull as Lo, RichTextFieldReadError as Lr, embedLtvData as Ls, PostScriptFunction as Lt, moveText as Lu, PdfVtConformance as M, webpToJpeg as Ma, TimestampResult as Mc, saveIncremental as Md, calculateEanCheckDigit as Mi, PdfFreeTextAnnotation as Ml, tableToCsv as Mn, enforcePdfX as Mo, InvalidPageSizeError as Mr, findChangedObjects as Ms, buildType5Halftone as Mt, drawImageWithMatrix as Mu, RecordMetadata as N, webpToPng as Na, buildTimestampRequest as Nc, __exportAll as Nd, ean13ToOperators as Ni, LinkHighlightMode as Nl, tableToJson as Nn, validatePdfX as No, MissingOnValueCheckError as Nr, optimizeIncrementalSave as Ns, identityTransferFunction as Nt, drawImageXObject as Nu, TaskRunner as O, canDirectEmbed as Oa, extractCrlUrls as Oc, isTrueType as Od, encodeDataMatrix as Oi, PdfSquigglyAnnotation as Ol, buildDPartRoot as On, RedactionOperatorOptions as Oo, FontNotEmbeddedError as Or, isLinearized as Os, Type1Halftone as Ot, createMarkedContentScope as Ou, buildPdfVtDParts as P, ImageFormat as Pa, parseTimestampResponse as Pc, ean8ToOperators as Pi, PdfLinkAnnotation as Pl, AccessibilityPluginOptions as Pn, EnforcePdfAOptions as Po, NoSuchFieldError as Pr, DssData as Ps, nameHalftone as Pt, drawXObject as Pu, XRechnungOptions as Q, embedIccProfile as Qa, embedSignature as Qc, base64Encode as Qi, sha512 as Ql, BatchErrorStrategy as Qn, XmpIssue as Qo, ellipsisText as Qr, ModificationViolationType as Qs, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE as Qt, showTextWithSpacing as Qu, VNode as R, TiffCmykEmbedResult as Ra, buildPkcs7Signature as Rc, encodeItf as Ri, formatDate$1 as Rl, TimestampPluginOptions as Rn, PdfAXmpOptions as Ro, StreamingParseError as Rr, hasLtvData as Rs, SampledFunction as Rt, moveTextSetLeading as Ru, readWoffHeader as S, WebPImage as Sa, TrustStore as Sc, setLineCap as Sd, Pdf417Options as Si, PdfCircleAnnotation as Sl, buildNamespacesArray as Sn, JpegWasmModule as So, BatchProcessingError as Sr, enforcePdfA as Ss, PdfX6Variant as St, MarkedContentScope as Su, ExternalSigner as T, isWebPLossless as Ta, buildCertificateChain as Tc, setMiterLimit as Td, DataMatrixOptions as Ti, PdfPolygonAnnotation as Tl, buildRequirement as Tn, initJpegWasm as To, ExceededMaxLengthError as Tr, LinearizationOptions as Ts, buildPdfX6OutputIntent as Tt, beginMarkedContent as Tu, RangeFetchOptions as U, JpegMetadata as Ua, encodeOctetString as Uc, encodeCode39 as Ui, getFieldValue as Ul, StreamingParserOptions as Un, StrippedFeature as Uo, applyHeaderFooter as Ur, DocumentDiff as Us, CollectionOptions as Ut, setLeading as Uu, FetchLike as V, embedTiffCmyk as Va, encodeLength as Vc, code39ToOperators as Vi, formatNumber as Vl, StreamingParseResult as Vn, StripOptions as Vo, HeaderFooterOptions as Vr, getCounterSignatures as Vs, MarkdownToPdfOptions as Vt, setFont as Vu, RangeFetcher as W, extractJpegMetadata as Wa, encodePrintableString as Wc, Code128Options as Wi, resolveFieldReference as Wl, StreamingPdfParser as Wn, countOccurrences as Wo, applyHeaderFooterToPage as Wr, diffSignedContent as Ws, CollectionSchemaField as Wt, setTextMatrix as Wu, splitByScript as X, computeTargetDimensions as Xa, PrepareAppearanceOptions as Xc, BarcodeOptions as Xi, sha256 as Xl, isValidModuleName as Xn, createAssociatedFile as Xo, OverflowResult as Xr, ModificationReport as Xs, reconstructLines as Xt, showTextHex as Xu, resolveFallback as Y, computeImageDpi as Ya, ByteRangeResult as Yc, BarcodeMatrix as Yi, validateFieldValue as Yl, hasInlineWasmData as Yn, buildAfArray as Yo, OverflowMode as Yr, getFieldLocks as Ys, ReconstructOptions as Yt, showTextArray as Yu, OrderXType as Z, IccProfile as Za, computeSignatureHash as Zc, base64Decode as Zi, sha384 as Zl, preloadInlineWasm as Zn, ParsedXmpMetadata as Zo, applyOverflow as Zr, ModificationViolation as Zs, reconstructParagraphs as Zt, showTextNextLine as Zu, parseTileInfo as _, decodeTiffAll as _a, verifySignatureDetailed as _c, lineTo as _d, readEan8 as _i, PdfRedactAnnotation as _l, toSarif as _n, estimateJpegQuality as _o, FlattenFormResult as _r, detectTransparency as _s, InvoiceParty as _t, buildXmpMetadata as _u, layoutColumns as a, detectRuntime as aa, SignatureChainResult as ac, closeFillAndStroke as ad, TablePreset as ai, generateHighlightAppearance as al, buildCalRGB as an, deduplicateImages as ao, PageLabelRange as ar, getSupportedLevels as as, buildPdfA4Xmp as at, verifyOwnerPassword as au, isWoff as b, isTiff as ba, validateExtendedKeyUsage as bc, setDashPattern as bd, renderStyledBarcode as bi, StandardStampName as bl, PDF2_NAMESPACE as bn, ChromaSubsampling as bo, flattenFields as br, PdfALevel as bs, PdfRect as bt, PdfStreamWriter as bu, downscale16To8 as c, isWasmModuleCached as ca, IncrementalObject as cc, curveTo as cd, borderedPreset as ci, generateSquareAppearance as cl, DEFAULT_SARIF_TOOL_NAME as cn, OptimizationReport as co, removePageLabels as cr, generateWinAnsiToUnicodeCmap as cs, buildFunctionShading as ct, PdfUaError as cu, offsetSignedToUnsigned as d, provideWasmBytes as da, TrailerInfo as dc, ellipsePath as dd, stripedPreset as di, generateUnderlineAppearance as dl, SarifLog as dn, DownscaleOptions as do, BookmarkNode as dr, OutputIntentOptions as ds, didYouMean as dt, PdfUaWarning as du, PdfWorkerOptions as ea, MdpPermission as ec, buildSeparationColorSpace as ed, shrinkFontSize as ei, prepareForSigning as el, buildDocTimeStampDict as en, parseIccColorSpace as eo, BatchProgressCallback as er, extractXmpMetadata as es, generateXRechnungCii as et, aesEncryptCBC as eu, summarizeBitDepth as f, resetWasmLoader as fa, appendIncrementalUpdate as fc, endPath as fd, BarcodeReadResult as fi, FileAttachmentIcon as fl, SarifResult as fn, ImageOptimizeOptions as fo, BookmarkRef as fr, buildOutputIntent as fs, levenshtein as ft, enforcePdfUa as fu, decodeTileRegion as g, decodeTiff as ga, validateByteRangeIntegrity as gc, fillEvenOddAndStroke as gd, readEan13 as gi, PdfPopupAnnotation as gl, toJsonReport as gn, downscaleImage as go, removeBookmark as gr, TransparencyInfo as gs, InvoiceLine as gt, summarizeIssues as gu, decodeTile as h, TiffImage as ha, saveIncrementalWithSignaturePreservation as hc, fillEvenOdd as hd, readCode39 as hi, PdfCaretAnnotation as hl, ValidationLevel as hn, RecompressOptions as ho, removeAllBookmarks as hr, TransparencyFinding as hs, Invoice as ht, isAccessible as hu, findHyphenationPoints as i, configureWasmLoader as ia, SignatureChainEntry as ic, closeAndStroke as id, PresetOptions as ii, generateFreeTextAppearance as il, buildCalGray as in, DeduplicationReport as io, processBatch as ir, getProfile as is, PdfA4Options as it, computeFileEncryptionKey as iu, createWorkerPool as j, recompressWebP as ja, extractOcspUrl as jc, saveDocumentIncremental as jd, upcAToOperators as ji, FreeTextAlignment as jl, extractTables as jn, buildPdfXOutputIntent as jo, InvalidFieldNamePartError as jr, computeObjectHash as js, buildType1Halftone as jt, wrapInMarkedContent as ju, WorkerPool as k, embedTiffDirect as ka, isCertificateRevoked as kc, ChangeTracker as kd, calculateUpcCheckDigit as ki, PdfStrikeOutAnnotation as kl, ExtractedTable as kn, RedactionResult as ko, ForeignPageError as kr, linearizePdf as ks, buildSampledTransferFunction as kt, endArtifact as ku, getComponentDepths as l, loadWasmModule as la, IncrementalSaveOptions as lc, curveToFinal as ld, minimalPreset as li, generateSquigglyAppearance as ll, JsonReport as ln, ProgressInfo as lo, setPageLabels as lr, generateZapfDingbatsToUnicodeCmap as ls, sampleShadingColor as lt, PdfUaLevel as lu, assembleTiles as m, TiffDecodeOptions as ma, parseExistingTrailer as mc, fillAndStroke as md, readCode128 as mi, CaretSymbol as ml, ValidationFinding as mn, RawImageData as mo, getBookmarks as mr, generateSrgbIccProfile as ms, FacturXProfile as mt, checkAccessibility as mu, index_d_exports as n, WasmLoaderConfig as na, getCertificationLevel as nc, clip as nd, wrapText as ni, searchTextItems as nl, CalRGBParams as nn, convertToGrayscale as no, batchFlatten as nr, validateXmpMetadata as ns, PdfA4ExtensionSchema as nt, md5 as nu, layoutParagraph as o, instantiateWasmModuleStreaming as oa, validateSignatureChain as oc, closeFillEvenOddAndStroke as od, applyPreset as oi, generateInkAppearance as ol, buildLab as on, BatchOptimizeOptions as oo, PageLabelStyle as or, isValidLevel as os, pdfA4Rules as ot, verifyUserPassword as ou, upscale8To16 as p, IfdEntry as pa, findExistingSignatures as pc, fill as pd, readBarcode as pi, PdfFileAttachmentAnnotation as pl, SarifRun as pn, OptimizeResult as po, addBookmark as pr, SRGB_ICC_PROFILE as ps, renderCodeFrame as pt, validatePdfUa as pu, FallbackRun as q, analyzeJpegMarkers as qa, encodeUTCTime as qc, encodeCode128Values as qi, setFieldVisibility as ql, getInlineWasmBytes as qn, AssociatedFileOptions as qo, toAlpha as qr, addFieldLock as qs, Line as qt, setWordSpacing as qu, initWasm as r, clearWasmCache as ra, setCertificationLevel as rc, clipEvenOdd as rd, PresetName as ri, generateCircleAppearance as rl, LabParams as rn, isGrayscaleImage as ro, batchMerge as rr, PdfAProfile as rs, PdfA4Level as rt, EncryptDictValues as ru, layoutTextFlow as s, isWasmDisabled as sa, AppendOptions as sc, closePath as sd, applyTablePreset as si, generateLineAppearance as sl, labToRgb as sn, ImageOptimizeEntry as so, getPageLabels as sr, generateSymbolToUnicodeCmap as ss, FunctionShadingOptions as st, PdfUaEnforcementResult as su, InitWasmOptions as t, RuntimeKind as ta, buildDocMdpReference as tc, circlePath as td, truncateText as ti, decodeJpeg2000 as tl, CalGrayParams as tn, parseIccDescription as to, BatchResult as tr, parseXmpMetadata as ts, PdfA4ExtensionProperty as tt, rc4 as tu, normalizeComponentDepth as u, loadWasmModuleStreaming as ua, SignatureByteRange as uc, curveToInitial as ud, professionalPreset as ui, generateStrikeOutAppearance as ul, SARIF_SCHEMA_URI as un, optimizeAllImages as uo, AddBookmarkOptions as ur, getToUnicodeCmap as us, CodeFrameOptions as ut, PdfUaValidationResult as uu, WoffInfo as v, decodeTiffPage as va, EKU_OIDS as vc, moveTo as vd, StyledBarcodeOptions as vi, PdfInkAnnotation as vl, MATHML_NAMESPACE as vn, optimizeImage as vo, FlattenOptions as vr, flattenTransparency as vs, generateCiiXml as vt, createXmpStream as vu, DeferredSignResult as w, isWebP as wa, verifyOfflineRevocation as wc, setLineWidth as wd, pdf417ToOperators as wi, PdfPolyLineAnnotation as wl, RequirementType as wn, encodeJpegWasm as wo, EncryptedPdfError as wr, LinearizationInfo as ws, buildGtsPdfxVersion as wt, beginArtifactWithType as wu, isWoff2 as x, parseTiffIfd as xa, validateKeyUsage as xc, setFlatness as xd, Pdf417Matrix as xi, LineEndingStyle as xl, buildNamespace as xn, JpegDecodeResult as xo, flattenForm as xr, PdfAValidationResult as xs, PdfX6Options as xt, PDFOperator as xu, decodeWoff as y, getTiffPageCount as ya, validateCertificatePolicy as yc, rectangle as yd, calculateBarcodeDimensions as yi, PdfStampAnnotation as yl, NamespaceDef as yn, recompressImage as yo, flattenField as yr, PdfAIssue as ys, BoxGeometry as yt, parseXmpMetadata$1 as yu, h as z, TiffIfdEntry as za, encodeContextTag as zc, itfToOperators as zi, parseAcrobatDate as zl, timestampPlugin as zn, generatePdfAXmp as zo, UnexpectedFieldTypeError as zr, CounterSignatureInfo as zs, StitchingFunction as zt, nextLine as zu };
10238
- //# sourceMappingURL=index-5Fv1-Z-p.d.mts.map
10976
+ export { interpretPage as $, valuesToModules as $a, detectModifications as $c, buildDeviceNColorSpace as $d, toRoman as $i, findSignatures as $l, Paragraph as $n, ImageDpi as $o, getInlineWasmSize as $r, XmpValidationResult as $s, ScriptRun as $t, aesDecryptCBC as $u, OcrWord as A, DataMatrixOptions as Aa, IncrementalChange as Ac, endMarkedContent as Ad, IncrementalSaveResult as Af, ExceededMaxLengthError as Ai, checkCertificateStatus as Al, buildPdfX6OutputIntent as An, isWebPLossless as Ao, buildRequirement as Ar, initJpegWasm as As, ExternalSigner as At, PdfUnderlineAnnotation as Au, extractImages as B, encodeEan13 as Ba, addCounterSignature as Bc, setCharacterSpacing as Bd, PluginError as Bi, encodeInteger as Bl, ExponentialFunction as Bn, detectImageFormat as Bo, accessibilityPlugin as Br, EnforcePdfAResult as Bs, buildVtDpm as Bt, AFNumber_Format as Bu, computeTileGrid as C, StyledBarcodeOptions as Ca, validatePdfA as Cc, beginArtifact as Cd, setLineJoin as Cf, FlattenOptions as Ci, extractEmbeddedRevocationData as Cl, generateCiiXml as Cn, decodeTiffPage as Co, MATHML_NAMESPACE as Cr, optimizeImage as Cs, WoffInfo as Ct, PdfLineAnnotation as Cu, redactRegions as D, Pdf417Options as Da, getLinearizationInfo as Dc, beginMarkedContentWithProperties as Dd, isOpenTypeCFF as Df, BatchProcessingError as Di, downloadCrl as Dl, PdfX6Variant as Dn, WebPImage as Do, buildNamespacesArray as Dr, JpegWasmModule as Ds, readWoffHeader as Dt, PdfHighlightAnnotation as Du, RedactResult as E, Pdf417Matrix as Ea, delinearizePdf as Ec, beginMarkedContentSequence as Ed, stroke as Ef, flattenForm as Ei, validateCertificateChain as El, PdfX6Options as En, parseTiffIfd as Eo, buildNamespace as Er, JpegDecodeResult as Es, isWoff2 as Et, PdfSquareAnnotation as Eu, comparePages as F, encodeUpcA as Fa, LtvOptions as Fc, beginText as Fd, InvalidColorError as Fi, requestTimestamp as Fl, buildThresholdHalftone as Fn, encodePngFromPixels as Fo, TableExtractOptions as Fr, applyRedaction as Fs, WorkerPoolOptions as Ft, PdfTextAnnotation as Fu, renderDisplayListToCanvas as G, Code39Options as Ga, FieldLockInfo as Gc, setTextRenderingMode as Gd, HeaderFooterContent as Gi, encodeSequence as Gl, evaluateFunction as Gn, convertTiffCmykToRgb as Go, ParsedPage as Gr, generatePdfAXmpBytes as Gs, renderToPdf as Gt, setFieldValue as Gu, generateThumbnail as H, ItfOptions as Ha, DiffEntry as Hc, setFontSize as Hd, RichTextFieldReadError as Hi, encodeOID as Hl, PostScriptFunction as Hn, getSupportedFormats as Ho, metadataPlugin as Hr, enforcePdfAFull as Hs, RenderOptions$1 as Ht, createSandbox as Hu, ExtractedFont as I, upcAToOperators as Ia, buildDssDictionary as Ic, endText as Id, InvalidFieldNamePartError as Ii, SignatureOptions as Il, buildType1Halftone as In, recompressWebP as Io, extractTables as Ir, buildPdfXOutputIntent as Is, createWorkerPool as It, TextAnnotationIcon as Iu, RenderOptions as J, encodeCode39 as Ja, buildFieldLockDict as Jc, showText as Jd, applyHeaderFooter as Ji, encodeUtf8String as Jl, CollectionOptions as Jn, JpegMetadata as Jo, StreamingParserOptions as Jr, StrippedFeature as Js, RangeFetchOptions as Jt, AFSpecial_Format as Ju, renderPageToCanvas as K, code39ToOperators as Ka, FieldLockOptions as Kc, setTextRise as Kd, HeaderFooterOptions as Ki, encodeSet as Kl, MarkdownToPdfOptions as Kn, embedTiffCmyk as Ko, StreamingParseResult as Kr, StripOptions as Ks, FetchLike as Kt, addVisibilityAction as Ku, FontFileFormat as L, calculateEanCheckDigit as La, embedLtvData as Lc, moveText as Ld, InvalidPageSizeError as Li, SignerInfo as Ll, buildType5Halftone as Ln, webpToJpeg as Lo, tableToCsv as Lr, enforcePdfX as Ls, PdfVtConformance as Lt, AFDate_FormatEx as Lu, CompareOptions as M, dataMatrixToOperators as Ma, findChangedObjects as Mc, drawImageWithMatrix as Md, saveIncremental as Mf, FieldExistsAsNonTerminalError as Mi, TimestampResult as Ml, STANDARD_SPOT_FUNCTIONS as Mn, DirectEmbedResult as Mo, DocumentPart as Mr, OverlayAlignment as Ms, signDeferred as Mt, PdfFreeTextAnnotation as Mu, DiffResult as N, encodeDataMatrix as Na, optimizeIncrementalSave as Nc, drawImageXObject as Nd, __exportAll as Nf, FontNotEmbeddedError as Ni, buildTimestampRequest as Nl, Type1Halftone as Nn, canDirectEmbed as No, buildDPartRoot as Nr, RedactionOperatorOptions as Ns, TaskRunner as Nt, LinkHighlightMode as Nu, ApplyOcrOptions as O, encodePdf417 as Oa, isLinearized as Oc, createMarkedContentScope as Od, isTrueType as Of, CombedTextLayoutError as Oi, extractCrlUrls as Ol, buildBoxDict as On, decodeWebP as Oo, buildPieceInfo as Or, decodeJpegWasm as Os, DeferredSignOptions as Ot, PdfSquigglyAnnotation as Ou, compareImages as P, calculateUpcCheckDigit as Pa, DssData as Pc, drawXObject as Pd, ForeignPageError as Pi, parseTimestampResponse as Pl, buildSampledTransferFunction as Pn, embedTiffDirect as Po, ExtractedTable as Pr, RedactionResult as Ps, WorkerPool as Pt, PdfLinkAnnotation as Pu, interpretContentStream as Q, encodeCode128Values as Qa, ModificationViolationType as Qc, showTextWithSpacing as Qd, toAlpha as Qi, embedSignature as Ql, Line as Qn, analyzeJpegMarkers as Qo, getInlineWasmBytes as Qr, XmpIssue as Qs, FallbackRun as Qt, sha512 as Qu, extractFonts as R, ean13ToOperators as Ra, hasLtvData as Rc, moveTextSetLeading as Rd, MissingOnValueCheckError as Ri, buildPkcs7Signature as Rl, identityTransferFunction as Rn, webpToPng as Ro, tableToJson as Rr, validatePdfX as Rs, RecordMetadata as Rt, formatDate$1 as Ru, TileOptions as S, readEan8 as Sa, enforcePdfA as Sc, MarkedContentScope as Sd, setLineCap as Sf, FlattenFormResult as Si, TrustStore as Sl, InvoiceParty as Sn, decodeTiffAll as So, toSarif as Sr, estimateJpegQuality as Ss, parseTileInfo as St, PdfCircleAnnotation as Su, RedactRect as T, renderStyledBarcode as Ta, LinearizationOptions as Tc, beginMarkedContent as Td, setMiterLimit as Tf, flattenFields as Ti, buildCertificateChain as Tl, PdfRect as Tn, isTiff as To, PDF2_NAMESPACE as Tr, ChromaSubsampling as Ts, isWoff as Tt, PdfPolygonAnnotation as Tu, Canvas2DLike as U, encodeItf as Ua, DocumentDiff as Uc, setLeading as Ud, StreamingParseError as Ui, encodeOctetString as Ul, SampledFunction as Un, TiffCmykEmbedResult as Uo, TimestampPluginOptions as Ur, PdfAXmpOptions as Us, VNode as Ut, getFieldValue as Uu, ThumbnailOptions as V, encodeEan8 as Va, getCounterSignatures as Vc, setFont as Vd, RemovePageFromEmptyDocumentError as Vi, encodeLength as Vl, PdfFunctionDef as Vn, getImageFormatName as Vo, MetadataPluginOptions as Vr, EnforcementAction as Vs, gtsPdfVtVersion as Vt, formatNumber as Vu, CanvasRenderOptions as W, itfToOperators as Wa, diffSignedContent as Wc, setTextMatrix as Wd, UnexpectedFieldTypeError as Wi, encodePrintableString as Wl, StitchingFunction as Wn, TiffIfdEntry as Wo, timestampPlugin as Wr, generatePdfAXmp as Ws, h as Wt, resolveFieldReference as Wu, renderPageToImage as X, code128ToOperators as Xa, ModificationReport as Xc, showTextHex as Xd, formatDate as Xi, PrepareAppearanceOptions as Xl, CollectionView as Xn, injectJpegMetadata as Xo, PdfDocumentBuilder as Xr, stripProhibitedFeatures as Xs, createRangeFetcher as Xt, sha256 as Xu, rasterize as Y, Code128Options as Ya, getFieldLocks as Yc, showTextArray as Yd, applyHeaderFooterToPage as Yi, ByteRangeResult as Yl, CollectionSchemaField as Yn, extractJpegMetadata as Yo, StreamingPdfParser as Yr, countOccurrences as Ys, RangeFetcher as Yt, validateFieldValue as Yu, InterpretOptions as Z, encodeCode128 as Za, ModificationViolation as Zc, showTextNextLine as Zd, replaceTemplateVariables as Zi, computeSignatureHash as Zl, buildCollection as Zn, JpegMarkerInfo as Zo, WasmModuleName as Zr, ParsedXmpMetadata as Zs, FallbackFont as Zt, sha384 as Zu, buildPageOutputIntent as _, BarcodeReadResult as _a, detectTransparency as _c, buildXmpMetadata as _d, lineTo as _f, BookmarkRef as _i, verifySignatureDetailed as _l, levenshtein as _n, resetWasmLoader as _o, SarifResult as _r, ImageOptimizeOptions as _s, summarizeBitDepth as _t, PdfRedactAnnotation as _u, buildColorKeyMask as a, shrinkFontSize as aa, getSupportedLevels as ac, verifyOwnerPassword as ad, closeFillAndStroke as af, BatchProgressCallback as ai, SignatureChainResult as al, generateXRechnungCii as an, PdfWorkerOptions as ao, buildDocTimeStampDict as ar, parseIccColorSpace as as, StrokeItem as at, generateHighlightAppearance as au, RenderCache as b, readCode39 as ba, PdfALevel as bc, PdfStreamWriter as bd, setDashPattern as bf, removeAllBookmarks as bi, validateExtendedKeyUsage as bl, Invoice as bn, TiffImage as bo, ValidationLevel as br, RecompressOptions as bs, decodeTile as bt, StandardStampName as bu, SoftMaskGroupOptions as c, PresetName as ca, generateWinAnsiToUnicodeCmap as cc, PdfUaError as cd, curveTo as cf, batchMerge as ci, IncrementalObject as cl, PdfA4Level as cn, clearWasmCache as co, LabParams as cr, isGrayscaleImage as cs, Matrix as ct, generateSquareAppearance as cu, EncryptedPayloadOptions as d, applyPreset as da, OutputIntentOptions as dc, PdfUaWarning as dd, ellipsePath as df, PageLabelStyle as di, TrailerInfo as dl, pdfA4Rules as dn, instantiateWasmModuleStreaming as do, buildLab as dr, BatchOptimizeOptions as ds, layoutParagraph as dt, generateUnderlineAppearance as du, OverflowMode as ea, extractXmpMetadata as ec, aesEncryptCBC as ed, buildSeparationColorSpace as ef, hasInlineWasmData as ei, MdpPermission as el, resolveFallback as en, BarcodeMatrix as eo, ReconstructOptions as er, computeImageDpi as es, DisplayItem as et, prepareForSigning as eu, WrapperPayloadOptions as f, applyTablePreset as fa, buildOutputIntent as fc, enforcePdfUa as fd, endPath as ff, getPageLabels as fi, appendIncrementalUpdate as fl, FunctionShadingOptions as fn, isWasmDisabled as fo, labToRgb as fr, ImageOptimizeEntry as fs, layoutTextFlow as ft, FileAttachmentIcon as fu, attachOutputIntents as g, stripedPreset as ga, TransparencyInfo as gc, summarizeIssues as gd, fillEvenOddAndStroke as gf, BookmarkNode as gi, validateByteRangeIntegrity as gl, didYouMean as gn, provideWasmBytes as go, SarifLog as gr, DownscaleOptions as gs, offsetSignedToUnsigned as gt, PdfPopupAnnotation as gu, PageOutputIntentOptions as h, professionalPreset as ha, TransparencyFinding as hc, isAccessible as hd, fillEvenOdd as hf, AddBookmarkOptions as hi, saveIncrementalWithSignaturePreservation as hl, CodeFrameOptions as hn, loadWasmModuleStreaming as ho, SARIF_SCHEMA_URI as hr, optimizeAllImages as hs, normalizeComponentDepth as ht, PdfCaretAnnotation as hu, buildBlackPointCompensationExtGState as i, estimateTextWidth as ia, getProfile as ic, computeFileEncryptionKey as id, closeAndStroke as if, BatchOptions as ii, SignatureChainEntry as il, generateOrderX as in, PdfWorker as io, DocTimeStampOptions as ir, extractIccProfile as is, Rgba as it, generateFreeTextAppearance as iu, applyOcr as j, DataMatrixResult as ja, computeObjectHash as jc, wrapInMarkedContent as jd, saveDocumentIncremental as jf, FieldAlreadyExistsError as ji, extractOcspUrl as jl, validateBoxGeometry as jn, DirectEmbedOptions as jo, buildRequirements as jr, isJpegWasmReady as js, SignatureAlgorithm as jt, FreeTextAlignment as ju, OcrEngine as k, pdf417ToOperators as ka, linearizePdf as kc, endArtifact as kd, ChangeTracker as kf, EncryptedPdfError as ki, isCertificateRevoked as kl, buildGtsPdfxVersion as kn, isWebP as ko, RequirementType as kr, encodeJpegWasm as ks, DeferredSignResult as kt, PdfStrikeOutAnnotation as ku, buildSoftMaskGroupExtGState as l, PresetOptions as la, generateZapfDingbatsToUnicodeCmap as lc, PdfUaLevel as ld, curveToFinal as lf, processBatch as li, IncrementalSaveOptions as ll, PdfA4Options as ln, configureWasmLoader as lo, buildCalGray as lr, DeduplicationReport as ls, findHyphenationPoints as lt, generateSquigglyAppearance as lu, buildUnencryptedWrapper as m, minimalPreset as ma, generateSrgbIccProfile as mc, checkAccessibility as md, fillAndStroke as mf, setPageLabels as mi, parseExistingTrailer as ml, sampleShadingColor as mn, loadWasmModule as mo, JsonReport as mr, ProgressInfo as ms, getComponentDepths as mt, CaretSymbol as mu, index_d_exports as n, applyOverflow as na, validateXmpMetadata as nc, md5 as nd, clip as nf, preloadInlineWasm as ni, getCertificationLevel as nl, OrderXType as nn, base64Decode as no, reconstructParagraphs as nr, IccProfile as ns, FillItem as nt, searchTextItems as nu, buildImageSoftMask as o, truncateText as oa, isValidLevel as oc, verifyUserPassword as od, closeFillEvenOddAndStroke as of, BatchResult as oi, validateSignatureChain as ol, PdfA4ExtensionProperty as on, RuntimeKind as oo, CalGrayParams as or, parseIccDescription as os, SubPath as ot, generateInkAppearance as ou, buildEncryptedPayload as p, borderedPreset as pa, SRGB_ICC_PROFILE as pc, validatePdfUa as pd, fill as pf, removePageLabels as pi, findExistingSignatures as pl, buildFunctionShading as pn, isWasmModuleCached as po, DEFAULT_SARIF_TOOL_NAME as pr, OptimizationReport as ps, downscale16To8 as pt, PdfFileAttachmentAnnotation as pu, RasterImage as q, computeCode39CheckDigit as qa, addFieldLock as qc, setWordSpacing as qd, HeaderFooterPosition as qi, encodeUTCTime as ql, markdownToPdf as qn, isCmykTiff as qo, StreamingParserEvent as qr, StripResult as qs, FetchLikeResponse as qt, setFieldVisibility as qu, initWasm as r, ellipsisText as ra, PdfAProfile as rc, EncryptDictValues as rd, clipEvenOdd as rf, BatchErrorStrategy as ri, setCertificationLevel as rl, XRechnungOptions as rn, base64Encode as ro, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE as rr, embedIccProfile as rs, ImageItem as rt, generateCircleAppearance as ru, buildStencilMask as s, wrapText as sa, generateSymbolToUnicodeCmap as sc, PdfUaEnforcementResult as sd, closePath as sf, batchFlatten as si, AppendOptions as sl, PdfA4ExtensionSchema as sn, WasmLoaderConfig as so, CalRGBParams as sr, convertToGrayscale as ss, TextItem as st, generateLineAppearance as su, InitWasmOptions as t, OverflowResult as ta, parseXmpMetadata as tc, rc4 as td, circlePath as tf, isValidModuleName as ti, buildDocMdpReference as tl, splitByScript as tn, BarcodeOptions as to, reconstructLines as tr, computeTargetDimensions as ts, DisplayList as tt, decodeJpeg2000 as tu, buildSoftMaskNone as u, TablePreset as ua, getToUnicodeCmap as uc, PdfUaValidationResult as ud, curveToInitial as uf, PageLabelRange as ui, SignatureByteRange as ul, buildPdfA4Xmp as un, detectRuntime as uo, buildCalRGB as ur, deduplicateImages as us, layoutColumns as ut, generateStrikeOutAppearance as uu, attachAssociatedFiles as v, readBarcode as va, flattenTransparency as vc, createXmpStream as vd, moveTo as vf, addBookmark as vi, EKU_OIDS as vl, renderCodeFrame as vn, IfdEntry as vo, SarifRun as vr, OptimizeResult as vs, upscale8To16 as vt, PdfInkAnnotation as vu, renderPageTile as w, calculateBarcodeDimensions as wa, LinearizationInfo as wc, beginArtifactWithType as wd, setLineWidth as wf, flattenField as wi, verifyOfflineRevocation as wl, BoxGeometry as wn, getTiffPageCount as wo, NamespaceDef as wr, recompressImage as ws, decodeWoff as wt, PdfPolyLineAnnotation as wu, TileGrid as x, readEan13 as xa, PdfAValidationResult as xc, PDFOperator as xd, setFlatness as xf, removeBookmark as xi, validateKeyUsage as xl, InvoiceLine as xn, decodeTiff as xo, toJsonReport as xr, downscaleImage as xs, decodeTileRegion as xt, LineEndingStyle as xu, registerEmbeddedFile as y, readCode128 as ya, PdfAIssue as yc, parseXmpMetadata$1 as yd, rectangle as yf, getBookmarks as yi, validateCertificatePolicy as yl, FacturXProfile as yn, TiffDecodeOptions as yo, ValidationFinding as yr, RawImageData as ys, assembleTiles as yt, PdfStampAnnotation as yu, ExtractedImage as z, ean8ToOperators as za, CounterSignatureInfo as zc, nextLine as zd, NoSuchFieldError as zi, encodeContextTag as zl, nameHalftone as zn, ImageFormat as zo, AccessibilityPluginOptions as zr, EnforcePdfAOptions as zs, buildPdfVtDParts as zt, parseAcrobatDate as zu };
10977
+ //# sourceMappingURL=index-CERay5r2.d.mts.map