modern-pdf-lib 0.38.0 → 0.40.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.
- package/README.md +3 -3
- package/dist/browser.cjs +23 -3
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.mts +2 -2
- package/dist/browser.mjs +2 -2
- package/dist/{index-CNtfRlyP.d.cts → index-CHhHRD6q.d.cts} +804 -5
- package/dist/index-CHhHRD6q.d.cts.map +1 -0
- package/dist/{index-CDg5gwYg.d.mts → index-CzmWmPxV.d.mts} +804 -5
- package/dist/index-CzmWmPxV.d.mts.map +1 -0
- package/dist/index.cjs +23 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{src-B0gmgVEs.cjs → src-aDYhSnal.cjs} +2224 -254
- package/dist/{src-DlRTrvWg.mjs → src-wZnfMPwi.mjs} +1867 -17
- package/package.json +1 -1
- package/dist/index-CDg5gwYg.d.mts.map +0 -1
- package/dist/index-CNtfRlyP.d.cts.map +0 -1
|
@@ -9456,7 +9456,7 @@ interface RenderOptions$1 {
|
|
|
9456
9456
|
* @param children Child nodes for `document` / `page` containers.
|
|
9457
9457
|
* @returns A frozen-shaped {@link VNode}.
|
|
9458
9458
|
*/
|
|
9459
|
-
declare function h(type: VNode["type"], props: Record<string, unknown>, ...children: VNode[]): VNode;
|
|
9459
|
+
declare function h$1(type: VNode["type"], props: Record<string, unknown>, ...children: VNode[]): VNode;
|
|
9460
9460
|
/**
|
|
9461
9461
|
* Reconcile a {@link VNode} tree into a saved PDF document.
|
|
9462
9462
|
*
|
|
@@ -9470,7 +9470,7 @@ declare function h(type: VNode["type"], props: Record<string, unknown>, ...child
|
|
|
9470
9470
|
* @param options Optional layout overrides.
|
|
9471
9471
|
* @returns A promise resolving to the saved PDF bytes (starting `%PDF-`).
|
|
9472
9472
|
*/
|
|
9473
|
-
declare function renderToPdf(root: VNode, options?: RenderOptions$1): Promise<Uint8Array>;
|
|
9473
|
+
declare function renderToPdf$1(root: VNode, options?: RenderOptions$1): Promise<Uint8Array>;
|
|
9474
9474
|
//#endregion
|
|
9475
9475
|
//#region src/compliance/pdfVT.d.ts
|
|
9476
9476
|
/**
|
|
@@ -11520,6 +11520,805 @@ type BlendMode = "normal" | "multiply" | "screen" | "darken" | "lighten";
|
|
|
11520
11520
|
*/
|
|
11521
11521
|
declare function feBlend(a: RasterBuffer, b: RasterBuffer, mode: BlendMode): RasterBuffer;
|
|
11522
11522
|
//#endregion
|
|
11523
|
+
//#region src/runtime/sharedConcurrency.d.ts
|
|
11524
|
+
/**
|
|
11525
|
+
* Report whether shared-memory concurrency is usable in this runtime.
|
|
11526
|
+
*
|
|
11527
|
+
* Returns `true` only when **both** `SharedArrayBuffer` and `Atomics`
|
|
11528
|
+
* exist, and — in a browser context that exposes `crossOriginIsolated` —
|
|
11529
|
+
* that flag is not `false`. The check is fully defensive: it performs only
|
|
11530
|
+
* `typeof` probes and never throws, so it is safe to call as a guard before
|
|
11531
|
+
* touching any other export here.
|
|
11532
|
+
*
|
|
11533
|
+
* Note: `crossOriginIsolated` is only consulted when it is a boolean. On
|
|
11534
|
+
* Node / Deno / Bun / Workers (where it is typically `undefined`) we do not
|
|
11535
|
+
* treat its absence as a failure, since those runtimes allow shared memory
|
|
11536
|
+
* without the browser's COOP/COEP isolation requirement.
|
|
11537
|
+
*
|
|
11538
|
+
* @returns `true` iff shared-memory primitives can be constructed and used.
|
|
11539
|
+
*/
|
|
11540
|
+
declare function isSharedMemoryAvailable(): boolean;
|
|
11541
|
+
/**
|
|
11542
|
+
* An atomic 32-bit integer counter backed by a single slot of an
|
|
11543
|
+
* `Int32Array` view over a `SharedArrayBuffer`. Multiple `SharedCounter`
|
|
11544
|
+
* instances constructed over the **same** buffer and index observe each
|
|
11545
|
+
* other's writes, so the counter can be shared across workers by passing
|
|
11546
|
+
* its {@link SharedCounter.buffer} through `postMessage`.
|
|
11547
|
+
*
|
|
11548
|
+
* All mutations use `Atomics`, so increments from concurrent agents never
|
|
11549
|
+
* lose updates.
|
|
11550
|
+
*/
|
|
11551
|
+
declare class SharedCounter {
|
|
11552
|
+
#private;
|
|
11553
|
+
/** The `SharedArrayBuffer` backing this counter. */
|
|
11554
|
+
readonly buffer: SharedArrayBuffer;
|
|
11555
|
+
/**
|
|
11556
|
+
* @param buffer - Existing shared buffer to attach to. When omitted, a
|
|
11557
|
+
* fresh single-slot (`4`-byte) `SharedArrayBuffer` is
|
|
11558
|
+
* allocated and zero-initialised.
|
|
11559
|
+
* @param index - Element index (in `Int32` units) of the counter slot.
|
|
11560
|
+
* Defaults to `0`. Must be a non-negative integer that
|
|
11561
|
+
* fits within `buffer`.
|
|
11562
|
+
* @throws If shared memory is unavailable (when allocating), or if
|
|
11563
|
+
* `index` is out of range for the supplied `buffer`.
|
|
11564
|
+
*/
|
|
11565
|
+
constructor(buffer?: SharedArrayBuffer, index?: number);
|
|
11566
|
+
/**
|
|
11567
|
+
* The current counter value, read atomically via `Atomics.load`.
|
|
11568
|
+
*/
|
|
11569
|
+
get value(): number;
|
|
11570
|
+
/**
|
|
11571
|
+
* Atomically add `n` to the counter.
|
|
11572
|
+
*
|
|
11573
|
+
* Per `Atomics.add` semantics this returns the **previous** value — the
|
|
11574
|
+
* value the slot held *before* `n` was added — not the new total. Read
|
|
11575
|
+
* {@link SharedCounter.value} afterwards for the updated total.
|
|
11576
|
+
*
|
|
11577
|
+
* @param n - Integer addend (may be negative to subtract).
|
|
11578
|
+
* @returns The value that was stored before the addition.
|
|
11579
|
+
*/
|
|
11580
|
+
add(n: number): number;
|
|
11581
|
+
/**
|
|
11582
|
+
* Atomically increment the counter by one.
|
|
11583
|
+
*
|
|
11584
|
+
* As with {@link SharedCounter.add}, the returned number is the
|
|
11585
|
+
* **pre-increment** value.
|
|
11586
|
+
*
|
|
11587
|
+
* @returns The value that was stored before incrementing.
|
|
11588
|
+
*/
|
|
11589
|
+
increment(): number;
|
|
11590
|
+
/**
|
|
11591
|
+
* Atomically set the counter to `next` iff it currently equals
|
|
11592
|
+
* `expected`, via `Atomics.compareExchange`.
|
|
11593
|
+
*
|
|
11594
|
+
* @param expected - The value the swap is conditional on.
|
|
11595
|
+
* @param next - The value to store when `expected` matches.
|
|
11596
|
+
* @returns The value that was at the slot **before** the call. The swap
|
|
11597
|
+
* succeeded iff this equals `expected`.
|
|
11598
|
+
*/
|
|
11599
|
+
compareExchange(expected: number, next: number): number;
|
|
11600
|
+
}
|
|
11601
|
+
/**
|
|
11602
|
+
* The result of a blocking {@link SharedFlag.wait}, mirroring the return
|
|
11603
|
+
* values of `Atomics.wait`.
|
|
11604
|
+
*/
|
|
11605
|
+
type SharedFlagWaitResult = "ok" | "timed-out" | "not-equal";
|
|
11606
|
+
/**
|
|
11607
|
+
* A one-bit synchronisation gate over a single `Int32Array` slot
|
|
11608
|
+
* (`0` = unset, `1` = set), supporting `Atomics.wait` / `Atomics.notify`.
|
|
11609
|
+
*
|
|
11610
|
+
* Producers call {@link SharedFlag.set} then {@link SharedFlag.notify} to
|
|
11611
|
+
* release agents blocked in {@link SharedFlag.wait}.
|
|
11612
|
+
*
|
|
11613
|
+
* IMPORTANT — `Atomics.wait` may only block on a *non-main* agent. On the
|
|
11614
|
+
* main browser thread it throws `TypeError`, and on any main thread it
|
|
11615
|
+
* would freeze the event loop. {@link SharedFlag.wait} feature-detects
|
|
11616
|
+
* blocking support and, when blocking is not permitted, degrades to a
|
|
11617
|
+
* single non-blocking check (returning `'ok'` if already set, otherwise
|
|
11618
|
+
* `'not-equal'`) instead of throwing. {@link SharedFlag.notify} is always
|
|
11619
|
+
* safe to call from any thread.
|
|
11620
|
+
*/
|
|
11621
|
+
declare class SharedFlag {
|
|
11622
|
+
#private;
|
|
11623
|
+
/** The `SharedArrayBuffer` backing this flag. */
|
|
11624
|
+
readonly buffer: SharedArrayBuffer;
|
|
11625
|
+
/**
|
|
11626
|
+
* @param buffer - Existing shared buffer to attach to (its first `Int32`
|
|
11627
|
+
* slot is used). When omitted, a fresh `4`-byte
|
|
11628
|
+
* `SharedArrayBuffer` is allocated, starting cleared.
|
|
11629
|
+
* @throws If shared memory is unavailable when allocating, or `buffer`
|
|
11630
|
+
* is too small to hold one `Int32`.
|
|
11631
|
+
*/
|
|
11632
|
+
constructor(buffer?: SharedArrayBuffer);
|
|
11633
|
+
/**
|
|
11634
|
+
* Atomically set the flag. Does not itself wake waiters — call
|
|
11635
|
+
* {@link SharedFlag.notify} afterwards to release any blocked agents.
|
|
11636
|
+
*/
|
|
11637
|
+
set(): void;
|
|
11638
|
+
/**
|
|
11639
|
+
* Atomically clear the flag back to its unset state.
|
|
11640
|
+
*/
|
|
11641
|
+
clear(): void;
|
|
11642
|
+
/**
|
|
11643
|
+
* @returns `true` iff the flag is currently set, read via `Atomics.load`.
|
|
11644
|
+
*/
|
|
11645
|
+
isSet(): boolean;
|
|
11646
|
+
/**
|
|
11647
|
+
* Block until the flag becomes set, or until `timeoutMs` elapses.
|
|
11648
|
+
*
|
|
11649
|
+
* Implemented with `Atomics.wait` on the unset value: while the slot
|
|
11650
|
+
* still reads `0` (unset) the agent sleeps; a {@link SharedFlag.set} +
|
|
11651
|
+
* {@link SharedFlag.notify} from another agent wakes it.
|
|
11652
|
+
*
|
|
11653
|
+
* Blocking is only legal off the main thread. When `Atomics.wait` is not
|
|
11654
|
+
* allowed here (e.g. the main browser thread), this method does **not**
|
|
11655
|
+
* throw: it performs a single non-blocking check and returns `'ok'` if
|
|
11656
|
+
* the flag is already set, or `'not-equal'` otherwise. Callers that need
|
|
11657
|
+
* to truly block must run on a dedicated worker.
|
|
11658
|
+
*
|
|
11659
|
+
* @param timeoutMs - Optional timeout in milliseconds. Omit (or pass
|
|
11660
|
+
* `Infinity`) to wait indefinitely.
|
|
11661
|
+
* @returns `'ok'` when woken with the flag still unset at entry,
|
|
11662
|
+
* `'timed-out'` if the timeout expired, or `'not-equal'` if the
|
|
11663
|
+
* flag was already set on entry (nothing to wait for).
|
|
11664
|
+
*/
|
|
11665
|
+
wait(timeoutMs?: number): SharedFlagWaitResult;
|
|
11666
|
+
/**
|
|
11667
|
+
* Wake up to `count` agents blocked in {@link SharedFlag.wait} on this
|
|
11668
|
+
* flag, via `Atomics.notify`. Safe to call from any thread.
|
|
11669
|
+
*
|
|
11670
|
+
* @param count - Maximum number of waiters to wake. Defaults to
|
|
11671
|
+
* `Infinity` (wake all).
|
|
11672
|
+
* @returns The number of agents actually woken — `0` when none were
|
|
11673
|
+
* waiting.
|
|
11674
|
+
*/
|
|
11675
|
+
notify(count?: number): number;
|
|
11676
|
+
}
|
|
11677
|
+
/**
|
|
11678
|
+
* A lock-free **single-producer / single-consumer** (SPSC) byte ring buffer
|
|
11679
|
+
* over a `SharedArrayBuffer`, suitable for streaming chunks between exactly
|
|
11680
|
+
* one producing worker and one consuming worker.
|
|
11681
|
+
*
|
|
11682
|
+
* ## Contract
|
|
11683
|
+
*
|
|
11684
|
+
* - **SPSC only.** Correctness relies on there being at most one concurrent
|
|
11685
|
+
* {@link SharedRingBuffer.push} caller (the producer) and at most one
|
|
11686
|
+
* concurrent {@link SharedRingBuffer.pop} caller (the consumer). Multiple
|
|
11687
|
+
* producers or multiple consumers are **not** supported and will corrupt
|
|
11688
|
+
* the cursors. (The producer and consumer may be different agents.)
|
|
11689
|
+
* - {@link SharedRingBuffer.push} returns `false` (writing nothing) when the
|
|
11690
|
+
* frame would not fit in the currently free space.
|
|
11691
|
+
* - {@link SharedRingBuffer.pop} returns `null` when the ring is empty, or
|
|
11692
|
+
* when the next frame is larger than the caller's `maxBytes` budget (the
|
|
11693
|
+
* frame is left intact for a later, larger pop).
|
|
11694
|
+
*
|
|
11695
|
+
* ## SAB layout
|
|
11696
|
+
*
|
|
11697
|
+
* `[ head:int32 | tail:int32 | ...dataBytes ]`
|
|
11698
|
+
*
|
|
11699
|
+
* The `head`/`tail` cursors are published with `Atomics.store` and read with
|
|
11700
|
+
* `Atomics.load`, which establishes the happens-before edge that makes the
|
|
11701
|
+
* non-atomic byte writes into the data region visible to the consumer. Each
|
|
11702
|
+
* frame is encoded as a 4-byte little-endian length header followed by that
|
|
11703
|
+
* many payload bytes; both header and payload wrap around the data region.
|
|
11704
|
+
*/
|
|
11705
|
+
declare class SharedRingBuffer {
|
|
11706
|
+
#private;
|
|
11707
|
+
/** The `SharedArrayBuffer` backing this ring. */
|
|
11708
|
+
readonly buffer: SharedArrayBuffer;
|
|
11709
|
+
/**
|
|
11710
|
+
* Allocate a new ring whose data region holds `capacityBytes` bytes
|
|
11711
|
+
* (the backing `SharedArrayBuffer` is `capacityBytes` + control overhead).
|
|
11712
|
+
*
|
|
11713
|
+
* @param capacityBytes - Size of the data region in bytes. Must be a
|
|
11714
|
+
* positive integer.
|
|
11715
|
+
* @param existingBuffer - Internal: when supplied, the ring attaches to
|
|
11716
|
+
* this already-allocated buffer instead of creating
|
|
11717
|
+
* a fresh one (used by {@link SharedRingBuffer.fromBuffer}).
|
|
11718
|
+
* Its data region must equal `capacityBytes`.
|
|
11719
|
+
* @throws If `capacityBytes` is not a positive integer, or shared memory
|
|
11720
|
+
* is unavailable.
|
|
11721
|
+
*/
|
|
11722
|
+
constructor(capacityBytes: number, existingBuffer?: SharedArrayBuffer);
|
|
11723
|
+
/**
|
|
11724
|
+
* Attach a second `SharedRingBuffer` view to an existing buffer — e.g.
|
|
11725
|
+
* the consumer side wrapping a buffer received from the producer via
|
|
11726
|
+
* `postMessage`. No cursors are reset; the view observes whatever the
|
|
11727
|
+
* other side has already published.
|
|
11728
|
+
*
|
|
11729
|
+
* @param buffer - A `SharedArrayBuffer` previously created by a
|
|
11730
|
+
* `SharedRingBuffer` constructor.
|
|
11731
|
+
* @returns A `SharedRingBuffer` sharing `buffer`'s cursors and data.
|
|
11732
|
+
* @throws If `buffer` is too small to contain the control region.
|
|
11733
|
+
*/
|
|
11734
|
+
static fromBuffer(buffer: SharedArrayBuffer): SharedRingBuffer;
|
|
11735
|
+
/**
|
|
11736
|
+
* Push a single byte frame onto the ring (producer side).
|
|
11737
|
+
*
|
|
11738
|
+
* The frame is stored as a length-prefixed record. Returns `false`
|
|
11739
|
+
* without modifying the ring if there is not enough free space for the
|
|
11740
|
+
* header plus payload.
|
|
11741
|
+
*
|
|
11742
|
+
* @param bytes - Payload to enqueue (may be empty).
|
|
11743
|
+
* @returns `true` if enqueued, `false` if the ring was too full.
|
|
11744
|
+
*/
|
|
11745
|
+
push(bytes: Uint8Array): boolean;
|
|
11746
|
+
/**
|
|
11747
|
+
* Pop the next byte frame from the ring (consumer side).
|
|
11748
|
+
*
|
|
11749
|
+
* @param maxBytes - Maximum payload size the caller is willing to receive.
|
|
11750
|
+
* If the next frame's payload exceeds this, the frame is
|
|
11751
|
+
* left in place and `null` is returned.
|
|
11752
|
+
* @returns The dequeued payload as a fresh `Uint8Array`, or `null` when
|
|
11753
|
+
* the ring is empty or the next frame exceeds `maxBytes`.
|
|
11754
|
+
*/
|
|
11755
|
+
pop(maxBytes: number): Uint8Array | null;
|
|
11756
|
+
}
|
|
11757
|
+
//#endregion
|
|
11758
|
+
//#region src/runtime/memoryBudget.d.ts
|
|
11759
|
+
/**
|
|
11760
|
+
* @module runtime/memoryBudget
|
|
11761
|
+
*
|
|
11762
|
+
* A memory budget / cap used to bound the processing of *untrusted* PDFs as a
|
|
11763
|
+
* defence against decompression bombs and out-of-memory (OOM) attacks.
|
|
11764
|
+
*
|
|
11765
|
+
* ## What this is — and what it is NOT
|
|
11766
|
+
*
|
|
11767
|
+
* {@link MemoryBudget} is a **pure accounting guard**. It is a plain integer
|
|
11768
|
+
* counter with a ceiling. It does **NOT** measure real process memory (RSS),
|
|
11769
|
+
* heap usage, `performance.memory`, or anything reported by the host. It makes
|
|
11770
|
+
* **no** claim of measuring actual memory and performs **no** acceleration of
|
|
11771
|
+
* any kind — there are no workers, SIMD, threads, `Atomics`, or
|
|
11772
|
+
* `SharedArrayBuffer` involved.
|
|
11773
|
+
*
|
|
11774
|
+
* The intended usage pattern is *predictive*: before a caller allocates a
|
|
11775
|
+
* large buffer (for example, the expected output length of an inflated /
|
|
11776
|
+
* decoded stream, which a malicious PDF can declare as enormous), it reports
|
|
11777
|
+
* that size to the budget via {@link MemoryBudget.allocate} (or
|
|
11778
|
+
* {@link MemoryBudget.tryAllocate}). If the reported size would push total
|
|
11779
|
+
* tracked usage past the configured limit, the allocation is rejected
|
|
11780
|
+
* **before** the real memory is ever requested — so a bomb is stopped early
|
|
11781
|
+
* instead of being materialised and crashing the runtime.
|
|
11782
|
+
*
|
|
11783
|
+
* Because it is pure accounting, its accuracy is exactly as good as the sizes
|
|
11784
|
+
* callers report. It is a budget, not a profiler.
|
|
11785
|
+
*
|
|
11786
|
+
* ## Runtime
|
|
11787
|
+
*
|
|
11788
|
+
* This module uses only ECMAScript primitives (numbers, classes, closures).
|
|
11789
|
+
* It assumes no Node-only globals and runs unchanged on Node, Deno, Bun,
|
|
11790
|
+
* Cloudflare Workers, and browsers.
|
|
11791
|
+
*/
|
|
11792
|
+
/**
|
|
11793
|
+
* Thrown by {@link MemoryBudget.allocate} (and {@link MemoryBudget.withAllocation})
|
|
11794
|
+
* when a requested allocation would exceed the configured limit.
|
|
11795
|
+
*
|
|
11796
|
+
* Carries the numbers involved so callers can surface a precise diagnostic:
|
|
11797
|
+
*
|
|
11798
|
+
* - {@link requested} — the size that was being allocated.
|
|
11799
|
+
* - {@link used} — the tracked usage *before* the rejected allocation.
|
|
11800
|
+
* - {@link limit} — the configured ceiling.
|
|
11801
|
+
*/
|
|
11802
|
+
declare class MemoryBudgetExceededError extends Error {
|
|
11803
|
+
/** The allocation size, in bytes, that was rejected. */
|
|
11804
|
+
readonly requested: number;
|
|
11805
|
+
/** The configured budget ceiling, in bytes. */
|
|
11806
|
+
readonly limit: number;
|
|
11807
|
+
/** The tracked usage, in bytes, at the moment of rejection. */
|
|
11808
|
+
readonly used: number;
|
|
11809
|
+
/**
|
|
11810
|
+
* @param requested - The size, in bytes, that was being allocated.
|
|
11811
|
+
* @param used - The tracked usage, in bytes, before the allocation.
|
|
11812
|
+
* @param limit - The configured ceiling, in bytes.
|
|
11813
|
+
*/
|
|
11814
|
+
constructor(requested: number, used: number, limit: number);
|
|
11815
|
+
}
|
|
11816
|
+
/**
|
|
11817
|
+
* Options for the {@link MemoryBudget} constructor.
|
|
11818
|
+
*/
|
|
11819
|
+
interface MemoryBudgetOptions {
|
|
11820
|
+
/**
|
|
11821
|
+
* The ceiling, in bytes, that tracked usage may not exceed. Must be a
|
|
11822
|
+
* finite number greater than `0`. `NaN`, negative values, and `Infinity`
|
|
11823
|
+
* are all rejected with a {@link TypeError} (see {@link createMemoryBudget}).
|
|
11824
|
+
*/
|
|
11825
|
+
limitBytes: number;
|
|
11826
|
+
/**
|
|
11827
|
+
* Optional callback invoked **before** a {@link MemoryBudgetExceededError} is
|
|
11828
|
+
* thrown by {@link MemoryBudget.allocate}. It receives the same numbers the
|
|
11829
|
+
* error will carry. It is *not* invoked by {@link MemoryBudget.tryAllocate},
|
|
11830
|
+
* which never throws.
|
|
11831
|
+
*
|
|
11832
|
+
* Per `exactOptionalPropertyTypes`, declared as `| undefined`.
|
|
11833
|
+
*/
|
|
11834
|
+
onExceed?: ((info: {
|
|
11835
|
+
requested: number;
|
|
11836
|
+
used: number;
|
|
11837
|
+
limit: number;
|
|
11838
|
+
}) => void) | undefined;
|
|
11839
|
+
}
|
|
11840
|
+
/**
|
|
11841
|
+
* A bounded memory accounting guard. See the {@link module:runtime/memoryBudget module documentation}
|
|
11842
|
+
* for the precise semantics — in particular, that this tracks *reported*
|
|
11843
|
+
* sizes and does not measure real RSS.
|
|
11844
|
+
*/
|
|
11845
|
+
declare class MemoryBudget {
|
|
11846
|
+
#private;
|
|
11847
|
+
/**
|
|
11848
|
+
* @param options - The {@link MemoryBudgetOptions}. `limitBytes` must be a
|
|
11849
|
+
* finite number greater than `0`.
|
|
11850
|
+
* @throws {TypeError} If `limitBytes` is not a finite number `> 0`.
|
|
11851
|
+
*/
|
|
11852
|
+
constructor(options: MemoryBudgetOptions);
|
|
11853
|
+
/** Currently tracked usage, in bytes. */
|
|
11854
|
+
get used(): number;
|
|
11855
|
+
/** The configured ceiling, in bytes. */
|
|
11856
|
+
get limit(): number;
|
|
11857
|
+
/** Bytes still available before the limit is reached (never negative). */
|
|
11858
|
+
get remaining(): number;
|
|
11859
|
+
/**
|
|
11860
|
+
* Reserve `bytes` against the budget.
|
|
11861
|
+
*
|
|
11862
|
+
* If `used + bytes` would exceed the limit, {@link onExceed} (if supplied)
|
|
11863
|
+
* is invoked first and then a {@link MemoryBudgetExceededError} is thrown;
|
|
11864
|
+
* tracked usage is left unchanged in that case.
|
|
11865
|
+
*
|
|
11866
|
+
* @param bytes - The size to reserve. Must be a finite number `>= 0`.
|
|
11867
|
+
* @throws {TypeError} If `bytes` is negative, `NaN`, or `Infinity`.
|
|
11868
|
+
* @throws {MemoryBudgetExceededError} If the allocation would exceed the limit.
|
|
11869
|
+
*/
|
|
11870
|
+
allocate(bytes: number): void;
|
|
11871
|
+
/**
|
|
11872
|
+
* Non-throwing variant of {@link allocate}. Reserves `bytes` and returns
|
|
11873
|
+
* `true` on success, or returns `false` (leaving usage unchanged) if the
|
|
11874
|
+
* allocation would exceed the limit. {@link onExceed} is **not** invoked.
|
|
11875
|
+
*
|
|
11876
|
+
* @param bytes - The size to reserve. Must be a finite number `>= 0`.
|
|
11877
|
+
* @returns `true` if reserved, `false` if it would exceed the limit.
|
|
11878
|
+
* @throws {TypeError} If `bytes` is negative, `NaN`, or `Infinity`.
|
|
11879
|
+
*/
|
|
11880
|
+
tryAllocate(bytes: number): boolean;
|
|
11881
|
+
/**
|
|
11882
|
+
* Return `bytes` to the budget. Usage is clamped at `0`, so over-releasing
|
|
11883
|
+
* (or releasing more than was reserved) never produces a negative value.
|
|
11884
|
+
*
|
|
11885
|
+
* @param bytes - The size to release. Must be a finite number `>= 0`.
|
|
11886
|
+
* @throws {TypeError} If `bytes` is negative, `NaN`, or `Infinity`.
|
|
11887
|
+
*/
|
|
11888
|
+
release(bytes: number): void;
|
|
11889
|
+
/** Reset tracked usage to zero. The limit is unchanged. */
|
|
11890
|
+
reset(): void;
|
|
11891
|
+
/**
|
|
11892
|
+
* Reserve `bytes`, run `fn`, and release `bytes` in a `finally` block so the
|
|
11893
|
+
* reservation is returned even if `fn` throws.
|
|
11894
|
+
*
|
|
11895
|
+
* If the reservation itself would exceed the limit, `fn` is never invoked
|
|
11896
|
+
* and a {@link MemoryBudgetExceededError} is thrown (nothing to release).
|
|
11897
|
+
*
|
|
11898
|
+
* @typeParam T - The return type of `fn`.
|
|
11899
|
+
* @param bytes - The size to reserve for the duration of `fn`.
|
|
11900
|
+
* @param fn - The work to run while the reservation is held.
|
|
11901
|
+
* @returns Whatever `fn` returns.
|
|
11902
|
+
* @throws {TypeError} If `bytes` is negative, `NaN`, or `Infinity`.
|
|
11903
|
+
* @throws {MemoryBudgetExceededError} If the reservation would exceed the limit.
|
|
11904
|
+
*/
|
|
11905
|
+
withAllocation<T>(bytes: number, fn: () => T): T;
|
|
11906
|
+
}
|
|
11907
|
+
/**
|
|
11908
|
+
* Create a {@link MemoryBudget} with the given ceiling.
|
|
11909
|
+
*
|
|
11910
|
+
* The limit must be a finite number strictly greater than `0`; `NaN`,
|
|
11911
|
+
* negative values, and `Infinity` are all rejected with a {@link TypeError}.
|
|
11912
|
+
* (An infinite budget is intentionally disallowed: the whole point is to cap
|
|
11913
|
+
* untrusted input, and `Infinity` would silently disable the guard.)
|
|
11914
|
+
*
|
|
11915
|
+
* @param limitBytes - The ceiling, in bytes. Must be finite and `> 0`.
|
|
11916
|
+
* @returns A new {@link MemoryBudget}.
|
|
11917
|
+
* @throws {TypeError} If `limitBytes` is not a finite number `> 0`.
|
|
11918
|
+
*/
|
|
11919
|
+
declare function createMemoryBudget(limitBytes: number): MemoryBudget;
|
|
11920
|
+
//#endregion
|
|
11921
|
+
//#region src/runtime/runtimeCapabilities.d.ts
|
|
11922
|
+
/**
|
|
11923
|
+
* @module runtime/runtimeCapabilities
|
|
11924
|
+
*
|
|
11925
|
+
* Honest, throw-free detection of the **perf-relevant** capabilities of the
|
|
11926
|
+
* current JavaScript runtime, so callers can gate fast paths (WASM, SIMD,
|
|
11927
|
+
* threads, shared memory, 64-bit typed arrays) on what the host can actually
|
|
11928
|
+
* run.
|
|
11929
|
+
*
|
|
11930
|
+
* Design rules followed here:
|
|
11931
|
+
*
|
|
11932
|
+
* - **No feature is ever assumed.** Every probe feature-detects and is wrapped
|
|
11933
|
+
* so a missing global or a host that throws on access degrades to `false`
|
|
11934
|
+
* rather than crashing. This mirrors the defensive `try/catch` style of the
|
|
11935
|
+
* sibling {@link module:runtime/detect} module.
|
|
11936
|
+
* - **No fake acceleration.** Detection reports only what the host *could*
|
|
11937
|
+
* execute. It does **not** imply modern-pdf-lib's bundled WASM is built with
|
|
11938
|
+
* SIMD/threads — it is not (see {@link SIMD_NOTE}). A `true` here means a
|
|
11939
|
+
* *SIMD-enabled rebuild* would run, not that today's binaries use it.
|
|
11940
|
+
* - **WASM feature probes use the canonical, validated test modules.** Each is
|
|
11941
|
+
* a tiny module whose *only* discriminating instruction is the feature in
|
|
11942
|
+
* question, so `WebAssembly.validate()` returns `true` exclusively when the
|
|
11943
|
+
* host implements that proposal. The byte sequences below were assembled and
|
|
11944
|
+
* verified to (a) validate on a feature-supporting host and (b) fail to
|
|
11945
|
+
* validate when the discriminating section is removed.
|
|
11946
|
+
*
|
|
11947
|
+
* References:
|
|
11948
|
+
* - WebAssembly SIMD (fixed-width 128-bit) proposal — `v128` value type and
|
|
11949
|
+
* `i32x4`/`i8x16` ops. https://github.com/WebAssembly/simd
|
|
11950
|
+
* - WebAssembly threads/atomics proposal — shared memory + `memory.atomic.*`.
|
|
11951
|
+
* https://github.com/WebAssembly/threads
|
|
11952
|
+
* - WebAssembly bulk-memory-operations proposal — `memory.copy`/`memory.fill`.
|
|
11953
|
+
* https://github.com/WebAssembly/bulk-memory-operations
|
|
11954
|
+
* - `WebAssembly.validate` — MDN: returns a boolean, never throws on a
|
|
11955
|
+
* well-formed `BufferSource`.
|
|
11956
|
+
* https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/validate
|
|
11957
|
+
*/
|
|
11958
|
+
/**
|
|
11959
|
+
* Snapshot of the perf-relevant capabilities of the host runtime.
|
|
11960
|
+
*
|
|
11961
|
+
* Every WASM-prefixed flag answers "would a module using this proposal
|
|
11962
|
+
* validate here?" — i.e. whether the engine implements the proposal — not
|
|
11963
|
+
* whether modern-pdf-lib is currently using it.
|
|
11964
|
+
*/
|
|
11965
|
+
interface RuntimeCapabilities {
|
|
11966
|
+
/** `WebAssembly` is present and `WebAssembly.validate` is callable. */
|
|
11967
|
+
wasm: boolean;
|
|
11968
|
+
/** The engine implements the fixed-width SIMD proposal (`v128`). */
|
|
11969
|
+
wasmSimd: boolean;
|
|
11970
|
+
/**
|
|
11971
|
+
* The engine implements the threads/atomics proposal **and**
|
|
11972
|
+
* `SharedArrayBuffer` is available (a wasm shared memory needs it).
|
|
11973
|
+
*/
|
|
11974
|
+
wasmThreads: boolean;
|
|
11975
|
+
/** The engine implements bulk-memory ops (`memory.copy`/`memory.fill`). */
|
|
11976
|
+
wasmBulkMemory: boolean;
|
|
11977
|
+
/** `SharedArrayBuffer` is a defined global. */
|
|
11978
|
+
sharedArrayBuffer: boolean;
|
|
11979
|
+
/** `Atomics` is a defined global. */
|
|
11980
|
+
atomics: boolean;
|
|
11981
|
+
/** `BigInt64Array` is a defined global. */
|
|
11982
|
+
bigInt64Array: boolean;
|
|
11983
|
+
/**
|
|
11984
|
+
* `globalThis.crossOriginIsolated === true`. Required (in browsers) before
|
|
11985
|
+
* `SharedArrayBuffer` may be shared with workers. `false` when the flag is
|
|
11986
|
+
* absent or not `true`.
|
|
11987
|
+
*/
|
|
11988
|
+
crossOriginIsolated: boolean;
|
|
11989
|
+
/**
|
|
11990
|
+
* Reported logical core count. `navigator.hardwareConcurrency` when present,
|
|
11991
|
+
* otherwise Node's `os.cpus().length` when reachable, otherwise `1`. Always a
|
|
11992
|
+
* positive integer.
|
|
11993
|
+
*/
|
|
11994
|
+
hardwareConcurrency: number;
|
|
11995
|
+
}
|
|
11996
|
+
/**
|
|
11997
|
+
* Honestly detect the perf-relevant capabilities of the current runtime.
|
|
11998
|
+
*
|
|
11999
|
+
* Every probe is feature-detected and throw-free; on a host missing a feature
|
|
12000
|
+
* the corresponding flag is `false` (or `1` for {@link
|
|
12001
|
+
* RuntimeCapabilities.hardwareConcurrency}). The result is **not** cached so a
|
|
12002
|
+
* test harness (or a host that gains a feature, e.g. cross-origin isolation
|
|
12003
|
+
* toggling) sees the live state.
|
|
12004
|
+
*
|
|
12005
|
+
* @returns A fresh {@link RuntimeCapabilities} snapshot.
|
|
12006
|
+
*/
|
|
12007
|
+
declare function detectRuntimeCapabilities(): RuntimeCapabilities;
|
|
12008
|
+
/**
|
|
12009
|
+
* Convenience predicate: does the host implement the WebAssembly SIMD proposal?
|
|
12010
|
+
*
|
|
12011
|
+
* Equivalent to `detectRuntimeCapabilities().wasmSimd`. A `true` result means a
|
|
12012
|
+
* SIMD-enabled module would validate here — **not** that modern-pdf-lib's
|
|
12013
|
+
* shipped WASM uses SIMD (see {@link SIMD_NOTE}).
|
|
12014
|
+
*
|
|
12015
|
+
* @returns `true` iff the SIMD feature-detect module validates.
|
|
12016
|
+
*/
|
|
12017
|
+
declare function isWasmSimdSupported(): boolean;
|
|
12018
|
+
/**
|
|
12019
|
+
* Honesty disclaimer about SIMD acceleration.
|
|
12020
|
+
*
|
|
12021
|
+
* modern-pdf-lib's bundled WebAssembly binaries are built **without** SIMD
|
|
12022
|
+
* today. {@link isWasmSimdSupported} / {@link RuntimeCapabilities.wasmSimd}
|
|
12023
|
+
* report only whether the *host* could run SIMD code — actually benefiting from
|
|
12024
|
+
* SIMD requires a SIMD-enabled rebuild of the WASM modules. This constant
|
|
12025
|
+
* exists so callers and docs do not mistake capability detection for active
|
|
12026
|
+
* acceleration.
|
|
12027
|
+
*/
|
|
12028
|
+
declare const SIMD_NOTE: string;
|
|
12029
|
+
//#endregion
|
|
12030
|
+
//#region src/jsx/jsxRuntime.d.ts
|
|
12031
|
+
/**
|
|
12032
|
+
* A function component: receives its props (with children under
|
|
12033
|
+
* `props.children`) and returns a renderable {@link PdfNode}.
|
|
12034
|
+
*/
|
|
12035
|
+
type PdfComponent = (props: Record<string, unknown>) => PdfNode;
|
|
12036
|
+
/**
|
|
12037
|
+
* A JSX element produced by {@link h} / {@link jsx} / {@link jsxs}.
|
|
12038
|
+
*/
|
|
12039
|
+
interface PdfElement {
|
|
12040
|
+
/** Intrinsic tag name (lowercase string) or a function component. */
|
|
12041
|
+
type: string | PdfComponent;
|
|
12042
|
+
/** Element props (never null after construction). */
|
|
12043
|
+
props: Record<string, unknown>;
|
|
12044
|
+
/** Flattened child nodes. */
|
|
12045
|
+
children: PdfNode[];
|
|
12046
|
+
}
|
|
12047
|
+
/**
|
|
12048
|
+
* Anything renderable: an element, primitive text/number, or a falsy node
|
|
12049
|
+
* (which renders nothing).
|
|
12050
|
+
*/
|
|
12051
|
+
type PdfNode = PdfElement | string | number | null | undefined | boolean;
|
|
12052
|
+
/**
|
|
12053
|
+
* Classic hyperscript pragma (`jsxFactory: "h"`).
|
|
12054
|
+
*
|
|
12055
|
+
* @param type Intrinsic tag name or a function component.
|
|
12056
|
+
* @param props Props object, or `null` for no props.
|
|
12057
|
+
* @param children Zero or more child nodes (nested arrays are flattened).
|
|
12058
|
+
* @returns A {@link PdfElement}.
|
|
12059
|
+
*/
|
|
12060
|
+
declare function h(type: string | PdfComponent, props: Record<string, unknown> | null, ...children: PdfNode[]): PdfElement;
|
|
12061
|
+
/**
|
|
12062
|
+
* Automatic-runtime factory for elements with a single (or no) child.
|
|
12063
|
+
*
|
|
12064
|
+
* @param type Intrinsic tag name or a function component.
|
|
12065
|
+
* @param props Props object; children (if any) live under `props.children`.
|
|
12066
|
+
* @returns A {@link PdfElement}.
|
|
12067
|
+
*/
|
|
12068
|
+
declare function jsx(type: string | PdfComponent, props: Record<string, unknown>): PdfElement;
|
|
12069
|
+
/**
|
|
12070
|
+
* Automatic-runtime factory for elements with multiple static children.
|
|
12071
|
+
*
|
|
12072
|
+
* Behaviour is identical to {@link jsx}; the JSX transform calls `jsxs` when
|
|
12073
|
+
* the children are a static array.
|
|
12074
|
+
*
|
|
12075
|
+
* @param type Intrinsic tag name or a function component.
|
|
12076
|
+
* @param props Props object; children live under `props.children`.
|
|
12077
|
+
* @returns A {@link PdfElement}.
|
|
12078
|
+
*/
|
|
12079
|
+
declare function jsxs(type: string | PdfComponent, props: Record<string, unknown>): PdfElement;
|
|
12080
|
+
/**
|
|
12081
|
+
* Fragment component — groups children without adding a layout box. Used by
|
|
12082
|
+
* the JSX transform for `<>...</>` and directly via `h(Fragment, null, ...)`.
|
|
12083
|
+
*
|
|
12084
|
+
* @param props Props whose `children` are returned for rendering.
|
|
12085
|
+
* @returns The children as a {@link PdfNode} (an array, which the
|
|
12086
|
+
* renderer flattens transparently).
|
|
12087
|
+
*/
|
|
12088
|
+
declare const Fragment: PdfComponent;
|
|
12089
|
+
/**
|
|
12090
|
+
* Render a declarative element tree to a PDF document.
|
|
12091
|
+
*
|
|
12092
|
+
* The `root` should be a `document` element (or a component / fragment that
|
|
12093
|
+
* resolves to one). Each `page` child becomes a PDF page; content flows
|
|
12094
|
+
* top-down within each page per the layout model documented in the module
|
|
12095
|
+
* header.
|
|
12096
|
+
*
|
|
12097
|
+
* @param root The root {@link PdfNode} (typically a `document` element).
|
|
12098
|
+
* @returns The serialized PDF as a `Uint8Array` (begins with `"%PDF-"`).
|
|
12099
|
+
*
|
|
12100
|
+
* @example
|
|
12101
|
+
* ```ts
|
|
12102
|
+
* const bytes = await renderToPdf(
|
|
12103
|
+
* h('document', { size: PageSizes.A4 },
|
|
12104
|
+
* h('page', null, h('text', { size: 24 }, 'Hello'), h('text', null, 'World')),
|
|
12105
|
+
* ),
|
|
12106
|
+
* );
|
|
12107
|
+
* ```
|
|
12108
|
+
*/
|
|
12109
|
+
declare function renderToPdf(root: PdfNode): Promise<Uint8Array>;
|
|
12110
|
+
//#endregion
|
|
12111
|
+
//#region src/form/schemaForm.d.ts
|
|
12112
|
+
/**
|
|
12113
|
+
* The recognised subset of a JSON Schema node. Extra keywords are
|
|
12114
|
+
* permitted by the index signature but ignored by the generator.
|
|
12115
|
+
*/
|
|
12116
|
+
interface JsonSchemaLike {
|
|
12117
|
+
/** JSON Schema `type` keyword (`'object'`, `'string'`, `'boolean'`, …). */
|
|
12118
|
+
type?: string;
|
|
12119
|
+
/** Child property schemas, keyed by property name (object schemas). */
|
|
12120
|
+
properties?: Record<string, JsonSchemaLike>;
|
|
12121
|
+
/** Names of required properties. */
|
|
12122
|
+
required?: string[];
|
|
12123
|
+
/** Enumerated allowed values (used for string → dropdown mapping). */
|
|
12124
|
+
enum?: unknown[];
|
|
12125
|
+
/** Human-friendly title; used as the field label when present. */
|
|
12126
|
+
title?: string;
|
|
12127
|
+
/** Free-form description (currently unused by the generator). */
|
|
12128
|
+
description?: string;
|
|
12129
|
+
/** JSON Schema `format` hint (currently unused by the generator). */
|
|
12130
|
+
format?: string;
|
|
12131
|
+
}
|
|
12132
|
+
/** Options controlling the generated form's layout. */
|
|
12133
|
+
interface SchemaFormOptions {
|
|
12134
|
+
/** Document title drawn at the top of the first page. */
|
|
12135
|
+
title?: string | undefined;
|
|
12136
|
+
/** Page size as `[width, height]` in PDF points. Defaults to A4. */
|
|
12137
|
+
pageSize?: [number, number] | undefined;
|
|
12138
|
+
/** Width (points) reserved for the label column. Defaults to 160. */
|
|
12139
|
+
labelWidth?: number | undefined;
|
|
12140
|
+
}
|
|
12141
|
+
/** The kind of AcroForm field generated for a property. */
|
|
12142
|
+
type SchemaFieldKind = "text" | "checkbox" | "dropdown";
|
|
12143
|
+
/** One generated form field descriptor. */
|
|
12144
|
+
interface SchemaFormField {
|
|
12145
|
+
/** The field name (the schema property key). */
|
|
12146
|
+
name: string;
|
|
12147
|
+
/** The AcroForm field kind that was generated. */
|
|
12148
|
+
kind: SchemaFieldKind;
|
|
12149
|
+
}
|
|
12150
|
+
/** Result of {@link buildFormFromJsonSchema}. */
|
|
12151
|
+
interface SchemaFormResult {
|
|
12152
|
+
/** The generated document (NOT yet saved). */
|
|
12153
|
+
doc: PdfDocument;
|
|
12154
|
+
/** The fields that were generated, in property order. */
|
|
12155
|
+
fields: SchemaFormField[];
|
|
12156
|
+
}
|
|
12157
|
+
/**
|
|
12158
|
+
* Build a fillable AcroForm PDF from a JSON-Schema-like description.
|
|
12159
|
+
*
|
|
12160
|
+
* For an object schema, the `properties` are iterated in insertion
|
|
12161
|
+
* order and one labelled form field is emitted per property. Fields
|
|
12162
|
+
* are stacked top-down; when the vertical cursor runs off the page a
|
|
12163
|
+
* new page is added and the cursor reset. Required fields (listed in
|
|
12164
|
+
* the schema's `required` array) are marked with a trailing asterisk in
|
|
12165
|
+
* their label.
|
|
12166
|
+
*
|
|
12167
|
+
* @param schema The JSON-Schema-like description.
|
|
12168
|
+
* @param options Optional layout options.
|
|
12169
|
+
* @returns The generated (unsaved) {@link PdfDocument} and the
|
|
12170
|
+
* list of generated field descriptors.
|
|
12171
|
+
*/
|
|
12172
|
+
declare function buildFormFromJsonSchema(schema: JsonSchemaLike, options?: SchemaFormOptions): SchemaFormResult;
|
|
12173
|
+
//#endregion
|
|
12174
|
+
//#region src/runtime/serverAdapters.d.ts
|
|
12175
|
+
/**
|
|
12176
|
+
* @module runtime/serverAdapters
|
|
12177
|
+
*
|
|
12178
|
+
* Web-standard and Node-flavoured helpers for serving a generated PDF
|
|
12179
|
+
* from an HTTP server.
|
|
12180
|
+
*
|
|
12181
|
+
* The goal is to make "I have a `Uint8Array` of PDF bytes — now send it
|
|
12182
|
+
* to the client" a one-liner in any runtime:
|
|
12183
|
+
*
|
|
12184
|
+
* ```ts
|
|
12185
|
+
* // Cloudflare Workers / Deno / Bun / Node >=18 (Web `Response`):
|
|
12186
|
+
* import { pdfResponse } from 'modern-pdf-lib';
|
|
12187
|
+
* return pdfResponse(await doc.save(), { filename: 'report.pdf', download: true });
|
|
12188
|
+
*
|
|
12189
|
+
* // Express / node:http (no Web `Response`):
|
|
12190
|
+
* import { sendPdfToNodeResponse } from 'modern-pdf-lib';
|
|
12191
|
+
* sendPdfToNodeResponse(res, await doc.save(), { filename: 'report.pdf' });
|
|
12192
|
+
* ```
|
|
12193
|
+
*
|
|
12194
|
+
* Header construction follows **RFC 6266** ("Use of the Content-Disposition
|
|
12195
|
+
* Header Field in HTTP") and its referenced **RFC 5987** extended parameter
|
|
12196
|
+
* encoding:
|
|
12197
|
+
*
|
|
12198
|
+
* - `Content-Disposition` uses the `disposition-type` of either `inline`
|
|
12199
|
+
* (view in browser) or `attachment` (force download).
|
|
12200
|
+
* - The plain `filename` parameter carries an ASCII-only fallback whose
|
|
12201
|
+
* value is a `quoted-string` (so `"` and `\` are backslash-escaped),
|
|
12202
|
+
* per RFC 6266 §4.1 / RFC 2616 quoted-string rules.
|
|
12203
|
+
* - When the filename contains non-ASCII characters, an additional
|
|
12204
|
+
* `filename*` parameter is emitted using the RFC 5987 `ext-value`
|
|
12205
|
+
* grammar: `UTF-8''<percent-encoded-bytes>`. This is the form
|
|
12206
|
+
* recommended by RFC 6266 Appendix D for internationalised filenames,
|
|
12207
|
+
* with the bare `filename` retained as a fallback for legacy agents.
|
|
12208
|
+
*
|
|
12209
|
+
* @see https://www.rfc-editor.org/rfc/rfc6266 — Content-Disposition in HTTP
|
|
12210
|
+
* @see https://www.rfc-editor.org/rfc/rfc5987 — Character set / language
|
|
12211
|
+
* encoding for HTTP header field parameters (the `filename*` form)
|
|
12212
|
+
*
|
|
12213
|
+
* No Node-only modules are imported: `Response` / `ReadableStream` are
|
|
12214
|
+
* feature-detected, and the Node response object is consumed through a
|
|
12215
|
+
* minimal structural interface ({@link NodeServerResponseLike}).
|
|
12216
|
+
*/
|
|
12217
|
+
/**
|
|
12218
|
+
* Options shared by every PDF-serving helper in this module.
|
|
12219
|
+
*
|
|
12220
|
+
* All fields are optional. `exactOptionalPropertyTypes` is enabled in
|
|
12221
|
+
* this project, so each property is declared as `T | undefined` to allow
|
|
12222
|
+
* callers to pass an explicit `undefined`.
|
|
12223
|
+
*/
|
|
12224
|
+
interface PdfResponseOptions {
|
|
12225
|
+
/**
|
|
12226
|
+
* Suggested filename for the document. Used to populate the
|
|
12227
|
+
* `Content-Disposition` header. May contain non-ASCII characters —
|
|
12228
|
+
* an RFC 6266 `filename*` form is emitted automatically when needed.
|
|
12229
|
+
*/
|
|
12230
|
+
filename?: string | undefined;
|
|
12231
|
+
/**
|
|
12232
|
+
* When `true`, the `Content-Disposition` type is `attachment`
|
|
12233
|
+
* (the browser downloads the file). When `false` or omitted it is
|
|
12234
|
+
* `inline` (the browser displays the PDF in a viewer).
|
|
12235
|
+
*/
|
|
12236
|
+
download?: boolean | undefined;
|
|
12237
|
+
/** Value for the `Cache-Control` response header, if any. */
|
|
12238
|
+
cacheControl?: string | undefined;
|
|
12239
|
+
/** HTTP status code (default `200`). */
|
|
12240
|
+
status?: number | undefined;
|
|
12241
|
+
/**
|
|
12242
|
+
* Additional response headers. These are merged *first*, so the
|
|
12243
|
+
* core PDF headers (Content-Type / Content-Length / Content-Disposition)
|
|
12244
|
+
* always take precedence over any same-named custom header.
|
|
12245
|
+
*/
|
|
12246
|
+
headers?: Record<string, string> | undefined;
|
|
12247
|
+
/**
|
|
12248
|
+
* Value for the `Last-Modified` response header. Serialised with
|
|
12249
|
+
* {@link Date.toUTCString} (the HTTP-date format).
|
|
12250
|
+
*/
|
|
12251
|
+
lastModified?: Date | undefined;
|
|
12252
|
+
}
|
|
12253
|
+
/**
|
|
12254
|
+
* Build the set of HTTP response headers for serving a PDF body.
|
|
12255
|
+
*
|
|
12256
|
+
* Always includes `Content-Type: application/pdf`, a numeric
|
|
12257
|
+
* `Content-Length`, and a `Content-Disposition` (`inline` by default,
|
|
12258
|
+
* `attachment` when `options.download` is `true`). `Cache-Control` and
|
|
12259
|
+
* `Last-Modified` are added only when supplied.
|
|
12260
|
+
*
|
|
12261
|
+
* Custom headers from `options.headers` are merged first so the core PDF
|
|
12262
|
+
* headers always win on conflict.
|
|
12263
|
+
*
|
|
12264
|
+
* @param byteLength Length of the PDF body in bytes (the `Content-Length`).
|
|
12265
|
+
* @param options Optional response shaping (see {@link PdfResponseOptions}).
|
|
12266
|
+
* @returns A plain object of header name → value.
|
|
12267
|
+
*/
|
|
12268
|
+
declare function pdfHeaders(byteLength: number, options?: PdfResponseOptions): Record<string, string>;
|
|
12269
|
+
/**
|
|
12270
|
+
* Build a Web-standard {@link Response} that streams the given PDF bytes
|
|
12271
|
+
* to the client with the correct headers and status code.
|
|
12272
|
+
*
|
|
12273
|
+
* Works in any runtime with the Fetch API: Cloudflare Workers, Deno, Bun,
|
|
12274
|
+
* Node >=18, and browsers (e.g. inside a Service Worker).
|
|
12275
|
+
*
|
|
12276
|
+
* @param bytes The PDF body.
|
|
12277
|
+
* @param options Optional response shaping (see {@link PdfResponseOptions}).
|
|
12278
|
+
* @returns A `Response` with status `options.status ?? 200`.
|
|
12279
|
+
* @throws If the runtime lacks the `Response` constructor.
|
|
12280
|
+
*/
|
|
12281
|
+
declare function pdfResponse(bytes: Uint8Array, options?: PdfResponseOptions): Response;
|
|
12282
|
+
/**
|
|
12283
|
+
* Build a streaming Web-standard {@link Response} from a
|
|
12284
|
+
* `ReadableStream` of PDF bytes (e.g. from `doc.saveAsStream()`).
|
|
12285
|
+
*
|
|
12286
|
+
* Because the total size is generally unknown up-front, `Content-Length`
|
|
12287
|
+
* is **omitted** unless `options.byteLength` is supplied — allowing the
|
|
12288
|
+
* runtime to use chunked transfer encoding.
|
|
12289
|
+
*
|
|
12290
|
+
* @param stream A readable stream of the PDF body.
|
|
12291
|
+
* @param options Response shaping plus an optional known `byteLength`.
|
|
12292
|
+
* @returns A streaming `Response`.
|
|
12293
|
+
* @throws If the runtime lacks the `Response` constructor.
|
|
12294
|
+
*/
|
|
12295
|
+
declare function pdfStreamResponse(stream: ReadableStream<Uint8Array>, options?: PdfResponseOptions & {
|
|
12296
|
+
byteLength?: number | undefined;
|
|
12297
|
+
}): Response;
|
|
12298
|
+
/**
|
|
12299
|
+
* The minimal structural shape of a Node `http.ServerResponse` (also
|
|
12300
|
+
* satisfied by Express's `res`). Declared inline so that this module
|
|
12301
|
+
* never imports `node:http` and stays runtime-agnostic.
|
|
12302
|
+
*/
|
|
12303
|
+
interface NodeServerResponseLike {
|
|
12304
|
+
/** Write the status line and response headers. */
|
|
12305
|
+
writeHead(status: number, headers: Record<string, string>): void;
|
|
12306
|
+
/** Write the final body chunk and end the response. */
|
|
12307
|
+
end(chunk: Uint8Array): void;
|
|
12308
|
+
}
|
|
12309
|
+
/**
|
|
12310
|
+
* Send a PDF body to a classic Node-style response object
|
|
12311
|
+
* (`http.ServerResponse` or Express `res`).
|
|
12312
|
+
*
|
|
12313
|
+
* This calls {@link NodeServerResponseLike.writeHead} with the status and
|
|
12314
|
+
* {@link pdfHeaders}, then {@link NodeServerResponseLike.end} with the body.
|
|
12315
|
+
*
|
|
12316
|
+
* @param res The response object (structural typing — no import).
|
|
12317
|
+
* @param bytes The PDF body.
|
|
12318
|
+
* @param options Optional response shaping (see {@link PdfResponseOptions}).
|
|
12319
|
+
*/
|
|
12320
|
+
declare function sendPdfToNodeResponse(res: NodeServerResponseLike, bytes: Uint8Array, options?: PdfResponseOptions): void;
|
|
12321
|
+
//#endregion
|
|
11523
12322
|
//#region src/render/matrix.d.ts
|
|
11524
12323
|
/**
|
|
11525
12324
|
* @module render/matrix
|
|
@@ -12925,7 +13724,7 @@ declare function parseCiiXml(xml: string): Invoice;
|
|
|
12925
13724
|
*/
|
|
12926
13725
|
declare function detectFacturXProfile(xml: string): FacturXProfile | undefined;
|
|
12927
13726
|
declare namespace index_d_exports {
|
|
12928
|
-
export { AFDate_FormatEx, AFNumber_Format, AFRelationship, AFSpecial_Format, AccessibilityIssue, AccessibilityPluginOptions, AddBookmarkOptions, AnalysisReport, AnalyzeImagesOptions, Angle, AnnotationFlags, AnnotationOptions, AnnotationType, AppearanceProviderFor, AppendOptions, ApplyOcrOptions, AssociatedFileOptions, AssociatedFileResult, AutoTagOptions, AutoTagResult, AvarSegmentMap, BarcodeMatrix, BarcodeOptions, BarcodeReadResult, BatchErrorStrategy, BatchOptimizeOptions, BatchOptions, BatchProcessingError, BatchProgressCallback, BatchResult, BidiDirection, BidiResult, BidiRun, BitsPerComponent, BitsPerCoordinate, BitsPerFlag, BlendMode$1 as BlendMode, BookmarkNode, BookmarkRef, BoxGeometry, ButtonAppearanceOptions, ByteRangeResult, ByteWriter, CIDFontData, CIDSystemInfoData, CalGrayParams, CalRGBParams, Canvas2DLike, CanvasRenderOptions, CaretSymbol, CatalogOptions, CellContent, CertPathResult, ChangeTracker, CheckboxAppearanceOptions, ChromaSubsampling, CmykColor, Code128Options, Code39Options, CodeFrameOptions, CollectionOptions, CollectionSchemaField, CollectionView, Color, ColorFontInfo, ColorGlyphLayer, ColorStop, CombedTextLayoutError, CompareOptions, CompositeOp, ComputeFontSizeOptions, ContentStreamOperator, CoonsPatch, CoonsPatchOptions, CounterSignatureInfo, CpalPalette, CropBox, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE, DEFAULT_SARIF_TOOL_NAME, DataMatrixOptions, DataMatrixResult, DeclaredInvoiceTotals, DecodedRasterImage, 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, EInvoiceIssue, EKU_OIDS, BarcodeOptions as EanOptions, EmbedFontOptions, EmbedPageOptions, EmbeddedFile, EmbeddedFont, EmbeddedPdfPage, EncryptAlgorithm, EncryptDictValues, EncryptOptions, EncryptedPayloadOptions, EncryptedPdfError, EncryptionReport, EnforcePdfAOptions, EnforcePdfAResult, EnforcementAction, ErrorCorrectionLevel, ExceededMaxLengthError, ExponentialFunction, ExternalSigner, ExtractedFont, ExtractedImage, ExtractedTable, FacturXAssembleOptions, FacturXProfile, FallbackFont, FallbackRun, FetchLike, FetchLikeResponse, FieldAlreadyExistsError, FieldExistsAsNonTerminalError, FieldFlags, FieldLockInfo, FieldLockOptions, FieldType, FileAttachmentIcon, FillItem, FlaggedVertex, FlattenFormResult, FlattenOptions, FontDescriptorData, FontEmbeddingResult, FontFileFormat, FontMetrics, FontNotEmbeddedError, FontRef, ForeignPageError, FreeFormGouraudOptions, FreeTextAlignment, FunctionShadingOptions, GradientFill, GrayscaleColor, HeaderFooterContent, HeaderFooterOptions, HeaderFooterPosition, IccProfile, IccTransformInfo, IfdEntry, ImageAlignment, ImageAnalysis, ImageDecoder, 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, LIST_NUMBERING_KEY, LabParams, LatticeFormGouraudOptions, LayoutCombedOptions, LayoutMultilineOptions, LayoutMultilineResult, LayoutSinglelineOptions, LayoutSinglelineResult, LineCapStyle, LineEndingStyle, LineJoinStyle, LinearGradientOptions, LinearizationInfo, LinearizationOptions, LinkHighlightMode, ListNumbering, ListboxAppearanceOptions, LoadPdfOptions, LtvOptions, MATHML_NAMESPACE, MarkdownToPdfOptions, MarkedContentScope, Matrix, MdpPermission, MeshShadingCommon, MeshVertex, MetadataPluginOptions, MissingOnValueCheckError, ModificationReport, ModificationViolation, ModificationViolationType, MultiPageTableResult, NamedInstance, NamespaceDef, NestedTableContent, NextGenFormat, NextGenImageInfo, 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, PdfUa2Issue, PdfUa2Result, PdfUaEnforcementResult, PdfUaError, PdfUaLevel, PdfUaValidationResult, PdfUaWarning, PdfUnderlineAnnotation, PdfViewerPreferences, PdfVtConformance, PdfWorker, PdfWorkerOptions, PdfWriter, PdfX6Options, PdfX6Variant, PermissionFlags, PluginDocument, PluginError, PluginPage, PostScriptFunction, PreflightIssue, PrepareAppearanceOptions, PresetName, PresetOptions, ProfileXmpOptions, ProgressInfo, QrCodeMatrix, QrCodeOptions, RadialGradientFill, RadialGradientOptions, Radians, RadioAppearanceOptions, RangeFetchOptions, RangeFetcher, RasterBuffer, RasterImage, RawImageData, RecompressOptions, ReconstructOptions, RedactRect, RedactResult, RedactionLeak, RedactionMark, RedactionOperatorOptions, RedactionOptions, RedactionRegion, RedactionResult, RedactionVerificationReport, RefResolver, RegistryEntry, RemovePageFromEmptyDocumentError, RenderCache, RenderOptions, RequirementType, RgbColor, Rgba, RichTextFieldReadError, RuntimeKind, SARIF_SCHEMA_URI, SRGB_ICC_PROFILE, STANDARD_SPOT_FUNCTIONS, SampledFunction, SanitizeClass, SanitizeOptions, SanitizeReport, 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, TaggedListItem, TaskRunner, TensorPatch, TensorPatchOptions, TextAlignment$1 as TextAlignment, TextAnnotationIcon, TextAppearanceOptions, TextItem as TextDisplayItem, TextExtractionOptions, TextItem$1 as TextItem, Line as TextLine, Paragraph as TextParagraph, TextRenderingMode, TextRun, ThreatFinding, ThreatReport, ThreatSeverity, ThumbnailOptions, TiffCmykEmbedResult, TiffDecodeOptions, TiffIfdEntry, TiffImage, TileGrid, TileOptions, TilingPatternOptions, TimestampPluginOptions, TimestampResult, TrailerInfo, TransparencyFinding, TransparencyGroupOptions, TransparencyInfo, TrustStore, Type0FontData, Type1Halftone, UnexpectedFieldTypeError, BarcodeOptions as UpcOptions, VNode, ValidatableInvoice, ValidationFinding, ValidationLevel, VariableFontInfo, VariationAxis, 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, assembleFacturX, assembleTiles, attachAssociatedFiles, attachFile, attachOutputIntents, autoTagPage, base64Decode, base64Encode, batchFlatten, batchMerge, beginArtifact, beginArtifactWithType, beginLayerContent, beginMarkedContent, beginMarkedContentSequence, beginMarkedContentWithProperties, beginText, borderedPreset, buildAfArray, buildAnnotationDict, buildBlackPointCompensationExtGState, buildBoxDict, buildCalGray, buildCalRGB, buildCatalog, buildCertPath, buildCertificateChain, buildCollection, buildColorKeyMask, buildCoonsPatchShading, buildDPartRoot, buildDeviceNColorSpace, buildDocMdpReference, buildDocTimeStampDict, buildDocumentStructure, buildDssDictionary, buildEmbeddedFilesNameTree, buildEncryptedPayload, buildFacturXXmp, buildFieldLockDict, buildFreeFormGouraudShading, buildFunctionShading, buildGradientObjects, buildGtsPdfxVersion, buildImageSoftMask, buildInfoDict, buildLab, buildLatticeFormGouraudShading, buildNamespace, buildNamespacesArray, buildOutputIntent, buildPageOutputIntent, buildPageTree, buildPatternObjects, buildPdfA4Xmp, buildPdfRIdentificationXmp, buildPdfUa2Xmp, buildPdfVtDParts, buildPdfX6OutputIntent, buildPdfXOutputIntent, buildPieceInfo, buildPkcs7Signature, buildRequirement, buildRequirements, buildSampledTransferFunction, buildSeparationColorSpace, buildSigningCertificateV2Attribute, buildSoftMaskGroupExtGState, buildSoftMaskNone, buildStencilMask, buildTensorPatchShading, buildThresholdHalftone, buildTimestampRequest, buildType1Halftone, buildType5Halftone, buildUnencryptedWrapper, buildViewerPreferencesDict, buildVtDpm, buildWtpdfIdentificationXmp, 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, convertPdfAConformanceXmp, 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, decodeRegisteredImage, decodeStream, decodeTiff, decodeTiffAll, decodeTiffPage, decodeTile, decodeTileRegion, decodeWebP, decodeWoff, deduplicateImages, degrees, degreesToRadians, delinearizePdf, detectFacturXProfile, detectImageFormat, detectModifications, detectNextGenFormat, detectRuntime, detectTransparency, deviceNColor, deviceNResourceName, deviceRgbToXyz, 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, extractSigningCertificateV2, extractTables, extractText, extractTextWithPositions, extractXmpMetadata, feBlend, feColorMatrix, feColorMatrixSaturate, feComposite, feFlood, feGaussianBlur, feOffset, 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, getColorGlyphLayers, getComponentDepths, getCounterSignatures, getFieldLocks, getFieldValue, getImageDecoder, getImageFormatName, getInlineWasmBytes, getInlineWasmSize, getLinearizationInfo, getPageLabels, getPageSize, getProfile, getRedactionMarks, getSignatures, getSupportedFormats, getSupportedLevels, getTiffPageCount, getToUnicodeCmap, grayscale, gtsPdfVtVersion, hasImageDecoder, hasInlineWasmData, hasLtvData, hexToColor, hslToRgb, hsvToRgb, identityTransferFunction, initJpegWasm, initWasm, injectJpegMetadata, insertPage, inspectEncryption, 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, normalizeAxisCoordinate, normalizeComponentDepth, offsetSignedToUnsigned, optimizeAllImages, optimizeImage, optimizeIncrementalSave, parseAcrobatDate, parseCiiXml, parseColorFont, parseContentStream, parseExistingTrailer, parseIccColorSpace, parseIccDescription, parseIccTransform, parseSvg, parseSvgColor, parseSvgPath, parseSvgTransform, parseTiffIfd, parseTileInfo, parseTimestampResponse, parseVariableFont, parseViewerPreferences, parseXmpMetadata$1 as parseXmpMetadata, parseXmpMetadata as parseXmpPdfAMetadata, pdf417ToOperators, pdfA4Rules, restoreState as popGraphicsState, preflightPdfA, preloadInlineWasm, prepareForSigning, probeNextGenImage, 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, registerImageDecoder, removeAllBookmarks, removeBookmark, removePage, removePageLabels, removePages, renderCodeFrame, renderDisplayListToCanvas, renderMultiPageTable, renderPageTile, renderPageToCanvas, renderPageToImage, renderStyledBarcode, renderTable, renderToPdf, reorderVisual, replaceTemplateVariables, requestTimestamp, resetWasmLoader, resizePage, resolveBidi, resolveFallback, resolveFieldReference, resolveInstanceCoordinates, restoreState, reversePages, rgb, rgbToCmyk, rgbToHsl, rgbToHsv, rgbToLab, rgbToXyz, rotateAllPages, rotate as rotateOp, rotatePage, rotationMatrix, sampleShadingColor, sanitizePdf, saveDocumentIncremental, saveIncremental, saveIncrementalWithSignaturePreservation, saveState, scale as scaleOp, scanPdfThreats, 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, tagFigure, tagHeading, tagLink, tagList, tagListItem, tagParagraph, tagTable, tagTableDataCell, tagTableHeaderCell, tagTableRow, tilingPattern, timestampPlugin, toAlpha, toJsonReport, toRoman, toSarif, translate as translateOp, truncateText, unregisterImageDecoder, upcAToOperators, upscale8To16, validateBoxGeometry, validateByteRangeIntegrity, validateCertificateChain, validateCertificatePolicy, validateEn16931, validateExtendedKeyUsage, validateFieldValue, validateKeyUsage, validatePdfA, validatePdfUa, validatePdfUa2, validatePdfX, validateSignatureChain, validateXmpMetadata, valuesToModules, verifyOfflineRevocation, verifyOwnerPassword, verifyRedactions, verifySignature, verifySignatureDetailed, verifySignatures, verifyUserPassword, webpToJpeg, webpToPng, wrapInMarkedContent, wrapText, xyzToLab, xyzToRgb };
|
|
13727
|
+
export { AFDate_FormatEx, AFNumber_Format, AFRelationship, AFSpecial_Format, AccessibilityIssue, AccessibilityPluginOptions, AddBookmarkOptions, AnalysisReport, AnalyzeImagesOptions, Angle, AnnotationFlags, AnnotationOptions, AnnotationType, AppearanceProviderFor, AppendOptions, ApplyOcrOptions, AssociatedFileOptions, AssociatedFileResult, AutoTagOptions, AutoTagResult, AvarSegmentMap, BarcodeMatrix, BarcodeOptions, BarcodeReadResult, BatchErrorStrategy, BatchOptimizeOptions, BatchOptions, BatchProcessingError, BatchProgressCallback, BatchResult, BidiDirection, BidiResult, BidiRun, BitsPerComponent, BitsPerCoordinate, BitsPerFlag, BlendMode$1 as BlendMode, BookmarkNode, BookmarkRef, BoxGeometry, ButtonAppearanceOptions, ByteRangeResult, ByteWriter, CIDFontData, CIDSystemInfoData, CalGrayParams, CalRGBParams, Canvas2DLike, CanvasRenderOptions, CaretSymbol, CatalogOptions, CellContent, CertPathResult, ChangeTracker, CheckboxAppearanceOptions, ChromaSubsampling, CmykColor, Code128Options, Code39Options, CodeFrameOptions, CollectionOptions, CollectionSchemaField, CollectionView, Color, ColorFontInfo, ColorGlyphLayer, ColorStop, CombedTextLayoutError, CompareOptions, CompositeOp, ComputeFontSizeOptions, ContentStreamOperator, CoonsPatch, CoonsPatchOptions, CounterSignatureInfo, CpalPalette, CropBox, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE, DEFAULT_SARIF_TOOL_NAME, DataMatrixOptions, DataMatrixResult, DeclaredInvoiceTotals, DecodedRasterImage, 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, EInvoiceIssue, EKU_OIDS, BarcodeOptions as EanOptions, EmbedFontOptions, EmbedPageOptions, EmbeddedFile, EmbeddedFont, EmbeddedPdfPage, EncryptAlgorithm, EncryptDictValues, EncryptOptions, EncryptedPayloadOptions, EncryptedPdfError, EncryptionReport, EnforcePdfAOptions, EnforcePdfAResult, EnforcementAction, ErrorCorrectionLevel, ExceededMaxLengthError, ExponentialFunction, ExternalSigner, ExtractedFont, ExtractedImage, ExtractedTable, FacturXAssembleOptions, FacturXProfile, FallbackFont, FallbackRun, FetchLike, FetchLikeResponse, FieldAlreadyExistsError, FieldExistsAsNonTerminalError, FieldFlags, FieldLockInfo, FieldLockOptions, FieldType, FileAttachmentIcon, FillItem, FlaggedVertex, FlattenFormResult, FlattenOptions, FontDescriptorData, FontEmbeddingResult, FontFileFormat, FontMetrics, FontNotEmbeddedError, FontRef, ForeignPageError, Fragment, FreeFormGouraudOptions, FreeTextAlignment, FunctionShadingOptions, GradientFill, GrayscaleColor, HeaderFooterContent, HeaderFooterOptions, HeaderFooterPosition, IccProfile, IccTransformInfo, IfdEntry, ImageAlignment, ImageAnalysis, ImageDecoder, 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, JsonSchemaLike, LIST_NUMBERING_KEY, LabParams, LatticeFormGouraudOptions, LayoutCombedOptions, LayoutMultilineOptions, LayoutMultilineResult, LayoutSinglelineOptions, LayoutSinglelineResult, LineCapStyle, LineEndingStyle, LineJoinStyle, LinearGradientOptions, LinearizationInfo, LinearizationOptions, LinkHighlightMode, ListNumbering, ListboxAppearanceOptions, LoadPdfOptions, LtvOptions, MATHML_NAMESPACE, MarkdownToPdfOptions, MarkedContentScope, Matrix, MdpPermission, MemoryBudget, MemoryBudgetExceededError, MemoryBudgetOptions, MeshShadingCommon, MeshVertex, MetadataPluginOptions, MissingOnValueCheckError, ModificationReport, ModificationViolation, ModificationViolationType, MultiPageTableResult, NamedInstance, NamespaceDef, NestedTableContent, NextGenFormat, NextGenImageInfo, NoSuchFieldError, NodeServerResponseLike, 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, PdfComponent, PdfDict, PdfDocument, PdfDocumentBuilder, PdfDropdownField, PdfElement, PdfEncryptionHandler, PdfField, PdfFileAttachmentAnnotation, PdfForm, PdfFreeTextAnnotation, PdfFunctionDef, PdfHighlightAnnotation, PdfInkAnnotation, PdfLayer, PdfLayerManager, PdfLineAnnotation, PdfLinkAnnotation, PdfListboxField, PdfName, PdfNode, PdfNull, PdfNumber, PdfObject, PdfObjectRegistry, PdfOutlineItem, PdfOutlineTree, PdfPage, PdfParseError, PdfPermissionFlags, PdfPlugin, PdfPluginManager, PdfPolyLineAnnotation, PdfPolygonAnnotation, PdfPopupAnnotation, PdfRadioGroup, PdfRect, PdfRedactAnnotation, PdfRef, PdfResponseOptions, PdfSaveOptions, PdfSignatureField, PdfSignatureInfo, PdfSquareAnnotation, PdfSquigglyAnnotation, PdfStampAnnotation, PdfStream, PdfStreamWriter, PdfStrikeOutAnnotation, PdfString, PdfStructureElement, PdfStructureTree, PdfTextAnnotation, PdfTextField, PdfUa2Issue, PdfUa2Result, PdfUaEnforcementResult, PdfUaError, PdfUaLevel, PdfUaValidationResult, PdfUaWarning, PdfUnderlineAnnotation, PdfViewerPreferences, PdfVtConformance, PdfWorker, PdfWorkerOptions, PdfWriter, PdfX6Options, PdfX6Variant, PermissionFlags, PluginDocument, PluginError, PluginPage, PostScriptFunction, PreflightIssue, PrepareAppearanceOptions, PresetName, PresetOptions, ProfileXmpOptions, ProgressInfo, QrCodeMatrix, QrCodeOptions, RadialGradientFill, RadialGradientOptions, Radians, RadioAppearanceOptions, RangeFetchOptions, RangeFetcher, RasterBuffer, RasterImage, RawImageData, RecompressOptions, ReconstructOptions, RedactRect, RedactResult, RedactionLeak, RedactionMark, RedactionOperatorOptions, RedactionOptions, RedactionRegion, RedactionResult, RedactionVerificationReport, RefResolver, RegistryEntry, RemovePageFromEmptyDocumentError, RenderCache, RenderOptions, RequirementType, RgbColor, Rgba, RichTextFieldReadError, RuntimeCapabilities, RuntimeKind, SARIF_SCHEMA_URI, SIMD_NOTE, SRGB_ICC_PROFILE, STANDARD_SPOT_FUNCTIONS, SampledFunction, SanitizeClass, SanitizeOptions, SanitizeReport, SarifLog, SarifResult, SarifRun, SchemaFieldKind, SchemaFormField, SchemaFormOptions, SchemaFormResult, ScriptRun, SetTitleOptions, SharedCounter, SharedFlag, SharedFlagWaitResult, SharedRingBuffer, 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, TaggedListItem, TaskRunner, TensorPatch, TensorPatchOptions, TextAlignment$1 as TextAlignment, TextAnnotationIcon, TextAppearanceOptions, TextItem as TextDisplayItem, TextExtractionOptions, TextItem$1 as TextItem, Line as TextLine, Paragraph as TextParagraph, TextRenderingMode, TextRun, ThreatFinding, ThreatReport, ThreatSeverity, ThumbnailOptions, TiffCmykEmbedResult, TiffDecodeOptions, TiffIfdEntry, TiffImage, TileGrid, TileOptions, TilingPatternOptions, TimestampPluginOptions, TimestampResult, TrailerInfo, TransparencyFinding, TransparencyGroupOptions, TransparencyInfo, TrustStore, Type0FontData, Type1Halftone, UnexpectedFieldTypeError, BarcodeOptions as UpcOptions, VNode, ValidatableInvoice, ValidationFinding, ValidationLevel, VariableFontInfo, VariationAxis, 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, assembleFacturX, assembleTiles, attachAssociatedFiles, attachFile, attachOutputIntents, autoTagPage, base64Decode, base64Encode, batchFlatten, batchMerge, beginArtifact, beginArtifactWithType, beginLayerContent, beginMarkedContent, beginMarkedContentSequence, beginMarkedContentWithProperties, beginText, borderedPreset, buildAfArray, buildAnnotationDict, buildBlackPointCompensationExtGState, buildBoxDict, buildCalGray, buildCalRGB, buildCatalog, buildCertPath, buildCertificateChain, buildCollection, buildColorKeyMask, buildCoonsPatchShading, buildDPartRoot, buildDeviceNColorSpace, buildDocMdpReference, buildDocTimeStampDict, buildDocumentStructure, buildDssDictionary, buildEmbeddedFilesNameTree, buildEncryptedPayload, buildFacturXXmp, buildFieldLockDict, buildFormFromJsonSchema, buildFreeFormGouraudShading, buildFunctionShading, buildGradientObjects, buildGtsPdfxVersion, buildImageSoftMask, buildInfoDict, buildLab, buildLatticeFormGouraudShading, buildNamespace, buildNamespacesArray, buildOutputIntent, buildPageOutputIntent, buildPageTree, buildPatternObjects, buildPdfA4Xmp, buildPdfRIdentificationXmp, buildPdfUa2Xmp, buildPdfVtDParts, buildPdfX6OutputIntent, buildPdfXOutputIntent, buildPieceInfo, buildPkcs7Signature, buildRequirement, buildRequirements, buildSampledTransferFunction, buildSeparationColorSpace, buildSigningCertificateV2Attribute, buildSoftMaskGroupExtGState, buildSoftMaskNone, buildStencilMask, buildTensorPatchShading, buildThresholdHalftone, buildTimestampRequest, buildType1Halftone, buildType5Halftone, buildUnencryptedWrapper, buildViewerPreferencesDict, buildVtDpm, buildWtpdfIdentificationXmp, 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, convertPdfAConformanceXmp, convertTiffCmykToRgb, convertToGrayscale, copyPages, countOccurrences, createAnnotation, createAssociatedFile, createMarkedContentScope, createMemoryBudget, createPdf, createRangeFetcher, createSandbox, h$1 as createVNode, createWorkerPool, createXmpStream, cropPage, curveToFinal, curveToInitial, curveTo as curveToOp, dataMatrixToOperators, decodeImageStream, decodeJpeg2000, decodeJpegWasm, decodePermissions, decodeRegisteredImage, decodeStream, decodeTiff, decodeTiffAll, decodeTiffPage, decodeTile, decodeTileRegion, decodeWebP, decodeWoff, deduplicateImages, degrees, degreesToRadians, delinearizePdf, detectFacturXProfile, detectImageFormat, detectModifications, detectNextGenFormat, detectRuntime, detectRuntimeCapabilities, detectTransparency, deviceNColor, deviceNResourceName, deviceRgbToXyz, 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, extractSigningCertificateV2, extractTables, extractText, extractTextWithPositions, extractXmpMetadata, feBlend, feColorMatrix, feColorMatrixSaturate, feComposite, feFlood, feGaussianBlur, feOffset, 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, getColorGlyphLayers, getComponentDepths, getCounterSignatures, getFieldLocks, getFieldValue, getImageDecoder, getImageFormatName, getInlineWasmBytes, getInlineWasmSize, getLinearizationInfo, getPageLabels, getPageSize, getProfile, getRedactionMarks, getSignatures, getSupportedFormats, getSupportedLevels, getTiffPageCount, getToUnicodeCmap, grayscale, gtsPdfVtVersion, hasImageDecoder, hasInlineWasmData, hasLtvData, hexToColor, hslToRgb, hsvToRgb, identityTransferFunction, initJpegWasm, initWasm, injectJpegMetadata, insertPage, inspectEncryption, instantiateWasmModuleStreaming, interpolateLinearRgb, interpretContentStream, interpretPage, isAccessible, isCertificateRevoked, isCmykTiff, isGrayscaleImage, isJpegWasmReady, isLinearized, isOpenTypeCFF, isSharedMemoryAvailable, isTiff, isTrueType, isValidLevel, isValidModuleName, isWasmDisabled, isWasmModuleCached, isWasmSimdSupported, isWebP, isWebPLossless, isWoff, isWoff2, itfToOperators, jsx, h as jsxh, jsxs, 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, normalizeAxisCoordinate, normalizeComponentDepth, offsetSignedToUnsigned, optimizeAllImages, optimizeImage, optimizeIncrementalSave, parseAcrobatDate, parseCiiXml, parseColorFont, parseContentStream, parseExistingTrailer, parseIccColorSpace, parseIccDescription, parseIccTransform, parseSvg, parseSvgColor, parseSvgPath, parseSvgTransform, parseTiffIfd, parseTileInfo, parseTimestampResponse, parseVariableFont, parseViewerPreferences, parseXmpMetadata$1 as parseXmpMetadata, parseXmpMetadata as parseXmpPdfAMetadata, pdf417ToOperators, pdfA4Rules, pdfHeaders, pdfResponse, pdfStreamResponse, restoreState as popGraphicsState, preflightPdfA, preloadInlineWasm, prepareForSigning, probeNextGenImage, 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, registerImageDecoder, removeAllBookmarks, removeBookmark, removePage, removePageLabels, removePages, renderCodeFrame, renderDisplayListToCanvas, renderToPdf as renderJsxToPdf, renderMultiPageTable, renderPageTile, renderPageToCanvas, renderPageToImage, renderStyledBarcode, renderTable, renderToPdf$1 as renderToPdf, reorderVisual, replaceTemplateVariables, requestTimestamp, resetWasmLoader, resizePage, resolveBidi, resolveFallback, resolveFieldReference, resolveInstanceCoordinates, restoreState, reversePages, rgb, rgbToCmyk, rgbToHsl, rgbToHsv, rgbToLab, rgbToXyz, rotateAllPages, rotate as rotateOp, rotatePage, rotationMatrix, sampleShadingColor, sanitizePdf, saveDocumentIncremental, saveIncremental, saveIncrementalWithSignaturePreservation, saveState, scale as scaleOp, scanPdfThreats, searchTextItems, sendPdfToNodeResponse, 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, tagFigure, tagHeading, tagLink, tagList, tagListItem, tagParagraph, tagTable, tagTableDataCell, tagTableHeaderCell, tagTableRow, tilingPattern, timestampPlugin, toAlpha, toJsonReport, toRoman, toSarif, translate as translateOp, truncateText, unregisterImageDecoder, upcAToOperators, upscale8To16, validateBoxGeometry, validateByteRangeIntegrity, validateCertificateChain, validateCertificatePolicy, validateEn16931, validateExtendedKeyUsage, validateFieldValue, validateKeyUsage, validatePdfA, validatePdfUa, validatePdfUa2, validatePdfX, validateSignatureChain, validateXmpMetadata, valuesToModules, verifyOfflineRevocation, verifyOwnerPassword, verifyRedactions, verifySignature, verifySignatureDetailed, verifySignatures, verifyUserPassword, webpToJpeg, webpToPng, wrapInMarkedContent, wrapText, xyzToLab, xyzToRgb };
|
|
12929
13728
|
}
|
|
12930
13729
|
/**
|
|
12931
13730
|
* Options for WASM module initialization.
|
|
@@ -12977,5 +13776,5 @@ interface InitWasmOptions {
|
|
|
12977
13776
|
*/
|
|
12978
13777
|
declare function initWasm(options?: string | URL | InitWasmOptions): Promise<void>;
|
|
12979
13778
|
//#endregion
|
|
12980
|
-
export { attachAssociatedFiles as $, TimestampPluginOptions as $a, TiffCmykEmbedResult as $c, encodeOctetString as $d, getFieldValue as $f, SampledFunction as $i, PdfAXmpOptions as $l, resolveBidi as $n, StreamingParseError as $o, setLeading as $p, VNode as $r, encodeItf as $s, DecodedRasterImage as $t, DocumentDiff as $u, tagHeading as A, ValidationLevel as Aa, TiffImage as Ac, validateExtendedKeyUsage as Ad, StandardStampName as Af, Invoice as Ai, RecompressOptions as Al, setDashPattern as Am, MeshVertex as An, removeAllBookmarks as Ao, PdfStreamWriter as Ap, decodeTile as Ar, readCode39 as As, rasterize as At, PdfALevel as Au, buildColorKeyMask as B, buildRequirement as Ba, isWebPLossless as Bc, checkCertificateStatus as Bd, PdfUnderlineAnnotation as Bf, buildPdfX6OutputIntent as Bi, initJpegWasm as Bl, IncrementalSaveResult as Bm, getColorGlyphLayers as Bn, ExceededMaxLengthError as Bo, endMarkedContent as Bp, ExternalSigner as Br, DataMatrixOptions as Bs, StrokeItem as Bt, IncrementalChange as Bu, PdfUa2Result as C, DEFAULT_SARIF_TOOL_NAME as Ca, isWasmModuleCached as Cc, findExistingSignatures as Cd, PdfFileAttachmentAnnotation as Cf, buildFunctionShading as Ci, OptimizationReport as Cl, fill as Cm, BitsPerFlag as Cn, removePageLabels as Co, validatePdfUa as Cp, downscale16To8 as Cr, borderedPreset as Cs, generateThumbnail as Ct, SRGB_ICC_PROFILE as Cu, ListNumbering as D, SarifResult as Da, resetWasmLoader as Dc, verifySignatureDetailed as Dd, PdfRedactAnnotation as Df, levenshtein as Di, ImageOptimizeOptions as Dl, lineTo as Dm, FreeFormGouraudOptions as Dn, BookmarkRef as Do, buildXmpMetadata as Dp, summarizeBitDepth as Dr, BarcodeReadResult as Ds, renderPageToCanvas as Dt, detectTransparency as Du, LIST_NUMBERING_KEY as E, SarifLog as Ea, provideWasmBytes as Ec, validateByteRangeIntegrity as Ed, PdfPopupAnnotation as Ef, didYouMean as Ei, DownscaleOptions as El, fillEvenOddAndStroke as Em, FlaggedVertex as En, BookmarkNode as Eo, summarizeIssues as Ep, offsetSignedToUnsigned as Er, stripedPreset as Es, renderDisplayListToCanvas as Et, TransparencyInfo as Eu, tagTable as F, PDF2_NAMESPACE as Fa, isTiff as Fc, buildCertificateChain as Fd, PdfPolygonAnnotation as Ff, PdfRect as Fi, ChromaSubsampling as Fl, setMiterLimit as Fm, buildLatticeFormGouraudShading as Fn, flattenFields as Fo, beginMarkedContent as Fp, isWoff as Fr, renderStyledBarcode as Fs, DisplayItem as Ft, LinearizationOptions as Fu, buildSoftMaskNone as G, TableExtractOptions as Ga, encodePngFromPixels as Gc, requestTimestamp as Gd, PdfTextAnnotation as Gf, buildThresholdHalftone as Gi, applyRedaction as Gl, VariationAxis as Gn, InvalidColorError as Go, beginText as Gp, WorkerPoolOptions as Gr, encodeUpcA as Gs, RasterBuffer as Gt, LtvOptions as Gu, buildStencilMask as H, DocumentPart as Ha, DirectEmbedResult as Hc, TimestampResult as Hd, PdfFreeTextAnnotation as Hf, STANDARD_SPOT_FUNCTIONS as Hi, OverlayAlignment as Hl, saveIncremental as Hm, AvarSegmentMap as Hn, FieldExistsAsNonTerminalError as Ho, drawImageWithMatrix as Hp, signDeferred as Hr, dataMatrixToOperators as Hs, TextItem as Ht, findChangedObjects as Hu, tagTableDataCell as I, buildNamespace as Ia, parseTiffIfd as Ic, validateCertificateChain as Id, PdfSquareAnnotation as If, PdfX6Options as Ii, JpegDecodeResult as Il, stroke as Im, buildTensorPatchShading as In, flattenForm as Io, beginMarkedContentSequence as Ip, isWoff2 as Ir, Pdf417Matrix as Is, DisplayList as It, delinearizePdf as Iu, buildEncryptedPayload as J, tableToJson as Ja, webpToPng as Jc, buildPkcs7Signature as Jd, formatDate$1 as Jf, identityTransferFunction as Ji, validatePdfX as Jl, resolveInstanceCoordinates as Jn, MissingOnValueCheckError as Jo, moveTextSetLeading as Jp, RecordMetadata as Jr, ean13ToOperators as Js, feColorMatrixSaturate as Jt, hasLtvData as Ju, EncryptedPayloadOptions as K, extractTables as Ka, recompressWebP as Kc, SignatureOptions as Kd, TextAnnotationIcon as Kf, buildType1Halftone as Ki, buildPdfXOutputIntent as Kl, normalizeAxisCoordinate as Kn, InvalidFieldNamePartError as Ko, endText as Kp, createWorkerPool as Kr, upcAToOperators as Ks, feBlend as Kt, buildDssDictionary as Ku, tagTableHeaderCell as L, buildNamespacesArray as La, WebPImage as Lc, downloadCrl as Ld, PdfHighlightAnnotation as Lf, PdfX6Variant as Li, JpegWasmModule as Ll, isOpenTypeCFF as Lm, ColorFontInfo as Ln, BatchProcessingError as Lo, beginMarkedContentWithProperties as Lp, readWoffHeader as Lr, Pdf417Options as Ls, FillItem as Lt, getLinearizationInfo as Lu, tagList as M, toSarif as Ma, decodeTiffAll as Mc, TrustStore as Md, PdfCircleAnnotation as Mf, InvoiceParty as Mi, estimateJpegQuality as Ml, setLineCap as Mm, TensorPatchOptions as Mn, FlattenFormResult as Mo, MarkedContentScope as Mp, parseTileInfo as Mr, readEan8 as Ms, InterpretOptions as Mt, enforcePdfA as Mu, tagListItem as N, MATHML_NAMESPACE as Na, decodeTiffPage as Nc, extractEmbeddedRevocationData as Nd, PdfLineAnnotation as Nf, generateCiiXml as Ni, optimizeImage as Nl, setLineJoin as Nm, buildCoonsPatchShading as Nn, FlattenOptions as No, beginArtifact as Np, WoffInfo as Nr, StyledBarcodeOptions as Ns, interpretContentStream as Nt, validatePdfA as Nu, TaggedListItem as O, SarifRun as Oa, IfdEntry as Oc, EKU_OIDS as Od, PdfInkAnnotation as Of, renderCodeFrame as Oi, OptimizeResult as Ol, moveTo as Om, LatticeFormGouraudOptions as On, addBookmark as Oo, createXmpStream as Op, upscale8To16 as Or, readBarcode as Os, RasterImage as Ot, flattenTransparency as Ou, tagParagraph as P, NamespaceDef as Pa, getTiffPageCount as Pc, verifyOfflineRevocation as Pd, PdfPolyLineAnnotation as Pf, BoxGeometry as Pi, recompressImage as Pl, setLineWidth as Pm, buildFreeFormGouraudShading as Pn, flattenField as Po, beginArtifactWithType as Pp, decodeWoff as Pr, calculateBarcodeDimensions as Ps, interpretPage as Pt, LinearizationInfo as Pu, buildPageOutputIntent as Q, metadataPlugin as Qa, getSupportedFormats as Qc, encodeOID as Qd, createSandbox as Qf, PostScriptFunction as Qi, enforcePdfAFull as Ql, reorderVisual as Qn, RichTextFieldReadError as Qo, setFontSize as Qp, RenderOptions$1 as Qr, ItfOptions as Qs, feOffset as Qt, DiffEntry as Qu, tagTableRow as R, buildPieceInfo as Ra, decodeWebP as Rc, extractCrlUrls as Rd, PdfSquigglyAnnotation as Rf, buildBoxDict as Ri, decodeJpegWasm as Rl, isTrueType as Rm, ColorGlyphLayer as Rn, CombedTextLayoutError as Ro, createMarkedContentScope as Rp, DeferredSignOptions as Rr, encodePdf417 as Rs, ImageItem as Rt, isLinearized as Ru, PdfUa2Issue as S, labToRgb as Sa, isWasmDisabled as Sc, appendIncrementalUpdate as Sd, FileAttachmentIcon as Sf, FunctionShadingOptions as Si, ImageOptimizeEntry as Sl, endPath as Sm, BitsPerCoordinate as Sn, getPageLabels as So, enforcePdfUa as Sp, layoutTextFlow as Sr, applyTablePreset as Ss, ThumbnailOptions as St, buildOutputIntent as Su, validatePdfUa2 as T, SARIF_SCHEMA_URI as Ta, loadWasmModuleStreaming as Tc, saveIncrementalWithSignaturePreservation as Td, PdfCaretAnnotation as Tf, CodeFrameOptions as Ti, optimizeAllImages as Tl, fillEvenOdd as Tm, CoonsPatchOptions as Tn, AddBookmarkOptions as To, isAccessible as Tp, normalizeComponentDepth as Tr, professionalPreset as Ts, CanvasRenderOptions as Tt, TransparencyFinding as Tu, SoftMaskGroupOptions as U, buildDPartRoot as Ua, canDirectEmbed as Uc, buildTimestampRequest as Ud, LinkHighlightMode as Uf, Type1Halftone as Ui, RedactionOperatorOptions as Ul, NamedInstance as Un, FontNotEmbeddedError as Uo, drawImageXObject as Up, TaskRunner as Ur, encodeDataMatrix as Us, Matrix as Ut, optimizeIncrementalSave as Uu, buildImageSoftMask as V, buildRequirements as Va, DirectEmbedOptions as Vc, extractOcspUrl as Vd, FreeTextAlignment as Vf, validateBoxGeometry as Vi, isJpegWasmReady as Vl, saveDocumentIncremental as Vm, parseColorFont as Vn, FieldAlreadyExistsError as Vo, wrapInMarkedContent as Vp, SignatureAlgorithm as Vr, DataMatrixResult as Vs, SubPath as Vt, computeObjectHash as Vu, buildSoftMaskGroupExtGState as W, ExtractedTable as Wa, embedTiffDirect as Wc, parseTimestampResponse as Wd, PdfLinkAnnotation as Wf, buildSampledTransferFunction as Wi, RedactionResult as Wl, VariableFontInfo as Wn, ForeignPageError as Wo, drawXObject as Wp, WorkerPool as Wr, calculateUpcCheckDigit as Ws, CompositeOp as Wt, DssData as Wu, PageOutputIntentOptions as X, accessibilityPlugin as Xa, detectImageFormat as Xc, encodeInteger as Xd, AFNumber_Format as Xf, ExponentialFunction as Xi, EnforcePdfAResult as Xl, BidiResult as Xn, PluginError as Xo, setCharacterSpacing as Xp, buildVtDpm as Xr, encodeEan13 as Xs, feFlood as Xt, addCounterSignature as Xu, buildUnencryptedWrapper as Y, AccessibilityPluginOptions as Ya, ImageFormat as Yc, encodeContextTag as Yd, parseAcrobatDate as Yf, nameHalftone as Yi, EnforcePdfAOptions as Yl, BidiDirection as Yn, NoSuchFieldError as Yo, nextLine as Yp, buildPdfVtDParts as Yr, ean8ToOperators as Ys, feComposite as Yt, CounterSignatureInfo as Yu, attachOutputIntents as Z, MetadataPluginOptions as Za, getImageFormatName as Zc, encodeLength as Zd, formatNumber as Zf, PdfFunctionDef as Zi, EnforcementAction as Zl, BidiRun as Zn, RemovePageFromEmptyDocumentError as Zo, setFont as Zp, gtsPdfVtVersion as Zr, encodeEan8 as Zs, feGaussianBlur as Zt, getCounterSignatures as Zu, convertPdfAConformanceXmp as _, CalRGBParams as _a, WasmLoaderConfig as _c, AppendOptions as _d, generateLineAppearance as _f, PdfA4ExtensionSchema as _i, convertToGrayscale as _l, closePath as _m, IccTransformInfo as _n, batchFlatten as _o, PdfUaEnforcementResult as _p, buildSigningCertificateV2Attribute as _r, wrapText as _s, ExtractedFont as _t, generateSymbolToUnicodeCmap as _u, parseCiiXml as a, CollectionSchemaField as aa, Code128Options as ac, getFieldLocks as ad, ByteRangeResult as af, RangeFetcher as ai, extractJpegMetadata as al, showTextArray as am, unregisterImageDecoder as an, StreamingPdfParser as ao, validateFieldValue as ap, RedactionVerificationReport as ar, applyHeaderFooterToPage as as, renderPageTile as at, countOccurrences as au, AutoTagResult as b, buildCalRGB as ba, detectRuntime as bc, SignatureByteRange as bd, generateStrikeOutAppearance as bf, buildPdfA4Xmp as bi, deduplicateImages as bl, curveToInitial as bm, xyzToLab as bn, PageLabelRange as bo, PdfUaValidationResult as bp, layoutColumns as br, TablePreset as bs, ExtractedImage as bt, getToUnicodeCmap as bu, ValidatableInvoice as c, Line as ca, encodeCode128Values as cc, ModificationViolationType as cd, embedSignature as cf, FallbackRun as ci, analyzeJpegMarkers as cl, showTextWithSpacing as cm, detectNextGenFormat as cn, getInlineWasmBytes as co, sha512 as cp, SanitizeOptions as cr, toAlpha as cs, redactRegions as ct, XmpIssue as cu, assembleFacturX as d, reconstructLines as da, BarcodeOptions as dc, buildDocMdpReference as dd, decodeJpeg2000 as df, splitByScript as di, computeTargetDimensions as dl, circlePath as dm, hsvToRgb as dn, isValidModuleName as do, rc4 as dp, ThreatFinding as dr, OverflowResult as ds, OcrWord as dt, parseXmpMetadata as du, StitchingFunction as ea, itfToOperators as ec, diffSignedContent as ed, encodePrintableString as ef, h as ei, TiffIfdEntry as el, setTextMatrix as em, ImageDecoder as en, timestampPlugin as eo, resolveFieldReference as ep, EncryptionReport as er, UnexpectedFieldTypeError as es, registerEmbeddedFile as et, generatePdfAXmp as eu, buildFacturXXmp as f, reconstructParagraphs as fa, base64Decode as fc, getCertificationLevel as fd, searchTextItems as ff, OrderXType as fi, IccProfile as fl, clip as fm, rgbToHsl as fn, preloadInlineWasm as fo, md5 as fp, ThreatReport as fr, applyOverflow as fs, applyOcr as ft, validateXmpMetadata as fu, PreflightIssue as g, CalGrayParams as ga, RuntimeKind as gc, validateSignatureChain as gd, generateInkAppearance as gf, PdfA4ExtensionProperty as gi, parseIccDescription as gl, closeFillEvenOddAndStroke as gm, xyzToRgb as gn, BatchResult as go, verifyUserPassword as gp, buildCertPath as gr, truncateText as gs, comparePages as gt, isValidLevel as gu, buildWtpdfIdentificationXmp as h, buildDocTimeStampDict as ha, PdfWorkerOptions as hc, SignatureChainResult as hd, generateHighlightAppearance as hf, generateXRechnungCii as hi, parseIccColorSpace as hl, closeFillAndStroke as hm, rgbToXyz as hn, BatchProgressCallback as ho, verifyOwnerPassword as hp, CertPathResult as hr, shrinkFontSize as hs, compareImages as ht, getSupportedLevels as hu, detectFacturXProfile as i, CollectionOptions as ia, encodeCode39 as ic, buildFieldLockDict as id, encodeUtf8String as if, RangeFetchOptions as ii, JpegMetadata as il, showText as im, registerImageDecoder as in, StreamingParserOptions as io, AFSpecial_Format as ip, RedactionRegion as ir, applyHeaderFooter as is, computeTileGrid as it, StrippedFeature as iu, tagLink as j, toJsonReport as ja, decodeTiff as jc, validateKeyUsage as jd, LineEndingStyle as jf, InvoiceLine as ji, downscaleImage as jl, setFlatness as jm, TensorPatch as jn, removeBookmark as jo, PDFOperator as jp, decodeTileRegion as jr, readEan13 as js, renderPageToImage as jt, PdfAValidationResult as ju, tagFigure as k, ValidationFinding as ka, TiffDecodeOptions as kc, validateCertificatePolicy as kd, PdfStampAnnotation as kf, FacturXProfile as ki, RawImageData as kl, rectangle as km, MeshShadingCommon as kn, getBookmarks as ko, parseXmpMetadata$1 as kp, assembleTiles as kr, readCode128 as ks, RenderOptions as kt, PdfAIssue as ku, validateEn16931 as l, Paragraph as la, valuesToModules as lc, detectModifications as ld, findSignatures as lf, ScriptRun as li, ImageDpi as ll, buildDeviceNColorSpace as lm, probeNextGenImage as ln, getInlineWasmSize as lo, aesDecryptCBC as lp, SanitizeReport as lr, toRoman as ls, ApplyOcrOptions as lt, XmpValidationResult as lu, buildPdfRIdentificationXmp as m, DocTimeStampOptions as ma, PdfWorker as mc, SignatureChainEntry as md, generateFreeTextAppearance as mf, generateOrderX as mi, extractIccProfile as ml, closeAndStroke as mm, rgbToLab as mn, BatchOptions as mo, computeFileEncryptionKey as mp, scanPdfThreats as mr, estimateTextWidth as ms, DiffResult as mt, getProfile as mu, index_d_exports as n, MarkdownToPdfOptions as na, code39ToOperators as nc, FieldLockOptions as nd, encodeSet as nf, FetchLike as ni, embedTiffCmyk as nl, setTextRise as nm, getImageDecoder as nn, StreamingParseResult as no, addVisibilityAction as np, inspectEncryption as nr, HeaderFooterOptions as ns, TileGrid as nt, StripOptions as nu, DeclaredInvoiceTotals as o, CollectionView as oa, code128ToOperators as oc, ModificationReport as od, PrepareAppearanceOptions as of, createRangeFetcher as oi, injectJpegMetadata as ol, showTextHex as om, NextGenFormat as on, PdfDocumentBuilder as oo, sha256 as op, verifyRedactions as or, formatDate as os, RedactRect as ot, stripProhibitedFeatures as ou, ProfileXmpOptions as p, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE as pa, base64Encode as pc, setCertificationLevel as pd, generateCircleAppearance as pf, XRechnungOptions as pi, embedIccProfile as pl, clipEvenOdd as pm, rgbToHsv as pn, BatchErrorStrategy as po, EncryptDictValues as pp, ThreatSeverity as pr, ellipsisText as ps, CompareOptions as pt, PdfAProfile as pu, WrapperPayloadOptions as q, tableToCsv as qa, webpToJpeg as qc, SignerInfo as qd, AFDate_FormatEx as qf, buildType5Halftone as qi, enforcePdfX as ql, parseVariableFont as qn, InvalidPageSizeError as qo, moveText as qp, PdfVtConformance as qr, calculateEanCheckDigit as qs, feColorMatrix as qt, embedLtvData as qu, initWasm as r, markdownToPdf as ra, computeCode39CheckDigit as rc, addFieldLock as rd, encodeUTCTime as rf, FetchLikeResponse as ri, isCmykTiff as rl, setWordSpacing as rm, hasImageDecoder as rn, StreamingParserEvent as ro, setFieldVisibility as rp, RedactionLeak as rr, HeaderFooterPosition as rs, TileOptions as rt, StripResult as ru, EInvoiceIssue as s, buildCollection as sa, encodeCode128 as sc, ModificationViolation as sd, computeSignatureHash as sf, FallbackFont as si, JpegMarkerInfo as sl, showTextNextLine as sm, NextGenImageInfo as sn, WasmModuleName as so, sha384 as sp, SanitizeClass as sr, replaceTemplateVariables as ss, RedactResult as st, ParsedXmpMetadata as su, InitWasmOptions as t, evaluateFunction as ta, Code39Options as tc, FieldLockInfo as td, encodeSequence as tf, renderToPdf as ti, convertTiffCmykToRgb as tl, setTextRenderingMode as tm, decodeRegisteredImage as tn, ParsedPage as to, setFieldValue as tp, PermissionFlags as tr, HeaderFooterContent as ts, RenderCache as tt, generatePdfAXmpBytes as tu, FacturXAssembleOptions as u, ReconstructOptions as ua, BarcodeMatrix as uc, MdpPermission as ud, prepareForSigning as uf, resolveFallback as ui, computeImageDpi as ul, buildSeparationColorSpace as um, hslToRgb as un, hasInlineWasmData as uo, aesEncryptCBC as up, sanitizePdf as ur, OverflowMode as us, OcrEngine as ut, extractXmpMetadata as uu, preflightPdfA as v, LabParams as va, clearWasmCache as vc, IncrementalObject as vd, generateSquareAppearance as vf, PdfA4Level as vi, isGrayscaleImage as vl, curveTo as vm, deviceRgbToXyz as vn, batchMerge as vo, PdfUaError as vp, extractSigningCertificateV2 as vr, PresetName as vs, FontFileFormat as vt, generateWinAnsiToUnicodeCmap as vu, buildPdfUa2Xmp as w, JsonReport as wa, loadWasmModule as wc, parseExistingTrailer as wd, CaretSymbol as wf, sampleShadingColor as wi, ProgressInfo as wl, fillAndStroke as wm, CoonsPatch as wn, setPageLabels as wo, checkAccessibility as wp, getComponentDepths as wr, minimalPreset as ws, Canvas2DLike as wt, generateSrgbIccProfile as wu, autoTagPage as x, buildLab as xa, instantiateWasmModuleStreaming as xc, TrailerInfo as xd, generateUnderlineAppearance as xf, pdfA4Rules as xi, BatchOptimizeOptions as xl, ellipsePath as xm, BitsPerComponent as xn, PageLabelStyle as xo, PdfUaWarning as xp, layoutParagraph as xr, applyPreset as xs, extractImages as xt, OutputIntentOptions as xu, AutoTagOptions as y, buildCalGray as ya, configureWasmLoader as yc, IncrementalSaveOptions as yd, generateSquigglyAppearance as yf, PdfA4Options as yi, DeduplicationReport as yl, curveToFinal as ym, parseIccTransform as yn, processBatch as yo, PdfUaLevel as yp, findHyphenationPoints as yr, PresetOptions as ys, extractFonts as yt, generateZapfDingbatsToUnicodeCmap as yu, buildBlackPointCompensationExtGState as z, RequirementType as za, isWebP as zc, isCertificateRevoked as zd, PdfStrikeOutAnnotation as zf, buildGtsPdfxVersion as zi, encodeJpegWasm as zl, ChangeTracker as zm, CpalPalette as zn, EncryptedPdfError as zo, endArtifact as zp, DeferredSignResult as zr, pdf417ToOperators as zs, Rgba as zt, linearizePdf as zu };
|
|
12981
|
-
//# sourceMappingURL=index-
|
|
13779
|
+
export { attachAssociatedFiles as $, buildCalRGB as $a, detectRuntime as $c, SignatureByteRange as $d, generateStrikeOutAppearance as $f, buildPdfA4Xmp as $i, deduplicateImages as $l, curveToInitial as $m, xyzToLab as $n, PageLabelRange as $o, PdfUaValidationResult as $p, layoutColumns as $r, TablePreset as $s, SchemaFormOptions as $t, getToUnicodeCmap as $u, tagHeading as A, PdfFunctionDef as Aa, encodeEan8 as Ac, getCounterSignatures as Ad, encodeLength as Af, gtsPdfVtVersion as Ai, getImageFormatName as Al, setFont as Am, feGaussianBlur as An, MetadataPluginOptions as Ao, formatNumber as Ap, BidiRun as Ar, RemovePageFromEmptyDocumentError as As, rasterize as At, EnforcementAction as Au, buildColorKeyMask as B, buildCollection as Ba, encodeCode128 as Bc, ModificationViolation as Bd, computeSignatureHash as Bf, FallbackFont as Bi, JpegMarkerInfo as Bl, showTextNextLine as Bm, NextGenImageInfo as Bn, WasmModuleName as Bo, sha384 as Bp, SanitizeClass as Br, replaceTemplateVariables as Bs, StrokeItem as Bt, ParsedXmpMetadata as Bu, PdfUa2Result as C, buildSampledTransferFunction as Ca, calculateUpcCheckDigit as Cc, DssData as Cd, parseTimestampResponse as Cf, WorkerPool as Ci, embedTiffDirect as Cl, drawXObject as Cm, CompositeOp as Cn, ExtractedTable as Co, PdfLinkAnnotation as Cp, VariableFontInfo as Cr, ForeignPageError as Cs, generateThumbnail as Ct, RedactionResult as Cu, ListNumbering as D, identityTransferFunction as Da, ean13ToOperators as Dc, hasLtvData as Dd, buildPkcs7Signature as Df, RecordMetadata as Di, webpToPng as Dl, moveTextSetLeading as Dm, feColorMatrixSaturate as Dn, tableToJson as Do, formatDate$1 as Dp, resolveInstanceCoordinates as Dr, MissingOnValueCheckError as Ds, renderPageToCanvas as Dt, validatePdfX as Du, LIST_NUMBERING_KEY as E, buildType5Halftone as Ea, calculateEanCheckDigit as Ec, embedLtvData as Ed, SignerInfo as Ef, PdfVtConformance as Ei, webpToJpeg as El, moveText as Em, feColorMatrix as En, tableToCsv as Eo, AFDate_FormatEx as Ep, parseVariableFont as Er, InvalidPageSizeError as Es, renderDisplayListToCanvas as Et, enforcePdfX as Eu, tagTable as F, MarkdownToPdfOptions as Fa, code39ToOperators as Fc, FieldLockOptions as Fd, encodeSet as Ff, FetchLike as Fi, embedTiffCmyk as Fl, setTextRise as Fm, getImageDecoder as Fn, StreamingParseResult as Fo, addVisibilityAction as Fp, inspectEncryption as Fr, HeaderFooterOptions as Fs, DisplayItem as Ft, StripOptions as Fu, buildSoftMaskNone as G, reconstructParagraphs as Ga, base64Decode as Gc, getCertificationLevel as Gd, searchTextItems as Gf, OrderXType as Gi, IccProfile as Gl, clip as Gm, rgbToHsl as Gn, preloadInlineWasm as Go, md5 as Gp, ThreatReport as Gr, applyOverflow as Gs, PdfResponseOptions as Gt, validateXmpMetadata as Gu, buildStencilMask as H, Paragraph as Ha, valuesToModules as Hc, detectModifications as Hd, findSignatures as Hf, ScriptRun as Hi, ImageDpi as Hl, buildDeviceNColorSpace as Hm, probeNextGenImage as Hn, getInlineWasmSize as Ho, aesDecryptCBC as Hp, SanitizeReport as Hr, toRoman as Hs, TextItem as Ht, XmpValidationResult as Hu, tagTableDataCell as I, markdownToPdf as Ia, computeCode39CheckDigit as Ic, addFieldLock as Id, encodeUTCTime as If, FetchLikeResponse as Ii, isCmykTiff as Il, setWordSpacing as Im, hasImageDecoder as In, StreamingParserEvent as Io, setFieldVisibility as Ip, RedactionLeak as Ir, HeaderFooterPosition as Is, DisplayList as It, StripResult as Iu, buildEncryptedPayload as J, buildDocTimeStampDict as Ja, PdfWorkerOptions as Jc, SignatureChainResult as Jd, generateHighlightAppearance as Jf, generateXRechnungCii as Ji, parseIccColorSpace as Jl, closeFillAndStroke as Jm, rgbToXyz as Jn, BatchProgressCallback as Jo, verifyOwnerPassword as Jp, CertPathResult as Jr, shrinkFontSize as Js, pdfStreamResponse as Jt, getSupportedLevels as Ju, EncryptedPayloadOptions as K, DEFAULT_DOC_TIMESTAMP_CONTENTS_SIZE as Ka, base64Encode as Kc, setCertificationLevel as Kd, generateCircleAppearance as Kf, XRechnungOptions as Ki, embedIccProfile as Kl, clipEvenOdd as Km, rgbToHsv as Kn, BatchErrorStrategy as Ko, EncryptDictValues as Kp, ThreatSeverity as Kr, ellipsisText as Ks, pdfHeaders as Kt, PdfAProfile as Ku, tagTableHeaderCell as L, CollectionOptions as La, encodeCode39 as Lc, buildFieldLockDict as Ld, encodeUtf8String as Lf, RangeFetchOptions as Li, JpegMetadata as Ll, showText as Lm, registerImageDecoder as Ln, StreamingParserOptions as Lo, AFSpecial_Format as Lp, RedactionRegion as Lr, applyHeaderFooter as Ls, FillItem as Lt, StrippedFeature as Lu, tagList as M, SampledFunction as Ma, encodeItf as Mc, DocumentDiff as Md, encodeOctetString as Mf, VNode as Mi, TiffCmykEmbedResult as Ml, setLeading as Mm, DecodedRasterImage as Mn, TimestampPluginOptions as Mo, getFieldValue as Mp, resolveBidi as Mr, StreamingParseError as Ms, InterpretOptions as Mt, PdfAXmpOptions as Mu, tagListItem as N, StitchingFunction as Na, itfToOperators as Nc, diffSignedContent as Nd, encodePrintableString as Nf, h$1 as Ni, TiffIfdEntry as Nl, setTextMatrix as Nm, ImageDecoder as Nn, timestampPlugin as No, resolveFieldReference as Np, EncryptionReport as Nr, UnexpectedFieldTypeError as Ns, interpretContentStream as Nt, generatePdfAXmp as Nu, TaggedListItem as O, nameHalftone as Oa, ean8ToOperators as Oc, CounterSignatureInfo as Od, encodeContextTag as Of, buildPdfVtDParts as Oi, ImageFormat as Ol, nextLine as Om, feComposite as On, AccessibilityPluginOptions as Oo, parseAcrobatDate as Op, BidiDirection as Or, NoSuchFieldError as Os, RasterImage as Ot, EnforcePdfAOptions as Ou, tagParagraph as P, evaluateFunction as Pa, Code39Options as Pc, FieldLockInfo as Pd, encodeSequence as Pf, renderToPdf$1 as Pi, convertTiffCmykToRgb as Pl, setTextRenderingMode as Pm, decodeRegisteredImage as Pn, ParsedPage as Po, setFieldValue as Pp, PermissionFlags as Pr, HeaderFooterContent as Ps, interpretPage as Pt, generatePdfAXmpBytes as Pu, buildPageOutputIntent as Q, buildCalGray as Qa, configureWasmLoader as Qc, IncrementalSaveOptions as Qd, generateSquigglyAppearance as Qf, PdfA4Options as Qi, DeduplicationReport as Ql, curveToFinal as Qm, parseIccTransform as Qn, processBatch as Qo, PdfUaLevel as Qp, findHyphenationPoints as Qr, PresetOptions as Qs, SchemaFormField as Qt, generateZapfDingbatsToUnicodeCmap as Qu, tagTableRow as R, CollectionSchemaField as Ra, Code128Options as Rc, getFieldLocks as Rd, ByteRangeResult as Rf, RangeFetcher as Ri, extractJpegMetadata as Rl, showTextArray as Rm, unregisterImageDecoder as Rn, StreamingPdfParser as Ro, validateFieldValue as Rp, RedactionVerificationReport as Rr, applyHeaderFooterToPage as Rs, ImageItem as Rt, countOccurrences as Ru, PdfUa2Issue as S, Type1Halftone as Sa, encodeDataMatrix as Sc, optimizeIncrementalSave as Sd, buildTimestampRequest as Sf, TaskRunner as Si, canDirectEmbed as Sl, drawImageXObject as Sm, isSharedMemoryAvailable as Sn, buildDPartRoot as So, LinkHighlightMode as Sp, NamedInstance as Sr, FontNotEmbeddedError as Ss, ThumbnailOptions as St, RedactionOperatorOptions as Su, validatePdfUa2 as T, buildType1Halftone as Ta, upcAToOperators as Tc, buildDssDictionary as Td, SignatureOptions as Tf, createWorkerPool as Ti, recompressWebP as Tl, endText as Tm, feBlend as Tn, extractTables as To, TextAnnotationIcon as Tp, normalizeAxisCoordinate as Tr, InvalidFieldNamePartError as Ts, CanvasRenderOptions as Tt, buildPdfXOutputIntent as Tu, SoftMaskGroupOptions as U, ReconstructOptions as Ua, BarcodeMatrix as Uc, MdpPermission as Ud, prepareForSigning as Uf, resolveFallback as Ui, computeImageDpi as Ul, buildSeparationColorSpace as Um, hslToRgb as Un, hasInlineWasmData as Uo, aesEncryptCBC as Up, sanitizePdf as Ur, OverflowMode as Us, Matrix as Ut, extractXmpMetadata as Uu, buildImageSoftMask as V, Line as Va, encodeCode128Values as Vc, ModificationViolationType as Vd, embedSignature as Vf, FallbackRun as Vi, analyzeJpegMarkers as Vl, showTextWithSpacing as Vm, detectNextGenFormat as Vn, getInlineWasmBytes as Vo, sha512 as Vp, SanitizeOptions as Vr, toAlpha as Vs, SubPath as Vt, XmpIssue as Vu, buildSoftMaskGroupExtGState as W, reconstructLines as Wa, BarcodeOptions as Wc, buildDocMdpReference as Wd, decodeJpeg2000 as Wf, splitByScript as Wi, computeTargetDimensions as Wl, circlePath as Wm, hsvToRgb as Wn, isValidModuleName as Wo, rc4 as Wp, ThreatFinding as Wr, OverflowResult as Ws, NodeServerResponseLike as Wt, parseXmpMetadata as Wu, PageOutputIntentOptions as X, CalRGBParams as Xa, WasmLoaderConfig as Xc, AppendOptions as Xd, generateLineAppearance as Xf, PdfA4ExtensionSchema as Xi, convertToGrayscale as Xl, closePath as Xm, IccTransformInfo as Xn, batchFlatten as Xo, PdfUaEnforcementResult as Xp, buildSigningCertificateV2Attribute as Xr, wrapText as Xs, JsonSchemaLike as Xt, generateSymbolToUnicodeCmap as Xu, buildUnencryptedWrapper as Y, CalGrayParams as Ya, RuntimeKind as Yc, validateSignatureChain as Yd, generateInkAppearance as Yf, PdfA4ExtensionProperty as Yi, parseIccDescription as Yl, closeFillEvenOddAndStroke as Ym, xyzToRgb as Yn, BatchResult as Yo, verifyUserPassword as Yp, buildCertPath as Yr, truncateText as Ys, sendPdfToNodeResponse as Yt, isValidLevel as Yu, attachOutputIntents as Z, LabParams as Za, clearWasmCache as Zc, IncrementalObject as Zd, generateSquareAppearance as Zf, PdfA4Level as Zi, isGrayscaleImage as Zl, curveTo as Zm, deviceRgbToXyz as Zn, batchMerge as Zo, PdfUaError as Zp, extractSigningCertificateV2 as Zr, PresetName as Zs, SchemaFieldKind as Zt, generateWinAnsiToUnicodeCmap as Zu, convertPdfAConformanceXmp as _, buildBoxDict as _a, encodePdf417 as _c, isLinearized as _d, extractCrlUrls as _f, isTrueType as _h, DeferredSignOptions as _i, decodeWebP as _l, createMarkedContentScope as _m, createMemoryBudget as _n, buildPieceInfo as _o, PdfSquigglyAnnotation as _p, ColorGlyphLayer as _r, CombedTextLayoutError as _s, ExtractedFont as _t, decodeJpegWasm as _u, parseCiiXml as a, didYouMean as aa, stripedPreset as ac, TransparencyInfo as ad, validateByteRangeIntegrity as af, fillEvenOddAndStroke as ah, offsetSignedToUnsigned as ai, provideWasmBytes as al, summarizeIssues as am, PdfNode as an, SarifLog as ao, PdfPopupAnnotation as ap, FlaggedVertex as ar, BookmarkNode as as, renderPageTile as at, DownscaleOptions as au, AutoTagResult as b, validateBoxGeometry as ba, DataMatrixResult as bc, computeObjectHash as bd, extractOcspUrl as bf, saveDocumentIncremental as bh, SignatureAlgorithm as bi, DirectEmbedOptions as bl, wrapInMarkedContent as bm, SharedFlagWaitResult as bn, buildRequirements as bo, FreeTextAlignment as bp, parseColorFont as br, FieldAlreadyExistsError as bs, ExtractedImage as bt, isJpegWasmReady as bu, ValidatableInvoice as c, FacturXProfile as ca, readCode128 as cc, PdfAIssue as cd, validateCertificatePolicy as cf, rectangle as ch, assembleTiles as ci, TiffDecodeOptions as cl, parseXmpMetadata$1 as cm, jsxs as cn, ValidationFinding as co, PdfStampAnnotation as cp, MeshShadingCommon as cr, getBookmarks as cs, redactRegions as ct, RawImageData as cu, assembleFacturX as d, InvoiceParty as da, readEan8 as dc, enforcePdfA as dd, TrustStore as df, setLineCap as dh, parseTileInfo as di, decodeTiffAll as dl, MarkedContentScope as dm, SIMD_NOTE as dn, toSarif as do, PdfCircleAnnotation as dp, TensorPatchOptions as dr, FlattenFormResult as ds, OcrWord as dt, estimateJpegQuality as du, pdfA4Rules as ea, applyPreset as ec, OutputIntentOptions as ed, TrailerInfo as ef, ellipsePath as eh, layoutParagraph as ei, instantiateWasmModuleStreaming as el, PdfUaWarning as em, SchemaFormResult as en, buildLab as eo, generateUnderlineAppearance as ep, BitsPerComponent as er, PageLabelStyle as es, registerEmbeddedFile as et, BatchOptimizeOptions as eu, buildFacturXXmp as f, generateCiiXml as fa, StyledBarcodeOptions as fc, validatePdfA as fd, extractEmbeddedRevocationData as ff, setLineJoin as fh, WoffInfo as fi, decodeTiffPage as fl, beginArtifact as fm, detectRuntimeCapabilities as fn, MATHML_NAMESPACE as fo, PdfLineAnnotation as fp, buildCoonsPatchShading as fr, FlattenOptions as fs, applyOcr as ft, optimizeImage as fu, PreflightIssue as g, PdfX6Variant as ga, Pdf417Options as gc, getLinearizationInfo as gd, downloadCrl as gf, isOpenTypeCFF as gh, readWoffHeader as gi, WebPImage as gl, beginMarkedContentWithProperties as gm, MemoryBudgetOptions as gn, buildNamespacesArray as go, PdfHighlightAnnotation as gp, ColorFontInfo as gr, BatchProcessingError as gs, comparePages as gt, JpegWasmModule as gu, buildWtpdfIdentificationXmp as h, PdfX6Options as ha, Pdf417Matrix as hc, delinearizePdf as hd, validateCertificateChain as hf, stroke as hh, isWoff2 as hi, parseTiffIfd as hl, beginMarkedContentSequence as hm, MemoryBudgetExceededError as hn, buildNamespace as ho, PdfSquareAnnotation as hp, buildTensorPatchShading as hr, flattenForm as hs, compareImages as ht, JpegDecodeResult as hu, detectFacturXProfile as i, CodeFrameOptions as ia, professionalPreset as ic, TransparencyFinding as id, saveIncrementalWithSignaturePreservation as if, fillEvenOdd as ih, normalizeComponentDepth as ii, loadWasmModuleStreaming as il, isAccessible as im, PdfElement as in, SARIF_SCHEMA_URI as io, PdfCaretAnnotation as ip, CoonsPatchOptions as ir, AddBookmarkOptions as is, computeTileGrid as it, optimizeAllImages as iu, tagLink as j, PostScriptFunction as ja, ItfOptions as jc, DiffEntry as jd, encodeOID as jf, RenderOptions$1 as ji, getSupportedFormats as jl, setFontSize as jm, feOffset as jn, metadataPlugin as jo, createSandbox as jp, reorderVisual as jr, RichTextFieldReadError as js, renderPageToImage as jt, enforcePdfAFull as ju, tagFigure as k, ExponentialFunction as ka, encodeEan13 as kc, addCounterSignature as kd, encodeInteger as kf, buildVtDpm as ki, detectImageFormat as kl, setCharacterSpacing as km, feFlood as kn, accessibilityPlugin as ko, AFNumber_Format as kp, BidiResult as kr, PluginError as ks, RenderOptions as kt, EnforcePdfAResult as ku, validateEn16931 as l, Invoice as la, readCode39 as lc, PdfALevel as ld, validateExtendedKeyUsage as lf, setDashPattern as lh, decodeTile as li, TiffImage as ll, PdfStreamWriter as lm, renderToPdf as ln, ValidationLevel as lo, StandardStampName as lp, MeshVertex as lr, removeAllBookmarks as ls, ApplyOcrOptions as lt, RecompressOptions as lu, buildPdfRIdentificationXmp as m, PdfRect as ma, renderStyledBarcode as mc, LinearizationOptions as md, buildCertificateChain as mf, setMiterLimit as mh, isWoff as mi, isTiff as ml, beginMarkedContent as mm, MemoryBudget as mn, PDF2_NAMESPACE as mo, PdfPolygonAnnotation as mp, buildLatticeFormGouraudShading as mr, flattenFields as ms, DiffResult as mt, ChromaSubsampling as mu, index_d_exports as n, buildFunctionShading as na, borderedPreset as nc, SRGB_ICC_PROFILE as nd, findExistingSignatures as nf, fill as nh, downscale16To8 as ni, isWasmModuleCached as nl, validatePdfUa as nm, Fragment as nn, DEFAULT_SARIF_TOOL_NAME as no, PdfFileAttachmentAnnotation as np, BitsPerFlag as nr, removePageLabels as ns, TileGrid as nt, OptimizationReport as nu, DeclaredInvoiceTotals as o, levenshtein as oa, BarcodeReadResult as oc, detectTransparency as od, verifySignatureDetailed as of, lineTo as oh, summarizeBitDepth as oi, resetWasmLoader as ol, buildXmpMetadata as om, h as on, SarifResult as oo, PdfRedactAnnotation as op, FreeFormGouraudOptions as or, BookmarkRef as os, RedactRect as ot, ImageOptimizeOptions as ou, ProfileXmpOptions as p, BoxGeometry as pa, calculateBarcodeDimensions as pc, LinearizationInfo as pd, verifyOfflineRevocation as pf, setLineWidth as ph, decodeWoff as pi, getTiffPageCount as pl, beginArtifactWithType as pm, isWasmSimdSupported as pn, NamespaceDef as po, PdfPolyLineAnnotation as pp, buildFreeFormGouraudShading as pr, flattenField as ps, CompareOptions as pt, recompressImage as pu, WrapperPayloadOptions as q, DocTimeStampOptions as qa, PdfWorker as qc, SignatureChainEntry as qd, generateFreeTextAppearance as qf, generateOrderX as qi, extractIccProfile as ql, closeAndStroke as qm, rgbToLab as qn, BatchOptions as qo, computeFileEncryptionKey as qp, scanPdfThreats as qr, estimateTextWidth as qs, pdfResponse as qt, getProfile as qu, initWasm as r, sampleShadingColor as ra, minimalPreset as rc, generateSrgbIccProfile as rd, parseExistingTrailer as rf, fillAndStroke as rh, getComponentDepths as ri, loadWasmModule as rl, checkAccessibility as rm, PdfComponent as rn, JsonReport as ro, CaretSymbol as rp, CoonsPatch as rr, setPageLabels as rs, TileOptions as rt, ProgressInfo as ru, EInvoiceIssue as s, renderCodeFrame as sa, readBarcode as sc, flattenTransparency as sd, EKU_OIDS as sf, moveTo as sh, upscale8To16 as si, IfdEntry as sl, createXmpStream as sm, jsx as sn, SarifRun as so, PdfInkAnnotation as sp, LatticeFormGouraudOptions as sr, addBookmark as ss, RedactResult as st, OptimizeResult as su, InitWasmOptions as t, FunctionShadingOptions as ta, applyTablePreset as tc, buildOutputIntent as td, appendIncrementalUpdate as tf, endPath as th, layoutTextFlow as ti, isWasmDisabled as tl, enforcePdfUa as tm, buildFormFromJsonSchema as tn, labToRgb as to, FileAttachmentIcon as tp, BitsPerCoordinate as tr, getPageLabels as ts, RenderCache as tt, ImageOptimizeEntry as tu, FacturXAssembleOptions as u, InvoiceLine as ua, readEan13 as uc, PdfAValidationResult as ud, validateKeyUsage as uf, setFlatness as uh, decodeTileRegion as ui, decodeTiff as ul, PDFOperator as um, RuntimeCapabilities as un, toJsonReport as uo, LineEndingStyle as up, TensorPatch as ur, removeBookmark as us, OcrEngine as ut, downscaleImage as uu, preflightPdfA as v, buildGtsPdfxVersion as va, pdf417ToOperators as vc, linearizePdf as vd, isCertificateRevoked as vf, ChangeTracker as vh, DeferredSignResult as vi, isWebP as vl, endArtifact as vm, SharedCounter as vn, RequirementType as vo, PdfStrikeOutAnnotation as vp, CpalPalette as vr, EncryptedPdfError as vs, FontFileFormat as vt, encodeJpegWasm as vu, buildPdfUa2Xmp as w, buildThresholdHalftone as wa, encodeUpcA as wc, LtvOptions as wd, requestTimestamp as wf, WorkerPoolOptions as wi, encodePngFromPixels as wl, beginText as wm, RasterBuffer as wn, TableExtractOptions as wo, PdfTextAnnotation as wp, VariationAxis as wr, InvalidColorError as ws, Canvas2DLike as wt, applyRedaction as wu, autoTagPage as x, STANDARD_SPOT_FUNCTIONS as xa, dataMatrixToOperators as xc, findChangedObjects as xd, TimestampResult as xf, saveIncremental as xh, signDeferred as xi, DirectEmbedResult as xl, drawImageWithMatrix as xm, SharedRingBuffer as xn, DocumentPart as xo, PdfFreeTextAnnotation as xp, AvarSegmentMap as xr, FieldExistsAsNonTerminalError as xs, extractImages as xt, OverlayAlignment as xu, AutoTagOptions as y, buildPdfX6OutputIntent as ya, DataMatrixOptions as yc, IncrementalChange as yd, checkCertificateStatus as yf, IncrementalSaveResult as yh, ExternalSigner as yi, isWebPLossless as yl, endMarkedContent as ym, SharedFlag as yn, buildRequirement as yo, PdfUnderlineAnnotation as yp, getColorGlyphLayers as yr, ExceededMaxLengthError as ys, extractFonts as yt, initJpegWasm as yu, buildBlackPointCompensationExtGState as z, CollectionView as za, code128ToOperators as zc, ModificationReport as zd, PrepareAppearanceOptions as zf, createRangeFetcher as zi, injectJpegMetadata as zl, showTextHex as zm, NextGenFormat as zn, PdfDocumentBuilder as zo, sha256 as zp, verifyRedactions as zr, formatDate as zs, Rgba as zt, stripProhibitedFeatures as zu };
|
|
13780
|
+
//# sourceMappingURL=index-CHhHRD6q.d.cts.map
|