@embedpdf/engine-services 3.0.0-next.10 → 3.0.0-next.12

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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { PdfFunctions, PdfRuntimeMemory, PdfRuntimeModule, Ptr } from "@embedpdf/engine-runtime";
2
- import { ActionReadBudget, AnnotationActor, AnnotationAppearanceRenderOptions, AnnotationAppearancesResult, AnnotationCreateResult, AnnotationDeleteResult, AnnotationListMutationMeta, AnnotationListPageSnapshot, AnnotationListSnapshotAllPages, AnnotationMoveResult, AnnotationMutationKind, AnnotationRef, AnnotationStableId, AnnotationUpdateResult, AttachmentCreateResult, AttachmentDeleteResult, AttachmentFileInfo, AttachmentFileWorkerPayload, DocumentActionsSnapshot, DocumentEvent, DocumentEventInit, DocumentEventStream, DocumentMetadata, DocumentSecurityProbeInfo, EmbeddedFileItem, EmbeddedFileRef, FormDataFormat, FormEffect, FormEffectsResult, FormFieldDTO, FormFieldDraft, FormFieldPatch, FormFieldRef, FormFieldValue, FormImportResult, FormRepairResult, FormSetValueResult, FormSnapshot, FormWidgetRef, MetadataPatch, MetadataUpdateResult, PageDeleteResult, PageFlattenResult, PageFlattenUsage, PageGeometryRun, PageGeometrySnapshot, PageInsertBlankSpec, PageInsertResult, PageListSnapshot, PageMoveResult, PageNetworkRenderFormat, PageObjectNumber, PageRaster, PageRenderOptions, PageRotateResult, PageRotation, PageState, PageTextSnapshot, PdfActionTree, PdfQuad, PdfRect, PdfSaveMode, RedactionApplyResult, RedactionApplyScope, RevisionToken, SearchRequest, SearchSlice, WeakAnnotationState, WireAnnotationDraft, WireAnnotationPatch, WireAttachmentFile, WirePack, WireResource, WireResourceMap, WorkerRequest, WorkerResponse } from "@embedpdf/engine-core/runtime";
2
+ import { ActionReadBudget, AnnotationActor, AnnotationAppearanceRenderOptions, AnnotationAppearancesResult, AnnotationCreateResult, AnnotationDeleteResult, AnnotationFlattenResult, AnnotationListMutationMeta, AnnotationListPageSnapshot, AnnotationListSnapshotAllPages, AnnotationMoveResult, AnnotationMutationKind, AnnotationRef, AnnotationStableId, AnnotationUpdateResult, AttachmentCreateResult, AttachmentDeleteResult, AttachmentFileInfo, AttachmentFileWorkerPayload, DocumentActionsSnapshot, DocumentEvent, DocumentEventInit, DocumentEventStream, DocumentMetadata, DocumentSecurityProbeInfo, EmbeddedFileItem, EmbeddedFileRef, FormDataFormat, FormEffect, FormEffectsResult, FormFieldDTO, FormFieldDraft, FormFieldPatch, FormFieldRef, FormFieldValue, FormImportResult, FormRepairResult, FormSetValueResult, FormSnapshot, FormWidgetRef, MetadataPatch, MetadataUpdateResult, PageDeleteResult, PageFlattenResult, PageFlattenUsage, PageGeometryRun, PageGeometrySnapshot, PageInsertBlankSpec, PageInsertResult, PageListSnapshot, PageMoveResult, PageNameInput, PageNameResult, PageNetworkRenderFormat, PageObjectNumber, PageRaster, PageRemoveNameInput, PageRenderOptions, PageRotateResult, PageRotation, PageState, PageTextSnapshot, PdfActionTree, PdfQuad, PdfRect, PdfSaveMode, RedactionApplyResult, RedactionApplyScope, RevisionToken, SearchRequest, SearchSlice, WeakAnnotationState, WireAnnotationDraft, WireAnnotationPatch, WireAttachmentFile, WirePack, WireResource, WireResourceMap, WorkerRequest, WorkerResponse } from "@embedpdf/engine-core/runtime";
3
3
  //#region src/runtime/lifecycle/bootstrap.d.ts
