@office-open/core 0.9.8 → 0.10.1

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.
@@ -1,4 +1,5 @@
1
1
  import { _ as CustomDescriptor, y as ReadContext } from "./index-L82O3q6V.mjs";
2
+ import { A as DataType, C as OutputByType, w as OutputType } from "./index-DEeO4sOq.mjs";
2
3
  import { s as UniversalMeasure } from "./values-Dqj8cbcy.mjs";
3
4
  import { Element } from "@office-open/xml";
4
5
  import { ZipOptions, Zippable, Zippable as Zippable$1, strFromU8 as strFromU8$1, unzipSync as unzipSync$1 } from "fflate";
@@ -570,162 +571,6 @@ declare const createColorElement: (color: SolidFillOptions) => string;
570
571
  */
571
572
  declare const createSolidFill: (options: SolidFillOptions) => string;
572
573
  //#endregion
573
- //#region src/opc/output.d.ts
574
- /**
575
- * Output type definitions for OOXML document export.
576
- *
577
- * @module
578
- */
579
- interface OutputByType {
580
- base64: string;
581
- string: string;
582
- text: string;
583
- binarystring: string;
584
- array: readonly number[];
585
- uint8array: Uint8Array;
586
- arraybuffer: ArrayBuffer;
587
- blob: Blob;
588
- nodebuffer: Buffer;
589
- }
590
- type OutputType = keyof OutputByType;
591
- declare const OoxmlMimeType: {
592
- readonly DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
593
- readonly PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
594
- readonly XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
595
- };
596
- declare const convertOutput: <T extends OutputType>(data: Uint8Array, type: T, mimeType?: string) => OutputByType[T];
597
- //#endregion
598
- //#region src/opc/packer.d.ts
599
- type DataType = ArrayBufferLike | Blob | DataView | number[] | ReadableStream | string | Uint8Array;
600
- /** Test whether a string is a base64 data URL (`data:[mime];base64,...`). */
601
- declare function isBase64DataURL(input: string): boolean;
602
- /**
603
- * Decode a base64 string into a Uint8Array using the most efficient path
604
- * available: Node `Buffer` (zero-copy) > `Uint8Array.fromBase64()` (2025
605
- * baseline, no intermediate binary string) > `atob` fallback. Prefer this over
606
- * raw `atob` for large payloads — `atob` materializes a UCS-2 binary string
607
- * (~2x memory) before the byte array.
608
- */
609
- declare function decodeBase64(input: string): Uint8Array;
610
- declare function toUint8Array(data: DataType): Uint8Array;
611
- interface XmlifyedFile {
612
- path: string;
613
- data: string | Uint8Array;
614
- }
615
- /** Default DEFLATE level for XML entries (SuperFast, matching MS Office). */
616
- declare const ZIP_DEFLATE_LEVEL = 1;
617
- /** Default level for media entries (STORE — no compression). */
618
- declare const ZIP_STORED_LEVEL = 0;
619
- /**
620
- * Resolve the ZIP level for a media entry by file-name extension, matching MS
621
- * Office: already-compressed raster formats → STORE (0), everything else →
622
- * DEFLATE (`mediaLevel`, default SuperFast). A `compression.media` override
623
- * therefore applies only to compressible formats, never forcing DEFLATE onto
624
- * pre-compressed assets.
625
- */
626
- declare const levelForMediaName: (fileName: string, mediaLevel: number) => number;
627
- /** Compression options for ZIP output (zlib levels 0-9, matching fflate). */
628
- interface CompressionOptions {
629
- /** DEFLATE level for XML files. Default: 1 (SuperFast, matching MS Office). */
630
- xml?: number;
631
- /**
632
- * DEFLATE level for compressible media (EMF/WMF/BMP/TIFF/…). Already-compressed
633
- * formats (PNG/JPEG/GIF) are always STOREd regardless, matching MS Office.
634
- * Default: 1 (SuperFast).
635
- */
636
- media?: number;
637
- }
638
- /** Options for Packer output methods. */
639
- interface PackerOptions<T extends OutputType = "nodebuffer"> {
640
- /** Output format. Defaults to `"nodebuffer"` (Node.js Buffer). */
641
- type?: T;
642
- /** Custom XML/ZIP file overrides. */
643
- overrides?: XmlifyedFile[];
644
- /** Compression levels for ZIP entries. */
645
- compression?: CompressionOptions;
646
- }
647
- /**
648
- * Asynchronously compress files and convert to the requested output format.
649
- *
650
- * Uses fflate Web Workers for non-blocking DEFLATE compression.
651
- * XML entries use DEFLATE level 1 (SuperFast) by default. Media entries are
652
- * split by type, matching MS Office: already-compressed formats (PNG/JPEG/GIF)
653
- * are STOREd, everything else uses the `media` level (default SuperFast).
654
- * Set `{ media: ZIP_STORED_LEVEL }` to STORE all compressible media too.
655
- */
656
- declare const zipAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => Promise<OutputByType[T]>;
657
- /**
658
- * Synchronously compress files and convert to the requested output format.
659
- *
660
- * Uses synchronous DEFLATE compression for maximum throughput.
661
- * Blocks the event loop — prefer {@link zipAndConvert} in server contexts.
662
- */
663
- declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => OutputByType[T];
664
- /**
665
- * Create a `ReadableStream<Uint8Array>` from compressed file entries.
666
- *
667
- * Uses fflate's `AsyncZipDeflate` for non-blocking DEFLATE compression.
668
- * `STORED` entries (media) pass through synchronously.
669
- * Works in both Node.js and browsers (Web Streams API).
670
- */
671
- declare const createZipStream: (files: Zippable, defaultLevel?: number) => ReadableStream<Uint8Array>;
672
- /**
673
- * Compile function provided by each package to convert a file object into a Zippable map.
674
- */
675
- type CompileFn<TFile> = (file: TFile, overrides?: XmlifyedFile[], mediaLevel?: number) => Zippable;
676
- /**
677
- * Packer interface returned by {@link createPacker}.
678
- *
679
- * Async methods use fflate Web Workers for non-blocking compression.
680
- * Sync methods use synchronous compression for maximum throughput in
681
- * CLI scripts and build tools.
682
- */
683
- interface Packer<TFile> {
684
- /** Compile file to Zippable map (synchronous). */
685
- compile: CompileFn<TFile>;
686
- /** Generic async output — returns the requested OutputType. */
687
- pack<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): Promise<OutputByType[T]>;
688
- /** Generic sync output — returns the requested OutputType. */
689
- packSync<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): OutputByType[T];
690
- /** Async → `Promise<Uint8Array>` (like `Response.bytes()`). */
691
- toBytes(file: TFile, options?: PackerOptions): Promise<Uint8Array>;
692
- /** Sync → `Uint8Array`. */
693
- toBytesSync(file: TFile, options?: PackerOptions): Uint8Array;
694
- /** Async → `Promise<string>` (raw ZIP content as string). */
695
- toString(file: TFile, options?: PackerOptions): Promise<string>;
696
- /** Sync → `string`. */
697
- toStringSync(file: TFile, options?: PackerOptions): string;
698
- /** Async → `Promise<Buffer>` (Node.js). */
699
- toBuffer(file: TFile, options?: PackerOptions): Promise<Buffer>;
700
- /** Sync → `Buffer` (Node.js). */
701
- toBufferSync(file: TFile, options?: PackerOptions): Buffer;
702
- /** Async → `Promise<string>` (base64-encoded). */
703
- toBase64(file: TFile, options?: PackerOptions): Promise<string>;
704
- /** Sync → `string` (base64-encoded). */
705
- toBase64Sync(file: TFile, options?: PackerOptions): string;
706
- /** Async → `Promise<Blob>` (browser). */
707
- toBlob(file: TFile, options?: PackerOptions): Promise<Blob>;
708
- /** Sync → `Blob`. */
709
- toBlobSync(file: TFile, options?: PackerOptions): Blob;
710
- /** Async → `Promise<ArrayBuffer>`. */
711
- toArrayBuffer(file: TFile, options?: PackerOptions): Promise<ArrayBuffer>;
712
- /** Sync → `ArrayBuffer`. */
713
- toArrayBufferSync(file: TFile, options?: PackerOptions): ArrayBuffer;
714
- /** Streaming output via `ReadableStream<Uint8Array>` (cross-platform, uses Web Workers). */
715
- toStream(file: TFile, options?: PackerOptions): ReadableStream<Uint8Array>;
716
- }
717
- /**
718
- * Create a Packer object with all output format methods.
719
- *
720
- * Centralises the ZIP → convert pipeline and the streaming implementation
721
- * so that each OOXML package only needs to provide a `compile` function and
722
- * a MIME type.
723
- */
724
- declare const createPacker: <TFile>(options: {
725
- compile: CompileFn<TFile>;
726
- mimeType: string;
727
- }) => Packer<TFile>;
728
- //#endregion
729
574
  //#region src/drawingml/blip/blip-effects.d.ts
730
575
  /**
731
576
  * Options for luminance (brightness/contrast) effect.
@@ -1481,12 +1326,8 @@ declare const createPatternFill: (options: PatternFillOptions) => string;
1481
1326
  */
1482
1327
  declare const createGroupFill: () => string;
1483
1328
  //#endregion
1484
- //#region src/opc/app-properties.d.ts
1485
- /** Static app properties XML constant. */
1486
- declare const APP_PROPS_XML = "<Properties xmlns=\"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties\" xmlns:vt=\"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes\"><Application>Microsoft Office Word</Application></Properties>";
1487
- //#endregion
1488
1329
  //#region src/opc/relationships.d.ts
1489
- type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/handoutMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideSyncProperties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath";
1330
+ type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/handoutMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideSyncProperties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionHeaders" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionLog" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/users";
1490
1331
  declare const TargetModeType: {
1491
1332
  readonly EXTERNAL: "External";
1492
1333
  };
@@ -1532,53 +1373,235 @@ interface OverrideAttributes {
1532
1373
  */
1533
1374
  declare const createOverride: (contentType: string, partName?: string) => string;
1534
1375
  //#endregion
1535
- //#region src/opc/core.d.ts
1536
- type IXmlableObject = Readonly<Record<string, unknown>>;
1537
- interface CoreProperties {
1538
- title?: string;
1539
- subject?: string;
1540
- creator?: string;
1541
- keywords?: string;
1542
- description?: string;
1543
- lastModifiedBy?: string;
1544
- revision?: string;
1545
- created?: string;
1546
- modified?: string;
1547
- }
1548
- /**
1549
- * Parse core properties from an already-parsed XML element.
1550
- * Shared by docx and pptx to extract Dublin Core metadata.
1551
- */
1552
- declare function parseCorePropsElement(el: Element | undefined): CoreProperties;
1553
- /**
1554
- * Build a cp:coreProperties XML object from metadata.
1555
- *
1556
- * Shared by docx and pptx to avoid duplicating namespace declarations
1557
- * and Dublin Core property construction.
1558
- */
1559
- declare function buildCorePropertiesXml(opts: {
1560
- title?: string;
1561
- subject?: string;
1562
- creator?: string;
1563
- keywords?: string;
1564
- description?: string;
1565
- lastModifiedBy?: string;
1566
- revision?: number;
1567
- }): IXmlableObject;
1568
- /**
1569
- * Build a cp:coreProperties XML string directly (fast path).
1570
- *
1571
- * Shared by pptx and xlsx to bypass the toXml() → xml() pipeline.
1572
- */
1573
- declare function buildCorePropertiesXmlString(opts: {
1574
- title?: string;
1575
- subject?: string;
1576
- creator?: string;
1577
- keywords?: string;
1578
- description?: string;
1579
- lastModifiedBy?: string;
1580
- revision?: number;
1581
- }): string;
1376
+ //#region src/opc/app-properties.d.ts
1377
+ /**
1378
+ * Options for docProps/app.xml extended properties (CT_Properties).
1379
+ *
1380
+ * Only the scalar (string/number/boolean) child elements are modelled.
1381
+ * Structured vector/blob elements (HeadingPairs, TitlesOfParts, HLinks,
1382
+ * DigSig, PresentationFormat) are intentionally omitted.
1383
+ *
1384
+ * Property order follows the CT_Properties xsd:all sequence so the
1385
+ * emitted XML matches the reference schema ordering.
1386
+ */
1387
+ interface AppPropertiesOptions {
1388
+ /** Template name */
1389
+ template?: string;
1390
+ /** Manager name */
1391
+ manager?: string;
1392
+ /** Company name */
1393
+ company?: string;
1394
+ /** Page count */
1395
+ pages?: number;
1396
+ /** Word count */
1397
+ words?: number;
1398
+ /** Character count */
1399
+ characters?: number;
1400
+ /** Line count */
1401
+ lines?: number;
1402
+ /** Paragraph count */
1403
+ paragraphs?: number;
1404
+ /** Notes count */
1405
+ notes?: number;
1406
+ /** Slides count */
1407
+ slides?: number;
1408
+ /** Total editing time (minutes) */
1409
+ totalTime?: number;
1410
+ /** Hidden slides count */
1411
+ hiddenSlides?: number;
1412
+ /** Multimedia clips count */
1413
+ mmClips?: number;
1414
+ /** Characters including spaces */
1415
+ charactersWithSpaces?: number;
1416
+ /** Document security level */
1417
+ docSecurity?: number;
1418
+ /** Hyperlink base URL */
1419
+ hyperlinkBase?: string;
1420
+ /** Application name */
1421
+ application?: string;
1422
+ /** Application version */
1423
+ appVersion?: string;
1424
+ /** Whether the document is scaled/cropped */
1425
+ scaleCrop?: boolean;
1426
+ /** Whether links are up to date */
1427
+ linksUpToDate?: boolean;
1428
+ /** Whether the document is shared */
1429
+ sharedDoc?: boolean;
1430
+ /** Whether hyperlinks changed */
1431
+ hyperlinksChanged?: boolean;
1432
+ }
1433
+ /** Subset of AppPropertiesOptions accepted by stringify. */
1434
+ type AppPropertiesInput = AppPropertiesOptions;
1435
+ declare const appPropertiesDesc: CustomDescriptor<AppPropertiesInput>;
1436
+ //#endregion
1437
+ //#region src/opc/custom-properties.d.ts
1438
+ /**
1439
+ * Options for a single custom property.
1440
+ *
1441
+ * @property name - The property name
1442
+ * @property value - The property value (as string)
1443
+ */
1444
+ interface CustomPropertyOptions {
1445
+ /** The property name */
1446
+ name: string;
1447
+ /** The property value (as string) */
1448
+ value: string;
1449
+ }
1450
+ /** Input shape for the custom-properties descriptor. */
1451
+ interface CustomPropertiesInput {
1452
+ properties: CustomPropertyOptions[];
1453
+ }
1454
+ declare const customPropertiesDesc: CustomDescriptor<CustomPropertiesInput>;
1455
+ //#endregion
1456
+ //#region src/opc/packer.d.ts
1457
+ interface XmlifyedFile {
1458
+ path: string;
1459
+ data: string | Uint8Array;
1460
+ }
1461
+ /** Default DEFLATE level for XML entries (SuperFast, matching MS Office). */
1462
+ declare const ZIP_DEFLATE_LEVEL = 1;
1463
+ /** Default level for media entries (STORE — no compression). */
1464
+ declare const ZIP_STORED_LEVEL = 0;
1465
+ /**
1466
+ * Resolve the ZIP level for a media entry by file-name extension, matching MS
1467
+ * Office: already-compressed raster formats → STORE (0), everything else →
1468
+ * DEFLATE (`mediaLevel`, default SuperFast). A `compression.media` override
1469
+ * therefore applies only to compressible formats, never forcing DEFLATE onto
1470
+ * pre-compressed assets.
1471
+ */
1472
+ declare const levelForMediaName: (fileName: string, mediaLevel: number) => number;
1473
+ /** Compression options for ZIP output (zlib levels 0-9, matching fflate). */
1474
+ interface CompressionOptions {
1475
+ /** DEFLATE level for XML files. Default: 1 (SuperFast, matching MS Office). */
1476
+ xml?: number;
1477
+ /**
1478
+ * DEFLATE level for compressible media (EMF/WMF/BMP/TIFF/…). Already-compressed
1479
+ * formats (PNG/JPEG/GIF) are always STOREd regardless, matching MS Office.
1480
+ * Default: 1 (SuperFast).
1481
+ */
1482
+ media?: number;
1483
+ }
1484
+ /** Options for Packer output methods. */
1485
+ interface PackerOptions<T extends OutputType = "nodebuffer"> {
1486
+ /** Output format. Defaults to `"nodebuffer"` (Node.js Buffer). */
1487
+ type?: T;
1488
+ /** Custom XML/ZIP file overrides. */
1489
+ overrides?: XmlifyedFile[];
1490
+ /** Compression levels for ZIP entries. */
1491
+ compression?: CompressionOptions;
1492
+ }
1493
+ /**
1494
+ * Asynchronously compress files and convert to the requested output format.
1495
+ *
1496
+ * Uses fflate Web Workers for non-blocking DEFLATE compression.
1497
+ * XML entries use DEFLATE level 1 (SuperFast) by default. Media entries are
1498
+ * split by type, matching MS Office: already-compressed formats (PNG/JPEG/GIF)
1499
+ * are STOREd, everything else uses the `media` level (default SuperFast).
1500
+ * Set `{ media: ZIP_STORED_LEVEL }` to STORE all compressible media too.
1501
+ */
1502
+ declare const zipAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => Promise<OutputByType[T]>;
1503
+ /**
1504
+ * Synchronously compress files and convert to the requested output format.
1505
+ *
1506
+ * Uses synchronous DEFLATE compression for maximum throughput.
1507
+ * Blocks the event loop — prefer {@link zipAndConvert} in server contexts.
1508
+ */
1509
+ declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => OutputByType[T];
1510
+ /**
1511
+ * Create a `ReadableStream<Uint8Array>` from compressed file entries.
1512
+ *
1513
+ * Uses fflate's `AsyncZipDeflate` for non-blocking DEFLATE compression.
1514
+ * `STORED` entries (media) pass through synchronously.
1515
+ * Works in both Node.js and browsers (Web Streams API).
1516
+ */
1517
+ declare const createZipStream: (files: Zippable, defaultLevel?: number) => ReadableStream<Uint8Array>;
1518
+ /**
1519
+ * Compile function provided by each package to convert a file object into a Zippable map.
1520
+ */
1521
+ type CompileFn<TFile> = (file: TFile, overrides?: XmlifyedFile[], mediaLevel?: number) => Zippable;
1522
+ /**
1523
+ * Packer interface returned by {@link createPacker}.
1524
+ *
1525
+ * Async methods use fflate Web Workers for non-blocking compression.
1526
+ * Sync methods use synchronous compression for maximum throughput in
1527
+ * CLI scripts and build tools.
1528
+ */
1529
+ interface Packer<TFile> {
1530
+ /** Compile file to Zippable map (synchronous). */
1531
+ compile: CompileFn<TFile>;
1532
+ /** Generic async output — returns the requested OutputType. */
1533
+ pack<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): Promise<OutputByType[T]>;
1534
+ /** Generic sync output — returns the requested OutputType. */
1535
+ packSync<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): OutputByType[T];
1536
+ /** Async → `Promise<Uint8Array>` (like `Response.bytes()`). */
1537
+ toBytes(file: TFile, options?: PackerOptions): Promise<Uint8Array>;
1538
+ /** Sync → `Uint8Array`. */
1539
+ toBytesSync(file: TFile, options?: PackerOptions): Uint8Array;
1540
+ /** Async → `Promise<string>` (raw ZIP content as string). */
1541
+ toString(file: TFile, options?: PackerOptions): Promise<string>;
1542
+ /** Sync → `string`. */
1543
+ toStringSync(file: TFile, options?: PackerOptions): string;
1544
+ /** Async → `Promise<Buffer>` (Node.js). */
1545
+ toBuffer(file: TFile, options?: PackerOptions): Promise<Buffer>;
1546
+ /** Sync → `Buffer` (Node.js). */
1547
+ toBufferSync(file: TFile, options?: PackerOptions): Buffer;
1548
+ /** Async → `Promise<string>` (base64-encoded). */
1549
+ toBase64(file: TFile, options?: PackerOptions): Promise<string>;
1550
+ /** Sync → `string` (base64-encoded). */
1551
+ toBase64Sync(file: TFile, options?: PackerOptions): string;
1552
+ /** Async → `Promise<Blob>` (browser). */
1553
+ toBlob(file: TFile, options?: PackerOptions): Promise<Blob>;
1554
+ /** Sync → `Blob`. */
1555
+ toBlobSync(file: TFile, options?: PackerOptions): Blob;
1556
+ /** Async → `Promise<ArrayBuffer>`. */
1557
+ toArrayBuffer(file: TFile, options?: PackerOptions): Promise<ArrayBuffer>;
1558
+ /** Sync → `ArrayBuffer`. */
1559
+ toArrayBufferSync(file: TFile, options?: PackerOptions): ArrayBuffer;
1560
+ /** Streaming output via `ReadableStream<Uint8Array>` (cross-platform, uses Web Workers). */
1561
+ toStream(file: TFile, options?: PackerOptions): ReadableStream<Uint8Array>;
1562
+ }
1563
+ /**
1564
+ * Create a Packer object with all output format methods.
1565
+ *
1566
+ * Centralises the ZIP → convert pipeline and the streaming implementation
1567
+ * so that each OOXML package only needs to provide a `compile` function and
1568
+ * a MIME type.
1569
+ */
1570
+ declare const createPacker: <TFile>(options: {
1571
+ compile: CompileFn<TFile>;
1572
+ mimeType: string;
1573
+ }) => Packer<TFile>;
1574
+ //#endregion
1575
+ //#region src/util/base64.d.ts
1576
+ /**
1577
+ * Shared base64 encode/decode helpers.
1578
+ *
1579
+ * Both prefer the native `Uint8Array` base64 methods (Node 22+, modern
1580
+ * browsers): they avoid the intermediate binary string that `btoa`/`atob`
1581
+ * materialize and cannot stack-overflow on large buffers. Node `Buffer` is the
1582
+ * secondary path; a manual loop covers older runtimes.
1583
+ *
1584
+ * @module
1585
+ */
1586
+ /**
1587
+ * Decode a base64 string into a `Uint8Array`.
1588
+ *
1589
+ * Prefers native `Uint8Array.fromBase64` (no intermediate binary string), then
1590
+ * Node `Buffer` (zero-copy), then `atob`.
1591
+ */
1592
+ declare function decodeBase64(input: string): Uint8Array;
1593
+ /**
1594
+ * Encode a `Uint8Array` into a base64 string.
1595
+ *
1596
+ * Prefers native `Uint8Array.prototype.toBase64` (no intermediate binary
1597
+ * string), then Node `Buffer` (zero-copy), then a `btoa` fallback.
1598
+ *
1599
+ * The fallback builds the binary string in a loop rather than
1600
+ * `String.fromCharCode(...bytes)` — the spread form places every byte on the
1601
+ * call stack and overflows for large buffers (V8 caps function arguments near
1602
+ * ~65k).
1603
+ */
1604
+ declare function encodeBase64(bytes: Uint8Array): string;
1582
1605
  //#endregion