4
4
  /**
5
5
  * Initialize the thread-confined PDFium runtime for the calling thread. Each
@@ -538,6 +538,16 @@ declare class PagesMutator {
538
538
  * Abort is honored BEFORE the apply loop, never inside it.
539
539
  */
540
540
  delete(pageObjectNumbers: PageObjectNumber[], signal: AbortSignal): PageDeleteResult;
541
+ /**
542
+ * Register `name` → page in `/Names /Pages` (create, or replace what the
543
+ * key points at); with `replace`, drop that other key first — a rename as
544
+ * one job. Named pages are LAYOUT: page identity and order are untouched
545
+ * (no registry refresh, no revision bumps) and the fresh snapshot is
546
+ * returned like `move()`.
547
+ */
548
+ setName(input: PageNameInput, signal: AbortSignal): PageNameResult;
549
+ /** Remove one `/Names /Pages` registration; the page stays. */
550
+ removeName(input: PageRemoveNameInput, signal: AbortSignal): PageNameResult;
541
551
  /** Shared input check: non-empty, no duplicate PONs. */
542
552
  private requireUniquePons;
543
553
  }
@@ -1029,6 +1039,31 @@ declare class AnnotationMutator {
1029
1039
  private computeHasWeakAnnotations;
1030
1040
  }
1031
1041
  //#endregion
1042
+ //#region src/features/annotations/AnnotationFlattener.d.ts
1043
+ /**
1044
+ * The annotation-plane flatten verbs — `pages.flatten` for a chosen set:
1045
+ * in place (`flatten`) or into a new single-page document
1046
+ * (`exportAppearance`). Both resolve refs to native handles on the page,
1047
+ * hand the SET to the fork (one candidate plan, one placement writer — the
1048
+ * same code whole-page flatten runs), and release every handle afterwards.
1049
+ */
1050
+ declare class AnnotationFlattener {
1051
+ private readonly runtime;
1052
+ private readonly session;
1053
+ constructor(runtime: PdfRuntimeModule, session: DocumentSession);
1054
+ flatten(pageObjectNumber: PageObjectNumber, refs: AnnotationRef[], usage: PageFlattenUsage, signal: AbortSignal): AnnotationFlattenResult;
1055
+ exportAppearance(pageObjectNumber: PageObjectNumber, refs: AnnotationRef[], signal: AbortSignal): {
1056
+ bytes: ArrayBuffer;
1057
+ size: number;
1058
+ };
1059
+ /** Resolve every ref on `pagePtr` (NotFound / InvalidReference from the
1060
+ * resolver on caller error); on any failure, close what was opened. */
1061
+ private resolveAll;
1062
+ /** Marshal an `FPDF_ANNOTATION*` array for the call's duration. */
1063
+ private withHandleArray;
1064
+ private requireRefs;
1065
+ }
1066
+ //#endregion
1032
1067
  //#region src/features/annotations/internal/mutations/computeMutationImpact.d.ts
1033
1068
  /**
1034
1069
  * The kind of mutation that just happened on a page.
@@ -1396,22 +1431,38 @@ declare class SearchReader {
1396
1431
  }
1397
1432
  //#endregion
1398
1433
  //#region src/features/actions/ActionModelReader.d.ts
1399
- /** Mutable aggregate budget shared by every action model in one read job. */
1434
+ /** Mutable aggregate budget shared by every action model in one read job.
1435
+ * Payload budgets are RESERVED before the backing buffer is allocated. */
1400
1436
  declare class ActionReadBudgetTracker {
1401
1437
  private readonly limits;
1402
1438
  private models;
1403
1439
  private nodes;
1404
1440
  private scriptCodeUnits;
1441
+ private targetEntries;
1442
+ private payloadCodeUnits;
1405
1443
  constructor(limits?: ActionReadBudget);
1406
1444
  addModel(nodeCount: number): void;
1407
1445
  addScript(script: string): void;
1446
+ /** Charge target entries BEFORE the target array is walked. */
1447
+ reserveTargets(count: number): void;
1448
+ /** Charge payload text BEFORE the scratch buffer for it is allocated. */
1449
+ reservePayloadBytes(length: number): void;
1408
1450
  private assertWithinBudget;
1409
1451
  }
1410
1452
  /**
1411
1453
  * Convert and close one detached native action model. This is the only
1412
1454
  * native-model walker used by document, page, field, and annotation reads.
1455
+ *
1456
+ * `docPtr` resolves `goto` destinations (page identity + named-destination
1457
+ * lookup); every caller reads within an open document session.
1458
+ *
1459
+ * Payload rule: a node whose payload cannot be materialised (a goto without
1460
+ * a resolvable destination, a javascript node with no `/JS`, a withheld
1461
+ * target list) degrades to `{ type: 'unknown' }` with its original `/S` on
1462
+ * `subtype`, and the tree gains the `'payload-dropped'` warning — impossible
1463
+ * states stay unrepresentable while malformed documents stay readable.
1413
1464
  */
1414
- declare function readActionModel(fn: PdfFunctions, mem: PdfRuntimeMemory, modelPtr: Ptr, budget: ActionReadBudgetTracker): PdfActionTree | null;
1465
+ declare function readActionModel(fn: PdfFunctions, mem: PdfRuntimeMemory, docPtr: Ptr, modelPtr: Ptr, budget: ActionReadBudgetTracker): PdfActionTree | null;
1415
1466
  //#endregion
1416
1467
  //#region src/features/actions/DocumentActionsReader.d.ts
1417
1468
  /** Read catalog-owned actions. Extraction only; no action is executed. */