1583
1606
  //#region src/opc/parser.d.ts
1584
1607
  /**
@@ -2155,6 +2178,27 @@ declare const XLSX_PARTS: {
2155
2178
  readonly kind: "conditional";
2156
2179
  readonly flag: "any formula cell";
2157
2180
  };
2181
+ }, {
2182
+ readonly path: "xl/revisionHeaders.xml";
2183
+ readonly contentType: "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml";
2184
+ readonly presence: {
2185
+ readonly kind: "conditional";
2186
+ readonly flag: "revisionLog";
2187
+ };
2188
+ }, {
2189
+ readonly path: "xl/revisions/revision${i}.xml";
2190
+ readonly contentType: "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml";
2191
+ readonly presence: {
2192
+ readonly kind: "repeated";
2193
+ readonly countFrom: "revisionLog.logs.length";
2194
+ };
2195
+ }, {
2196
+ readonly path: "xl/users.xml";
2197
+ readonly contentType: "application/vnd.openxmlformats-officedocument.spreadsheetml.users+xml";
2198
+ readonly presence: {
2199
+ readonly kind: "conditional";
2200
+ readonly flag: "revisionLog.users";
2201
+ };
2158
2202
  }];
2159
2203
  };
2160
2204
  declare const PART_REGISTRIES: Record<PackagePartRegistry["format"], PackagePartRegistry>;
@@ -4957,4 +5001,4 @@ declare const diagramStyleDesc: CustomDescriptor<DiagramStyleOptions>;
4957
5001
  declare const presentationLayoutVariablesDesc: CustomDescriptor<PresentationLayoutVariablesOptions>;
4958
5002
  declare const diagramExtensionListDesc: CustomDescriptor<DiagramExtensionListOptions>;
4959
5003
  //#endregion
4960
- export { createLineColorList as $, isBase64DataURL as $a, parseArchive as $i, calculateEffectExtent as $n, xsdLineCap as $r, TableStyleListOptions as $t, rgbColorDesc as A, TileFlipMode as Aa, convertPointsToEmu as Ai, stringifyAdjustmentValues as An, createCustomDash as Ar, PresentationLayoutVariablesOptions as At, createDiagramTextProperties as B, CompileFn as Ba, OpcCode as Bi, LightRigOptions as Bn, hasPlaceholders as Br, GraphicFrameLockingOptions as Bt, fillDesc as C, GradientFillOptions as Ca, convertEmuToInches as Ci, PathCommand as Cn, PresetColor as Co, createOutline as Cr, AnimationLevelOptions as Ct, hslColorDesc as D, PathShadeOptions as Da, convertInchesToTwip as Di, PresetGeometryOptions as Dn, createHslColor as Do, LineEndWidth as Dr, MaxChildrenOptions as Dt, getColorDescriptor as E, LinearShadeOptions as Ea, convertInchesToEmu as Ei, createCustomGeometry as En, HslColorOptions as Eo, LineEndType as Er, HierBranchStyle as Et, DiagramExtensionListOptions as F, createTileInfo as Fa, convertUniversalMeasureToTwip as Fi, BevelPresetType as Fn, findAndReplaceImagePlaceholders as Fr, createHierBranch as Ft, DiagramStyleLabelOptions as G, XmlifyedFile as Ga, DOCX_PARTS as Gi, createScene3D as Gn, replaceMediaPlaceholders as Gr, createGroupLocking as Gt, createDiagramRelationshipIds as H, DataType as Ha, OpcSeverity as Hi, Scene3DOptions as Hn, replaceChartPlaceholders as Hr, PictureLockingOptions as Ht, DiagramExtensionOptions as I, SourceRectangleOptions as Ia, parseUniversalMeasure as Ii, createBevel as In, formatId as Ir, createMaxChildren as It, HueDirection as J, ZipOptions as Ja, PackagePartRegistry as Ji, EffectDagOptions as Jn, replaceVideoPlaceholders as Jr, OnOffStyleType as Jt, DiagramStyleOptions as K, ZIP_DEFLATE_LEVEL as Ka, PART_REGISTRIES as Ki, createSoftEdgeEffect as Kn, replaceNumberingPlaceholders as Kr, createPictureLocking as Kt, DiagramTextPropertiesOptions as L, createSourceRectangle as La, compileMapping as Li, createBottomBevel as Ln, getMediaRefs as Lr, createOrgChart as Lt, schemeColorDesc as M, createGradientStop as Ma, convertToEmu as Mi, Shape3DOptions as Mn, SmartArtRelOptions as Mr, createAdjustList as Mt, solidFillDesc as N, TileAlignment as Na, convertToTwip as Ni, createShape3D as Nn, addSmartArtRelationships as Nr, createAnimateOneByOne as Nt, parseColorChoice as O, PathShadeType as Oa, convertMillimetersToTwip as Oi, stringifyPresetGeometry as On, ColorTransformOptions as Oo, createLineEnd as Or, OrgChartOptions as Ot, systemColorDesc as P, TileOptions as Pa, convertUniversalMeasureToEmu as Pi, BevelOptions as Pn, collectPlaceholderKeys as Pr, createAnimationLevel as Pt, createFillColorList as Q, decodeBase64 as Qa, ParsedArchive as Qi, EffectListOptions as Qn, xsdEffectContainer as Qr, TablePartStyleOptions as Qt, createDiagramExtensionList as R, BlipEffectsOptions as Ra, ContentTypeOverrideEntry as Ri, BackdropOptions as Rn, getReferencedMedia as Rr, createPreferredChildren as Rt, outlineDesc as S, extractBlipFillMedia as Sa, PixelPosition as Si, GeomRect as Sn, createRgbColor as So, PresetDash as Sr, AnimateOneByOneValue as St, patternFillDesc as T, GradientStop as Ta, convertEmuToPoints as Ti, PathOptions as Tn, createPresetColor as To, LineEndOptions as Tr, HierBranchOptions as Tt, ColorListOptions as U, Packer as Ua, summarizeOpcIssues as Ui, SphereCoords as Un, replaceHyperlinkPlaceholders as Ur, ShapeLockingOptions as Ut, DiagramRelationshipIdsOptions as V, CompressionOptions as Va, OpcIssue as Vi, Point3D as Vn, replaceAllPlaceholders as Vr, GroupLockingOptions as Vt, ColorMethod as W, PackerOptions as Wa, validateOpcConsistency as Wi, Vector3D as Wn, replaceImagePlaceholders as Wr, createGraphicFrameLocking as Wt, createDiagramStyle as X, createPacker as Xa, PartPresence as Xi, BlurEffectOptions as Xn, xsdBlendMode as Xr, TableCellBorderOptions as Xt, StyleMatrixIndex as Y, Zippable$1 as Ya, PartDef as Yi, createEffectDag as Yn, invertMap as Yr, StyleMatrixReferenceOptions as Yt, createEffectColorList as Z, createZipStream as Za, XLSX_PARTS as Zi, EffectExtent as Zn, xsdCompoundLine as Zr, TableCellStyleOptions as Zt, graphicFrameLockingDesc as _, BlipFillConfigOptions as _a, uniqueUuid as _i, createBlipFill as _n, SchemeColorOptions as _o, LineCap as _r, createStyleDefinitionHeader as _t, blipDesc as a, OverrideAttributes as aa, xsdPresetShadow as ai, createTableStyleList as an, zipSyncAndConvert as ao, createPresetShadowEffect as ar, ColorsDefinitionHeaderOptions as at, shapeLockingDesc as b, GradientStopOptions as ba, randomBytes as bi, ConnectionSite as bn, createScRgbColor as bo, OutlineOptions as br, AdjustOptions as bt, stretchDesc as c, RelationshipType as ca, xsdTextAlign as ci, MediaTransformation as cn, OutputType as co, createOuterShadowEffect as cr, DiagramNameOptions as ct, scene3DDesc as d, APP_PROPS_XML as da, xsdUnderlineStyle as di, Transform2DOptions as dn, createColorElement as do, GlowEffectOptions as dr, StyleDefinitionHeaderListOptions as dt, CoreProperties as ea, xsdLineEndSize as ei, TableStyleOptions as en, levelForMediaName as eo, createEffectList as er, createStyleLabel as et, shape3DDesc as f, createGroupFill as fa, xsdVerticalMergeRev as fi, createGroupTransform2D as fn, createSolidFill as fo, createGlowEffect as fr, StyleDefinitionHeaderOptions as ft, presetGeometryDesc as g, createNoFill as ga, uniqueNumericIdCreator as gi, BlipFillOptions as gn, SchemeColor as go, CompoundLine as gr, createLayoutDefinitionHeaderList as gt, customGeometryDesc as h, createPatternFill as ha, uniqueId as hi, createExtentionList as hn, createSystemColor as ho, createFillOverlayEffect as hr, createLayoutDefinitionHeader as ht, presentationLayoutVariablesDesc as i, DefaultAttributes as ia, xsdPenAlignment as ii, createTableStyle as in, zipAndConvert as io, PresetShadowVal as ir, ColorsDefinitionHeaderListOptions as it, scRgbColorDesc as j, createGradientFill as ja, convertPositionToEmu as ji, PresetMaterialType as jn, IdFormat as jr, createAdjust as jt, presetColorDesc as k, RelativeRect as ka, convertPixelsToEmu as ki, GeometryGuide as kn, createColorTransforms as ko, DashStop as kr, PreferredChildrenOptions as kt, tileDesc as l, Relationships as la, xsdTextAnchor as li, createTransformation as ln, convertOutput as lo, InnerShadowEffectOptions as lr, LayoutDefinitionHeaderListOptions as lt, transform2DDesc as m, PresetPattern as ma, hashedId as mi, stringifyStretch as mn, SystemColorOptions as mo, FillOverlayEffectOptions as mr, createColorsDefinitionHeaderList as mt, diagramRelationshipIdsDesc as n, buildCorePropertiesXmlString as na, xsdPathFillMode as ni, TableTextStyleOptions as nn, toUint8Array as no, createReflectionEffect as nr, createTextFillColorList as nt, blipFillDesc as o, createDefault as oa, xsdRectAlignment as oi, parseTableStyleList as on, OoxmlMimeType as oo, OuterShadowEffectOptions as or, DiagramCategoryOptions as ot, groupTransform2DDesc as p, PatternFillOptions as pa, UniqueNumericIdCreator as pi, createTransform2D as pn, SystemColor as po, BlendMode as pr, createColorsDefinitionHeader as pt, FontCollectionIndex as q, ZIP_STORED_LEVEL as qa, PPTX_PARTS as qi, EffectContainerType as qn, replaceSmartArtPlaceholders as qr, createShapeLocking as qt, diagramStyleDesc as r, parseCorePropsElement as ra, xsdPattern as ri, ThemeableLineStyleOptions as rn, unzipSync$1 as ro, PresetShadowEffectOptions as rr, createTextLineColorList as rt, sourceRectangleDesc as s, createOverride as sa, xsdStrikeStyle as si, MediaDataTransformation as sn, OutputByType as so, RectAlignment as sr, DiagramDescriptionOptions as st, diagramExtensionListDesc as t, buildCorePropertiesXml as ta, xsdMaterialType as ti, TableStyleRegion as tn, strFromU8$1 as to, ReflectionEffectOptions as tr, createTextEffectColorList as tt, bevelDesc as u, TargetModeType as ua, xsdTextCaps as ui, GroupTransform2DOptions as un, SolidFillOptions as uo, createInnerShadowEffect as ur, LayoutDefinitionHeaderOptions as ut, groupLockingDesc as v, BlipFillMediaData as va, derivePasswordHash as vi, BlipOptions as vn, createSchemeColor as vo, LineJoin as vr, createStyleDefinitionHeaderList as vt, gradientFillDesc as w, GradientShadeOptions as wa, convertEmuToPixels as wi, PathFillMode as wn, PresetColorOptions as wo, LineEndLength as wr, AnimationLevelValue as wt, effectListDesc as x, buildFill as xa, EmuPosition as xi, CustomGeometryOptions as xn, RgbColorOptions as xo, PenAlignment as xr, AnimateOneByOneOptions as xt, pictureLockingDesc as y, FillOptions as ya, hashPasswordAgile as yi, createBlip as yn, ScRgbColorOptions as yo, OutlineFillProperties as yr, AdjustListOptions as yt, createDiagramShape3D as z, createBlipEffects as za, buildContentTypeOverrides as zi, CameraOptions as zn, getVideoRefs as zr, createPresentationLayoutVariables as zt };
5004
+ export { createLineColorList as $, TileOptions as $a, parseArchive as $i, calculateEffectExtent as $n, xsdLineCap as $r, TableStyleListOptions as $t, rgbColorDesc as A, TargetModeType as Aa, convertPointsToEmu as Ai, stringifyAdjustmentValues as An, createCustomDash as Ar, PresentationLayoutVariablesOptions as At, createDiagramTextProperties as B, buildFill as Ba, OpcCode as Bi, LightRigOptions as Bn, hasPlaceholders as Br, GraphicFrameLockingOptions as Bt, fillDesc as C, appPropertiesDesc as Ca, convertEmuToInches as Ci, PathCommand as Cn, ColorTransformOptions as Co, createOutline as Cr, AnimationLevelOptions as Ct, hslColorDesc as D, createOverride as Da, convertInchesToTwip as Di, PresetGeometryOptions as Dn, LineEndWidth as Dr, MaxChildrenOptions as Dt, getColorDescriptor as E, createDefault as Ea, convertInchesToEmu as Ei, createCustomGeometry as En, LineEndType as Er, HierBranchStyle as Et, DiagramExtensionListOptions as F, createNoFill as Fa, convertUniversalMeasureToTwip as Fi, BevelPresetType as Fn, findAndReplaceImagePlaceholders as Fr, createHierBranch as Ft, DiagramStyleLabelOptions as G, LinearShadeOptions as Ga, DOCX_PARTS as Gi, createScene3D as Gn, replaceMediaPlaceholders as Gr, createGroupLocking as Gt, createDiagramRelationshipIds as H, GradientFillOptions as Ha, OpcSeverity as Hi, Scene3DOptions as Hn, replaceChartPlaceholders as Hr, PictureLockingOptions as Ht, DiagramExtensionOptions as I, BlipFillConfigOptions as Ia, parseUniversalMeasure as Ii, createBevel as In, formatId as Ir, createMaxChildren as It, HueDirection as J, RelativeRect as Ja, PackagePartRegistry as Ji, EffectDagOptions as Jn, replaceVideoPlaceholders as Jr, OnOffStyleType as Jt, DiagramStyleOptions as K, PathShadeOptions as Ka, PART_REGISTRIES as Ki, createSoftEdgeEffect as Kn, replaceNumberingPlaceholders as Kr, createPictureLocking as Kt, DiagramTextPropertiesOptions as L, BlipFillMediaData as La, compileMapping as Li, createBottomBevel as Ln, getMediaRefs as Lr, createOrgChart as Lt, schemeColorDesc as M, PatternFillOptions as Ma, convertToEmu as Mi, Shape3DOptions as Mn, SmartArtRelOptions as Mr, createAdjustList as Mt, solidFillDesc as N, PresetPattern as Na, convertToTwip as Ni, createShape3D as Nn, addSmartArtRelationships as Nr, createAnimateOneByOne as Nt, parseColorChoice as O, RelationshipType as Oa, convertMillimetersToTwip as Oi, stringifyPresetGeometry as On, createLineEnd as Or, OrgChartOptions as Ot, systemColorDesc as P, createPatternFill as Pa, convertUniversalMeasureToEmu as Pi, BevelOptions as Pn, collectPlaceholderKeys as Pr, createAnimationLevel as Pt, createFillColorList as Q, TileAlignment as Qa, ParsedArchive as Qi, EffectListOptions as Qn, xsdEffectContainer as Qr, TablePartStyleOptions as Qt, createDiagramExtensionList as R, FillOptions as Ra, ContentTypeOverrideEntry as Ri, BackdropOptions as Rn, getReferencedMedia as Rr, createPreferredChildren as Rt, outlineDesc as S, AppPropertiesOptions as Sa, PixelPosition as Si, GeomRect as Sn, createHslColor as So, PresetDash as Sr, AnimateOneByOneValue as St, patternFillDesc as T, OverrideAttributes as Ta, convertEmuToPoints as Ti, PathOptions as Tn, LineEndOptions as Tr, HierBranchOptions as Tt, ColorListOptions as U, GradientShadeOptions as Ua, summarizeOpcIssues as Ui, SphereCoords as Un, replaceHyperlinkPlaceholders as Ur, ShapeLockingOptions as Ut, DiagramRelationshipIdsOptions as V, extractBlipFillMedia as Va, OpcIssue as Vi, Point3D as Vn, replaceAllPlaceholders as Vr, GroupLockingOptions as Vt, ColorMethod as W, GradientStop as Wa, validateOpcConsistency as Wi, Vector3D as Wn, replaceImagePlaceholders as Wr, createGraphicFrameLocking as Wt, createDiagramStyle as X, createGradientFill as Xa, PartPresence as Xi, BlurEffectOptions as Xn, xsdBlendMode as Xr, TableCellBorderOptions as Xt, StyleMatrixIndex as Y, TileFlipMode as Ya, PartDef as Yi, createEffectDag as Yn, invertMap as Yr, StyleMatrixReferenceOptions as Yt, createEffectColorList as Z, createGradientStop as Za, XLSX_PARTS as Zi, EffectExtent as Zn, xsdCompoundLine as Zr, TableCellStyleOptions as Zt, graphicFrameLockingDesc as _, zipSyncAndConvert as _a, uniqueUuid as _i, createBlipFill as _n, createRgbColor as _o, LineCap as _r, createStyleDefinitionHeader as _t, blipDesc as a, PackerOptions as aa, xsdPresetShadow as ai, createTableStyleList as an, SolidFillOptions as ao, createPresetShadowEffect as ar, ColorsDefinitionHeaderOptions as at, shapeLockingDesc as b, customPropertiesDesc as ba, randomBytes as bi, ConnectionSite as bn, createPresetColor as bo, OutlineOptions as br, AdjustOptions as bt, stretchDesc as c, ZIP_STORED_LEVEL as ca, xsdTextAlign as ci, MediaTransformation as cn, SystemColor as co, createOuterShadowEffect as cr, DiagramNameOptions as ct, scene3DDesc as d, createPacker as da, xsdUnderlineStyle as di, Transform2DOptions as dn, SchemeColor as do, GlowEffectOptions as dr, StyleDefinitionHeaderListOptions as dt, decodeBase64 as ea, xsdLineEndSize as ei, TableStyleOptions as en, createTileInfo as eo, createEffectList as er, createStyleLabel as et, shape3DDesc as f, createZipStream as fa, xsdVerticalMergeRev as fi, createGroupTransform2D as fn, SchemeColorOptions as fo, createGlowEffect as fr, StyleDefinitionHeaderOptions as ft, presetGeometryDesc as g, zipAndConvert as ga, uniqueNumericIdCreator as gi, BlipFillOptions as gn, RgbColorOptions as go, CompoundLine as gr, createLayoutDefinitionHeaderList as gt, customGeometryDesc as h, unzipSync$1 as ha, uniqueId as hi, createExtentionList as hn, createScRgbColor as ho, createFillOverlayEffect as hr, createLayoutDefinitionHeader as ht, presentationLayoutVariablesDesc as i, Packer as ia, xsdPenAlignment as ii, createTableStyle as in, createBlipEffects as io, PresetShadowVal as ir, ColorsDefinitionHeaderListOptions as it, scRgbColorDesc as j, createGroupFill as ja, convertPositionToEmu as ji, PresetMaterialType as jn, IdFormat as jr, createAdjust as jt, presetColorDesc as k, Relationships as ka, convertPixelsToEmu as ki, GeometryGuide as kn, DashStop as kr, PreferredChildrenOptions as kt, tileDesc as l, ZipOptions as la, xsdTextAnchor as li, createTransformation as ln, SystemColorOptions as lo, InnerShadowEffectOptions as lr, LayoutDefinitionHeaderListOptions as lt, transform2DDesc as m, strFromU8$1 as ma, hashedId as mi, stringifyStretch as mn, ScRgbColorOptions as mo, FillOverlayEffectOptions as mr, createColorsDefinitionHeaderList as mt, diagramRelationshipIdsDesc as n, CompileFn as na, xsdPathFillMode as ni, TableTextStyleOptions as nn, createSourceRectangle as no, createReflectionEffect as nr, createTextFillColorList as nt, blipFillDesc as o, XmlifyedFile as oa, xsdRectAlignment as oi, parseTableStyleList as on, createColorElement as oo, OuterShadowEffectOptions as or, DiagramCategoryOptions as ot, groupTransform2DDesc as p, levelForMediaName as pa, UniqueNumericIdCreator as pi, createTransform2D as pn, createSchemeColor as po, BlendMode as pr, createColorsDefinitionHeader as pt, FontCollectionIndex as q, PathShadeType as qa, PPTX_PARTS as qi, EffectContainerType as qn, replaceSmartArtPlaceholders as qr, createShapeLocking as qt, diagramStyleDesc as r, CompressionOptions as ra, xsdPattern as ri, ThemeableLineStyleOptions as rn, BlipEffectsOptions as ro, PresetShadowEffectOptions as rr, createTextLineColorList as rt, sourceRectangleDesc as s, ZIP_DEFLATE_LEVEL as sa, xsdStrikeStyle as si, MediaDataTransformation as sn, createSolidFill as so, RectAlignment as sr, DiagramDescriptionOptions as st, diagramExtensionListDesc as t, encodeBase64 as ta, xsdMaterialType as ti, TableStyleRegion as tn, SourceRectangleOptions as to, ReflectionEffectOptions as tr, createTextEffectColorList as tt, bevelDesc as u, Zippable$1 as ua, xsdTextCaps as ui, GroupTransform2DOptions as un, createSystemColor as uo, createInnerShadowEffect as ur, LayoutDefinitionHeaderOptions as ut, groupLockingDesc as v, CustomPropertiesInput as va, derivePasswordHash as vi, BlipOptions as vn, PresetColor as vo, LineJoin as vr, createStyleDefinitionHeaderList as vt, gradientFillDesc as w, DefaultAttributes as wa, convertEmuToPixels as wi, PathFillMode as wn, createColorTransforms as wo, LineEndLength as wr, AnimationLevelValue as wt, effectListDesc as x, AppPropertiesInput as xa, EmuPosition as xi, CustomGeometryOptions as xn, HslColorOptions as xo, PenAlignment as xr, AnimateOneByOneOptions as xt, pictureLockingDesc as y, CustomPropertyOptions as ya, hashPasswordAgile as yi, createBlip as yn, PresetColorOptions as yo, OutlineFillProperties as yr, AdjustListOptions as yt, createDiagramShape3D as z, GradientStopOptions as za, buildContentTypeOverrides as zi, CameraOptions as zn, getVideoRefs as zr, createPresentationLayoutVariables as zt };