@@ -1513,11 +1564,15 @@ declare class WorkerHost {
1513
1564
  private handleAnnotationsCreate;
1514
1565
  private handleAnnotationsUpdate;
1515
1566
  private handleAnnotationsDelete;
1567
+ private handleAnnotationsFlatten;
1568
+ private handleAnnotationsExportAppearance;
1516
1569
  private handleAnnotationsMove;
1517
1570
  private handlePagesList;
1518
1571
  private handlePagesMove;
1519
1572
  private handlePagesRotate;
1520
1573
  private handlePagesDelete;
1574
+ private handlePagesSetName;
1575
+ private handlePagesRemoveName;
1521
1576
  private handlePagesFlatten;
1522
1577
  private handleRedactionApply;
1523
1578
  private handlePagesExtract;
@@ -1595,5 +1650,5 @@ declare class WorkerHost {
1595
1650
  private saveLayerArtifact;
1596
1651
  }
1597
1652
  //#endregion
1598
- export { ALL_STANDARD_SECURITY_PERMISSIONS, type AcquiredBaseDocument, ActionReadBudgetTracker, AnnotationAppearanceReader, AnnotationMutator, AnnotationReader, AttachmentMutator, AttachmentReader, BaseDocumentRegistry, CloseStack, DocumentActionsReader, PagesMutator as DocumentPagesMutator, PagesMutator, DocumentSaver, DocumentSession, EPDF_CHAR_GEOMETRY_LAYOUT, EventHub, FontRegistrar, FormMutator, FormReader, FormsEffectsApplier, type ImpactInputs, type LayerSource, LocalRevisionAuthority, MetadataMutator, MetadataReader, type MutationKind, type OpenedPdfDocument, type OpenedPdfDocumentKind, PageGeometryReader, PagesReader as PageLayoutReader, PagesReader, PagePtrPool, PageRenderReader as PageRasterReader, PageRenderReader, type PageRecord, PageTextReader, PagesExtractor, PagesFlattener, PagesInserter, RawAnnotationReader, type RawGeometryGlyphRecord, RedactionApplier, type RevisionAuthority, SearchReader, SecurityReader, SessionEventPublisher, type StartupFontSpec, type WorkerEncodedImage, WorkerHost, type WorkerHostOptions, type WorkerImageEncoder, buildRunsFromRawGlyphs, computeMutationImpact, destroyLibrary, disposeFormModel, ensureInitialized, formatPdfDate, generateUuid, hasAllStandardSecurityPermissions, normalizeU32, openFatMemoryDocument, openLayerDocument, pdfDateToIso, readActionModel, readAttachmentFileInfo, throwIfAborted, writeAttachmentFilePayload };
1653
+ export { ALL_STANDARD_SECURITY_PERMISSIONS, type AcquiredBaseDocument, ActionReadBudgetTracker, AnnotationAppearanceReader, AnnotationFlattener, AnnotationMutator, AnnotationReader, AttachmentMutator, AttachmentReader, BaseDocumentRegistry, CloseStack, DocumentActionsReader, PagesMutator as DocumentPagesMutator, PagesMutator, DocumentSaver, DocumentSession, EPDF_CHAR_GEOMETRY_LAYOUT, EventHub, FontRegistrar, FormMutator, FormReader, FormsEffectsApplier, type ImpactInputs, type LayerSource, LocalRevisionAuthority, MetadataMutator, MetadataReader, type MutationKind, type OpenedPdfDocument, type OpenedPdfDocumentKind, PageGeometryReader, PagesReader as PageLayoutReader, PagesReader, PagePtrPool, PageRenderReader as PageRasterReader, PageRenderReader, type PageRecord, PageTextReader, PagesExtractor, PagesFlattener, PagesInserter, RawAnnotationReader, type RawGeometryGlyphRecord, RedactionApplier, type RevisionAuthority, SearchReader, SecurityReader, SessionEventPublisher, type StartupFontSpec, type WorkerEncodedImage, WorkerHost, type WorkerHostOptions, type WorkerImageEncoder, buildRunsFromRawGlyphs, computeMutationImpact, destroyLibrary, disposeFormModel, ensureInitialized, formatPdfDate, generateUuid, hasAllStandardSecurityPermissions, normalizeU32, openFatMemoryDocument, openLayerDocument, pdfDateToIso, readActionModel, readAttachmentFileInfo, throwIfAborted, writeAttachmentFilePayload };
1599
1654
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ActionReadBudget, AnnotationActor, AnnotationAppearanceRenderOptions, AnnotationAppearancesResult, AnnotationCreateResult, AnnotationDeleteResult, AnnotationListMutationMeta, AnnotationListPageSnapshot, AnnotationListSnapshotAllPages, AnnotationMoveResult, AnnotationMutationKind, AnnotationRef, AnnotationStableId, AnnotationUpdateResult, AttachmentCreateResult, AttachmentDeleteResult, AttachmentFileInfo, AttachmentFileWorkerPayload, DocumentActionsSnapshot, DocumentEvent, DocumentEventInit, DocumentEventStream, DocumentMetadata, DocumentSecurityProbeInfo, EmbeddedFileItem, EmbeddedFileRef, FormDataFormat, FormEffect, FormEffectsResult, FormFieldDTO, FormFieldDraft, FormFieldPatch, FormFieldRef, FormFieldValue, FormImportResult, FormRepairResult, FormSetValueResult, FormSnapshot, FormWidgetRef, MetadataPatch, MetadataUpdateResult, PageDeleteResult, PageFlattenResult, PageFlattenUsage, PageGeometryRun, PageGeometrySnapshot, PageInsertBlankSpec, PageInsertResult, PageListSnapshot, PageMoveResult, PageNetworkRenderFormat, PageObjectNumber, PageRaster, PageRenderOptions, PageRotateResult, PageRotation, PageState, PageTextSnapshot, PdfActionTree, PdfQuad, PdfRect, PdfSaveMode, RedactionApplyResult, RedactionApplyScope, RevisionToken, SearchRequest, SearchSlice, WeakAnnotationState, WireAnnotationDraft, WireAnnotationPatch, WireAttachmentFile, WirePack, WireResource, WireResourceMap, WorkerRequest, WorkerResponse } from "@embedpdf/engine-core/runtime";
1
+ import { ActionReadBudget, AnnotationActor, AnnotationAppearanceRenderOptions, AnnotationAppearancesResult, AnnotationCreateResult, AnnotationDeleteResult, AnnotationFlattenResult, AnnotationListMutationMeta, AnnotationListPageSnapshot, AnnotationListSnapshotAllPages, AnnotationMoveResult, AnnotationMutationKind, AnnotationRef, AnnotationStableId, AnnotationUpdateResult, AttachmentCreateResult, AttachmentDeleteResult, AttachmentFileInfo, AttachmentFileWorkerPayload, DocumentActionsSnapshot, DocumentEvent, DocumentEventInit, DocumentEventStream, DocumentMetadata, DocumentSecurityProbeInfo, EmbeddedFileItem, EmbeddedFileRef, FormDataFormat, FormEffect, FormEffectsResult, FormFieldDTO, FormFieldDraft, FormFieldPatch, FormFieldRef, FormFieldValue, FormImportResult, FormRepairResult, FormSetValueResult, FormSnapshot, FormWidgetRef, MetadataPatch, MetadataUpdateResult, PageDeleteResult, PageFlattenResult, PageFlattenUsage, PageGeometryRun, PageGeometrySnapshot, PageInsertBlankSpec, PageInsertResult, PageListSnapshot, PageMoveResult, PageNameInput, PageNameResult, PageNetworkRenderFormat, PageObjectNumber, PageRaster, PageRemoveNameInput, PageRenderOptions, PageRotateResult, PageRotation, PageState, PageTextSnapshot, PdfActionTree, PdfQuad, PdfRect, PdfSaveMode, RedactionApplyResult, RedactionApplyScope, RevisionToken, SearchRequest, SearchSlice, WeakAnnotationState, WireAnnotationDraft, WireAnnotationPatch, WireAttachmentFile, WirePack, WireResource, WireResourceMap, WorkerRequest, WorkerResponse } from "@embedpdf/engine-core/runtime";
2
2
  import { PdfFunctions, PdfRuntimeMemory, PdfRuntimeModule, Ptr } from "@embedpdf/engine-runtime";
3
3
  //#region src/runtime/lifecycle/bootstrap.d.ts
4
4
  /**
@@ -538,6 +538,16 @@ declare class PagesMutator {
538
538
  * Abort is honored BEFORE the apply loop, never inside it.
539
539
  */
540
540
  delete(pageObjectNumbers: PageObjectNumber[], signal: AbortSignal): PageDeleteResult;
541
+ /**
542
+ * Register `name` → page in `/Names /Pages` (create, or replace what the
543
+ * key points at); with `replace`, drop that other key first — a rename as
544
+ * one job. Named pages are LAYOUT: page identity and order are untouched
545
+ * (no registry refresh, no revision bumps) and the fresh snapshot is
546
+ * returned like `move()`.
547
+ */
548
+ setName(input: PageNameInput, signal: AbortSignal): PageNameResult;
549
+ /** Remove one `/Names /Pages` registration; the page stays. */
550
+ removeName(input: PageRemoveNameInput, signal: AbortSignal): PageNameResult;
541
551
  /** Shared input check: non-empty, no duplicate PONs. */
542
552
  private requireUniquePons;
543
553
  }
@@ -1029,6 +1039,31 @@ declare class AnnotationMutator {
1029
1039
  private computeHasWeakAnnotations;
1030
1040
  }
1031
1041
  //#endregion
1042
+ //#region src/features/annotations/AnnotationFlattener.d.ts
1043
+ /**
1044
+ * The annotation-plane flatten verbs — `pages.flatten` for a chosen set:
1045
+ * in place (`flatten`) or into a new single-page document
1046
+ * (`exportAppearance`). Both resolve refs to native handles on the page,
1047
+ * hand the SET to the fork (one candidate plan, one placement writer — the
1048
+ * same code whole-page flatten runs), and release every handle afterwards.
1049
+ */
1050
+ declare class AnnotationFlattener {
1051
+ private readonly runtime;
1052
+ private readonly session;
1053
+ constructor(runtime: PdfRuntimeModule, session: DocumentSession);
1054
+ flatten(pageObjectNumber: PageObjectNumber, refs: AnnotationRef[], usage: PageFlattenUsage, signal: AbortSignal): AnnotationFlattenResult;
1055
+ exportAppearance(pageObjectNumber: PageObjectNumber, refs: AnnotationRef[], signal: AbortSignal): {
1056
+ bytes: ArrayBuffer;
1057
+ size: number;
1058
+ };
1059
+ /** Resolve every ref on `pagePtr` (NotFound / InvalidReference from the
1060
+ * resolver on caller error); on any failure, close what was opened. */
1061
+ private resolveAll;
1062
+ /** Marshal an `FPDF_ANNOTATION*` array for the call's duration. */
1063
+ private withHandleArray;
1064
+ private requireRefs;
1065
+ }
1066
+ //#endregion
1032
1067
  //#region src/features/annotations/internal/mutations/computeMutationImpact.d.ts
1033
1068
  /**
1034
1069
  * The kind of mutation that just happened on a page.
@@ -1396,22 +1431,38 @@ declare class SearchReader {
1396
1431
  }
1397
1432
  //#endregion
1398
1433
  //#region src/features/actions/ActionModelReader.d.ts
1399
- /** Mutable aggregate budget shared by every action model in one read job. */
1434
+ /** Mutable aggregate budget shared by every action model in one read job.
1435
+ * Payload budgets are RESERVED before the backing buffer is allocated. */
1400
1436
  declare class ActionReadBudgetTracker {
1401
1437
  private readonly limits;
1402
1438
  private models;
1403
1439
  private nodes;
1404
1440
  private scriptCodeUnits;
1441
+ private targetEntries;
1442
+ private payloadCodeUnits;
1405
1443
  constructor(limits?: ActionReadBudget);
1406
1444
  addModel(nodeCount: number): void;
1407
1445
  addScript(script: string): void;
1446
+ /** Charge target entries BEFORE the target array is walked. */
1447
+ reserveTargets(count: number): void;
1448
+ /** Charge payload text BEFORE the scratch buffer for it is allocated. */
1449
+ reservePayloadBytes(length: number): void;
1408
1450
  private assertWithinBudget;
1409
1451
  }
1410
1452
  /**
1411
1453
  * Convert and close one detached native action model. This is the only
1412
1454
  * native-model walker used by document, page, field, and annotation reads.
1455
+ *
1456
+ * `docPtr` resolves `goto` destinations (page identity + named-destination
1457
+ * lookup); every caller reads within an open document session.
1458
+ *
1459
+ * Payload rule: a node whose payload cannot be materialised (a goto without
1460
+ * a resolvable destination, a javascript node with no `/JS`, a withheld
1461
+ * target list) degrades to `{ type: 'unknown' }` with its original `/S` on
1462
+ * `subtype`, and the tree gains the `'payload-dropped'` warning — impossible
1463
+ * states stay unrepresentable while malformed documents stay readable.
1413
1464
  */
1414
- declare function readActionModel(fn: PdfFunctions, mem: PdfRuntimeMemory, modelPtr: Ptr, budget: ActionReadBudgetTracker): PdfActionTree | null;
1465
+ declare function readActionModel(fn: PdfFunctions, mem: PdfRuntimeMemory, docPtr: Ptr, modelPtr: Ptr, budget: ActionReadBudgetTracker): PdfActionTree | null;
1415
1466
  //#endregion
1416
1467
  //#region src/features/actions/DocumentActionsReader.d.ts
1417
1468
  /** Read catalog-owned actions. Extraction only; no action is executed. */
@@ -1513,11 +1564,15 @@ declare class WorkerHost {
1513
1564
  private handleAnnotationsCreate;
1514
1565
  private handleAnnotationsUpdate;
1515
1566
  private handleAnnotationsDelete;
1567
+ private handleAnnotationsFlatten;
1568
+ private handleAnnotationsExportAppearance;
1516
1569
  private handleAnnotationsMove;
1517
1570
  private handlePagesList;
1518
1571
  private handlePagesMove;
1519
1572
  private handlePagesRotate;
1520
1573
  private handlePagesDelete;
1574
+ private handlePagesSetName;
1575
+ private handlePagesRemoveName;
1521
1576
  private handlePagesFlatten;
1522
1577
  private handleRedactionApply;
1523
1578
  private handlePagesExtract;
@@ -1595,5 +1650,5 @@ declare class WorkerHost {
1595
1650
  private saveLayerArtifact;
1596
1651
  }
1597
1652
  //#endregion
1598
- export { ALL_STANDARD_SECURITY_PERMISSIONS, type AcquiredBaseDocument, ActionReadBudgetTracker, AnnotationAppearanceReader, AnnotationMutator, AnnotationReader, AttachmentMutator, AttachmentReader, BaseDocumentRegistry, CloseStack, DocumentActionsReader, PagesMutator as DocumentPagesMutator, PagesMutator, DocumentSaver, DocumentSession, EPDF_CHAR_GEOMETRY_LAYOUT, EventHub, FontRegistrar, FormMutator, FormReader, FormsEffectsApplier, type ImpactInputs, type LayerSource, LocalRevisionAuthority, MetadataMutator, MetadataReader, type MutationKind, type OpenedPdfDocument, type OpenedPdfDocumentKind, PageGeometryReader, PagesReader as PageLayoutReader, PagesReader, PagePtrPool, PageRenderReader as PageRasterReader, PageRenderReader, type PageRecord, PageTextReader, PagesExtractor, PagesFlattener, PagesInserter, RawAnnotationReader, type RawGeometryGlyphRecord, RedactionApplier, type RevisionAuthority, SearchReader, SecurityReader, SessionEventPublisher, type StartupFontSpec, type WorkerEncodedImage, WorkerHost, type WorkerHostOptions, type WorkerImageEncoder, buildRunsFromRawGlyphs, computeMutationImpact, destroyLibrary, disposeFormModel, ensureInitialized, formatPdfDate, generateUuid, hasAllStandardSecurityPermissions, normalizeU32, openFatMemoryDocument, openLayerDocument, pdfDateToIso, readActionModel, readAttachmentFileInfo, throwIfAborted, writeAttachmentFilePayload };
1653
+ export { ALL_STANDARD_SECURITY_PERMISSIONS, type AcquiredBaseDocument, ActionReadBudgetTracker, AnnotationAppearanceReader, AnnotationFlattener, AnnotationMutator, AnnotationReader, AttachmentMutator, AttachmentReader, BaseDocumentRegistry, CloseStack, DocumentActionsReader, PagesMutator as DocumentPagesMutator, PagesMutator, DocumentSaver, DocumentSession, EPDF_CHAR_GEOMETRY_LAYOUT, EventHub, FontRegistrar, FormMutator, FormReader, FormsEffectsApplier, type ImpactInputs, type LayerSource, LocalRevisionAuthority, MetadataMutator, MetadataReader, type MutationKind, type OpenedPdfDocument, type OpenedPdfDocumentKind, PageGeometryReader, PagesReader as PageLayoutReader, PagesReader, PagePtrPool, PageRenderReader as PageRasterReader, PageRenderReader, type PageRecord, PageTextReader, PagesExtractor, PagesFlattener, PagesInserter, RawAnnotationReader, type RawGeometryGlyphRecord, RedactionApplier, type RevisionAuthority, SearchReader, SecurityReader, SessionEventPublisher, type StartupFontSpec, type WorkerEncodedImage, WorkerHost, type WorkerHostOptions, type WorkerImageEncoder, buildRunsFromRawGlyphs, computeMutationImpact, destroyLibrary, disposeFormModel, ensureInitialized, formatPdfDate, generateUuid, hasAllStandardSecurityPermissions, normalizeU32, openFatMemoryDocument, openLayerDocument, pdfDateToIso, readActionModel, readAttachmentFileInfo, throwIfAborted, writeAttachmentFilePayload };
1599
1654
  //# sourceMappingURL=index.d.ts.map