@office-open/core 0.6.4 → 0.6.6

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,4 @@
1
- import { r as PositiveUniversalMeasure } from "./values-CIh0bdS1.mjs";
1
+ import { r as PositiveUniversalMeasure } from "./values-CyCW27--.js";
2
2
  import { Element } from "@office-open/xml";
3
3
 
4
4
  //#region src/xml-components/types.d.ts
@@ -42,6 +42,11 @@ declare abstract class BaseXmlComponent {
42
42
  * @returns The XML-serializable object, or undefined to exclude from output
43
43
  */
44
44
  abstract prepForXml(context: Context): IXmlableObject | undefined;
45
+ /**
46
+ * Direct XML serialization. Override in subclasses for zero-allocation output.
47
+ * Default falls back to prepForXml() + xml().
48
+ */
49
+ toXml(context: Context): string;
45
50
  }
46
51
  //#endregion
47
52
  //#region src/xml-components/component.d.ts
@@ -53,6 +58,11 @@ declare abstract class BaseXmlComponent {
53
58
  declare const EMPTY_OBJECT: {};
54
59
  /**
55
60
  * Base class for all XML components in OOXML documents.
61
+ *
62
+ * `toXml()` traverses the `root` array and calls `toXml()` on each
63
+ * `BaseXmlComponent` child — this avoids building the intermediate
64
+ * `IXmlableObject` tree. Inline `IXmlableObject` children fall back to
65
+ * `xml()` for serialization.
56
66
  */
57
67
  declare abstract class XmlComponent extends BaseXmlComponent {
58
68
  /**
@@ -65,8 +75,8 @@ declare abstract class XmlComponent extends BaseXmlComponent {
65
75
  */
66
76
  prepForXml(context: Context): IXmlableObject | undefined;
67
77
  /**
68
- * Direct XML serialization. Override in subclasses for zero-allocation output.
69
- * Default falls back to prepForXml() + xml().
78
+ * Direct XML serialization traverses `root` and calls `toXml()` on
79
+ * each child, concatenating the results into a single string.
70
80
  */
71
81
  toXml(context: Context): string;
72
82
  /**
@@ -81,6 +91,13 @@ declare abstract class IgnoreIfEmptyXmlComponent extends XmlComponent {
81
91
  private readonly includeIfEmpty;
82
92
  constructor(rootKey: string, includeIfEmpty?: boolean);
83
93
  prepForXml(context: Context): IXmlableObject | undefined;
94
+ /**
95
+ * Suppress empty elements — super.toXml() produces a self-closing tag
96
+ * (`<tag/>`) when there are no child elements; IgnoreIfEmpty returns ""
97
+ * in that case. Child components that already override toXml() (e.g.
98
+ * Worksheet) are unaffected.
99
+ */
100
+ toXml(context: Context): string;
84
101
  }
85
102
  //#endregion
86
103
  //#region src/xml-components/attributes.d.ts
@@ -1,14 +1,20 @@
1
- import { C as XmlComponent } from "../index-mjYQ4KiG.mjs";
1
+ import { C as XmlComponent } from "./index-k2ds4fI-.js";
2
2
 
3
3
  //#region src/chart/axes.d.ts
4
4
  /**
5
5
  * c:catAx — category axis.
6
+ *
7
+ * XSD sequence: EG_AxShared (axId, scaling, delete, axPos, ..., crossAx, crosses)
8
+ * then: auto, lblAlgn, lblOffset, tickLblSkip, tickMarkSkip, noMultiLvlLbl
6
9
  */
7
10
  declare class CatAx extends XmlComponent {
8
11
  constructor(axId: number, crossAx: number);
9
12
  }
10
13
  /**
11
14
  * c:valAx — value axis.
15
+ *
16
+ * XSD sequence: EG_AxShared (axId, scaling, delete, axPos, ..., spPr, ..., crossAx, crosses)
17
+ * then: crossBetween, majorUnit, minorUnit, dispUnits
12
18
  */
13
19
  declare class ValAx extends XmlComponent {
14
20
  constructor(axId: number, crossAx: number);
@@ -71,7 +77,7 @@ interface ChartTypeOptions {
71
77
  readonly series: readonly ChartSeriesData[];
72
78
  readonly categories: readonly string[];
73
79
  }
74
- declare const createChartType: (options: ChartTypeOptions) => BarChart | LineChart | PieChart | AreaChart | ScatterChart;
80
+ declare const createChartType: (options: ChartTypeOptions) => ScatterChart | BarChart | LineChart | PieChart | AreaChart;
75
81
  //#endregion
76
82
  //#region src/chart/chart-space.d.ts
77
83
  interface ChartSpaceOptions {
@@ -110,4 +116,4 @@ declare class ChartTitle extends XmlComponent {
110
116
  constructor(title: string);
111
117
  }
112
118
  //#endregion
113
- export { AreaChart, BarChart, CatAx, ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartTitle, ChartType, ChartTypeOptions, LineChart, PieChart, ScatterChart, ValAx, createChartType, createNumRef, createStrRef };
119
+ export { CatAx as _, ChartData as a, ChartSeriesData as c, createChartType as d, ScatterChart as f, AreaChart as g, BarChart as h, ChartCollection as i, ChartType as l, LineChart as m, createNumRef as n, ChartSpace as o, PieChart as p, createStrRef as r, ChartSpaceOptions as s, ChartTitle as t, ChartTypeOptions as u, ValAx as v };
@@ -1,10 +1,11 @@
1
- import { Relationship, elementToXml, findRel, findRelsByType, getImageType, listFiles, parseRels, readAllXmlParts, readBinaryFromZip, readTextFromZip, readXmlFromZip, uint8ToBase64, unzipToMap, zipToBuffer } from "./archive.mjs";
2
- import { C as XmlComponent, D as IXmlableObject, E as IXmlAttribute, S as IgnoreIfEmptyXmlComponent, T as Context, _ as AttributeMap, a as BuilderElement, b as XmlAttributeComponent, c as chartAttr, d as onOffObj, f as stringContainerObj, g as AttributeData, h as wrapEl, i as convertToXmlComponent, l as hpsMeasureObj, m as stringValObj, n as ImportedRootElementAttributes, o as EmptyElement, p as stringEnumValObj, r as ImportedXmlComponent, s as attrObj, t as InitializableXmlComponent, u as numberValObj, v as AttributePayload, w as BaseXmlComponent, x as EMPTY_OBJECT, y as NextAttributeComponent } from "./index-mjYQ4KiG.mjs";
3
- import { C as uCharHexNumber, S as twipsMeasureValue, T as unsignedDecimalNumber, _ as pointMeasureValue, a as ThemeColor, b as signedHpsMeasureValue, c as dateTimeValue, d as hexBinary, f as hexColorValue, g as percentageValue, h as measurementOrPercentValue, i as RelativeMeasure, l as decimalNumber, m as longHexNumber, n as PositivePercentage, o as ThemeFont, p as hpsMeasureValue, r as PositiveUniversalMeasure, s as UniversalMeasure, t as Percentage, u as eighthPointMeasureValue, v as positiveUniversalMeasureValue, w as universalMeasureValue, x as signedTwipsMeasureValue, y as shortHexNumber } from "./values-CIh0bdS1.mjs";
4
- import { a as Point, c as Connection, d as getLayoutXml, f as getStyleXml, h as STYLE_CATEGORIES, i as SmartArtData, l as DEFAULT_DRAWING_XML, m as LAYOUT_CATEGORIES, n as createDataModel, o as TransPoint, p as COLOR_CATEGORIES, r as SmartArtCollection, s as DataModel, t as TreeNode, u as getColorXml } from "./index-DigYTiB_.mjs";
1
+ import { C as XmlComponent, D as IXmlableObject, E as IXmlAttribute, S as IgnoreIfEmptyXmlComponent, T as Context, _ as AttributeMap, a as BuilderElement, b as XmlAttributeComponent, c as chartAttr, d as onOffObj, f as stringContainerObj, g as AttributeData, h as wrapEl, i as convertToXmlComponent, l as hpsMeasureObj, m as stringValObj, n as ImportedRootElementAttributes, o as EmptyElement, p as stringEnumValObj, r as ImportedXmlComponent, s as attrObj, t as InitializableXmlComponent, u as numberValObj, v as AttributePayload, w as BaseXmlComponent, x as EMPTY_OBJECT, y as NextAttributeComponent } from "./index-k2ds4fI-.js";
2
+ import { C as uCharHexNumber, S as twipsMeasureValue, T as unsignedDecimalNumber, _ as pointMeasureValue, a as ThemeColor, b as signedHpsMeasureValue, c as dateTimeValue, d as hexBinary, f as hexColorValue, g as percentageValue, h as measurementOrPercentValue, i as RelativeMeasure, l as decimalNumber, m as longHexNumber, n as PositivePercentage, o as ThemeFont, p as hpsMeasureValue, r as PositiveUniversalMeasure, s as UniversalMeasure, t as Percentage, u as eighthPointMeasureValue, v as positiveUniversalMeasureValue, w as universalMeasureValue, x as signedTwipsMeasureValue, y as shortHexNumber } from "./values-CyCW27--.js";
3
+ import { _ as CatAx, a as ChartData, c as ChartSeriesData, d as createChartType, f as ScatterChart, g as AreaChart, h as BarChart, i as ChartCollection, l as ChartType, m as LineChart, n as createNumRef, o as ChartSpace, p as PieChart, r as createStrRef, s as ChartSpaceOptions, t as ChartTitle, u as ChartTypeOptions, v as ValAx } from "./index-nyrpMDHV.js";
4
+ import { $ as RectAlignment, $t as createSolidFill, A as createBevel, At as FillOptions, B as createSoftEdgeEffect, Bt as RelativeRect, C as GeometryGuide, Ct as createGroupFill, D as createShape3D, Dt as createNoFill, E as Shape3DOptions, Et as createPatternFill, F as Point3D, Ft as GradientShadeOptions, G as EffectListOptions, Gt as TileOptions, H as EffectDagOptions, Ht as createGradientFill, I as Scene3DOptions, It as GradientStop, J as createReflectionEffect, Jt as createSourceRectangle, K as createEffectList, Kt as createTileInfo, L as SphereCoords, Lt as LinearShadeOptions, M as BackdropOptions, Mt as buildFill, N as CameraOptions, Nt as extractBlipFillMedia, O as BevelOptions, Ot as BlipFillConfigOptions, P as LightRigOptions, Pt as GradientFillOptions, Q as OuterShadowEffectOptions, Qt as createColorElement, R as Vector3D, Rt as PathShadeOptions, S as PresetGeometryOptions, St as createCustomDash, T as PresetMaterialType, Tt as PresetPattern, U as createEffectDag, Ut as createGradientStop, V as EffectContainerType, Vt as TileFlipMode, W as BlurEffectOptions, Wt as TileAlignment, X as PresetShadowVal, Xt as createBlipEffects, Y as PresetShadowEffectOptions, Yt as BlipEffectsOptions, Z as createPresetShadowEffect, Zt as SolidFillOptions, _ as PathCommand, _t as LineEndOptions, a as Transform2DOptions, an as createSchemeColor, at as BlendMode, b as createCustomGeometry, bt as createLineEnd, c as Stretch, cn as RgbColorOptions, ct as CompoundLine, d as createBlipFill, dn as PresetColorOptions, dt as OutlineFillProperties, en as SystemColor, et as createOuterShadowEffect, f as BlipOptions, fn as createPresetColor, ft as OutlineOptions, g as GeomRect, gn as createColorTransforms, gt as LineEndLength, h as CustomGeometryOptions, hn as ColorTransformOptions, ht as createOutline, i as GroupTransform2DOptions, in as SchemeColorOptions, it as createGlowEffect, j as createBottomBevel, jt as GradientStopOptions, k as BevelPresetType, kt as BlipFillMediaData, l as createExtentionList, ln as createRgbColor, lt as LineCap, m as ConnectionSite, mn as createHslColor, mt as PresetDash, n as MediaTransformation, nn as createSystemColor, nt as createInnerShadowEffect, o as createGroupTransform2D, on as ScRgbColorOptions, ot as FillOverlayEffectOptions, p as createBlip, pn as HslColorOptions, pt as PenAlignment, q as ReflectionEffectOptions, qt as SourceRectangleOptions, r as createTransformation, rn as SchemeColor, rt as GlowEffectOptions, s as createTransform2D, sn as createScRgbColor, st as createFillOverlayEffect, t as MediaDataTransformation, tn as SystemColorOptions, tt as InnerShadowEffectOptions, u as BlipFillOptions, un as PresetColor, ut as LineJoin, v as PathFillMode, vt as LineEndType, w as createAdjustmentValues, wt as PatternFillOptions, x as PresetGeometry, xt as DashStop, y as PathOptions, yt as LineEndWidth, z as createScene3D, zt as PathShadeType } from "./index-C1jJNA2J.js";
5
+ import { a as Point, c as Connection, d as getLayoutXml, f as getStyleXml, h as STYLE_CATEGORIES, i as SmartArtData, l as DEFAULT_DRAWING_XML, m as LAYOUT_CATEGORIES, n as createDataModel, o as TransPoint, p as COLOR_CATEGORIES, r as SmartArtCollection, s as DataModel, t as TreeNode, u as getColorXml } from "./index-BDwL0MVx.js";
6
+ import { _ as PPTX_NS, a as getFirstLevelElements, c as TokenNotFoundError, d as createTraverser, f as RenderedParagraphNode, g as DOCX_NS, h as createReplacer, i as createTextElementContents, l as createSplitInject, m as ReplacerConfig, n as getNextRelationshipIndex, o as patchSpaceAttribute, p as createRunRenderer, r as appendContentType, s as toJson, t as appendRelationship, u as createTokenReplacer, v as XmlNamespaceConfig } from "./index-NK0k2I-R.js";
5
7
  import { Element } from "@office-open/xml";
6
8
  import { ZipOptions, Zippable, Zippable as Zippable$1, strFromU8, unzipSync } from "fflate";
7
- import { Readable } from "stream";
8
9
 
9
10
  //#region src/converters.d.ts
10
11
  /**
@@ -88,6 +89,7 @@ type OutputType = keyof OutputByType;
88
89
  declare const OoxmlMimeType: {
89
90
  readonly DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
90
91
  readonly PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
92
+ readonly XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
91
93
  };
92
94
  declare const convertOutput: <T extends OutputType>(data: Uint8Array, type: T, mimeType?: string) => OutputByType[T];
93
95
  //#endregion
@@ -96,13 +98,6 @@ interface XmlifyedFile {
96
98
  readonly path: string;
97
99
  readonly data: string | Uint8Array;
98
100
  }
99
- declare const PrettifyType: {
100
- readonly NONE: "";
101
- readonly WITH_2_BLANKS: " ";
102
- readonly WITH_4_BLANKS: " ";
103
- readonly WITH_TAB: "\t";
104
- };
105
- declare const convertPrettifyType: (prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]) => (typeof PrettifyType)[keyof typeof PrettifyType] | undefined;
106
101
  /** Default DEFLATE compression level matching Microsoft Office behavior. */
107
102
  declare const ZIP_DEFLATE_LEVEL = 6;
108
103
  /** STORE level for already-compressed media formats (JPEG, PNG, GIF, etc.). */
@@ -123,18 +118,17 @@ declare const zipAndConvert: <T extends OutputType>(files: Zippable$1, type: T,
123
118
  */
124
119
  declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable$1, type: T, mimeType: string, level?: number) => OutputByType[T];
125
120
  /**
126
- * Create a Node.js Readable stream from compressed file entries.
121
+ * Create a `ReadableStream<Uint8Array>` from compressed file entries.
127
122
  *
128
- * Uses fflate's AsyncZipDeflate for non-blocking DEFLATE compression via
129
- * Web Workers. STORED entries (media) pass through synchronously.
130
- * Chunks are emitted asynchronously as each file's compression completes.
123
+ * Uses fflate's `AsyncZipDeflate` for non-blocking DEFLATE compression.
124
+ * `STORED` entries (media) pass through synchronously.
125
+ * Works in both Node.js and browsers (Web Streams API).
131
126
  */
132
- declare const createZipStream: (files: Zippable$1) => Readable;
133
- type PrettifyValue = (typeof PrettifyType)[keyof typeof PrettifyType];
127
+ declare const createZipStream: (files: Zippable$1) => ReadableStream<Uint8Array>;
134
128
  /**
135
129
  * Compile function provided by each package to convert a file object into a Zippable map.
136
130
  */
137
- type CompileFn<TFile> = (file: TFile, prettify?: PrettifyValue, overrides?: readonly XmlifyedFile[]) => Zippable$1;
131
+ type CompileFn<TFile> = (file: TFile, overrides?: readonly XmlifyedFile[]) => Zippable$1;
138
132
  /**
139
133
  * Packer interface returned by {@link createPacker}.
140
134
  *
@@ -146,35 +140,35 @@ interface Packer<TFile> {
146
140
  /** Compile file to Zippable map (synchronous). */
147
141
  compile: CompileFn<TFile>;
148
142
  /** Generic async output — returns the requested OutputType. */
149
- pack<T extends OutputType>(file: TFile, type: T, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<OutputByType[T]>;
143
+ pack<T extends OutputType>(file: TFile, type: T, overrides?: readonly XmlifyedFile[]): Promise<OutputByType[T]>;
150
144
  /** Generic sync output — returns the requested OutputType. */
151
- packSync<T extends OutputType>(file: TFile, type: T, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): OutputByType[T];
145
+ packSync<T extends OutputType>(file: TFile, type: T, overrides?: readonly XmlifyedFile[]): OutputByType[T];
152
146
  /** Async → `Promise<Uint8Array>` (like `Response.bytes()`). */
153
- toBytes(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<Uint8Array>;
147
+ toBytes(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<Uint8Array>;
154
148
  /** Sync → `Uint8Array`. */
155
- toBytesSync(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Uint8Array;
149
+ toBytesSync(file: TFile, overrides?: readonly XmlifyedFile[]): Uint8Array;
156
150
  /** Async → `Promise<string>` (raw ZIP content as string). */
157
- toString(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<string>;
151
+ toString(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<string>;
158
152
  /** Sync → `string`. */
159
- toStringSync(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): string;
153
+ toStringSync(file: TFile, overrides?: readonly XmlifyedFile[]): string;
160
154
  /** Async → `Promise<Buffer>` (Node.js). */
161
- toBuffer(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<Buffer>;
155
+ toBuffer(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<Buffer>;
162
156
  /** Sync → `Buffer` (Node.js). */
163
- toBufferSync(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Buffer;
157
+ toBufferSync(file: TFile, overrides?: readonly XmlifyedFile[]): Buffer;
164
158
  /** Async → `Promise<string>` (base64-encoded). */
165
- toBase64String(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<string>;
159
+ toBase64String(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<string>;
166
160
  /** Sync → `string` (base64-encoded). */
167
- toBase64StringSync(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): string;
161
+ toBase64StringSync(file: TFile, overrides?: readonly XmlifyedFile[]): string;
168
162
  /** Async → `Promise<Blob>` (browser). */
169
- toBlob(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<Blob>;
163
+ toBlob(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<Blob>;
170
164
  /** Sync → `Blob`. */
171
- toBlobSync(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Blob;
165
+ toBlobSync(file: TFile, overrides?: readonly XmlifyedFile[]): Blob;
172
166
  /** Async → `Promise<ArrayBuffer>`. */
173
- toArrayBuffer(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Promise<ArrayBuffer>;
167
+ toArrayBuffer(file: TFile, overrides?: readonly XmlifyedFile[]): Promise<ArrayBuffer>;
174
168
  /** Sync → `ArrayBuffer`. */
175
- toArrayBufferSync(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): ArrayBuffer;
176
- /** Streaming output via Node.js Readable (truly async, uses Web Workers). */
177
- toStream(file: TFile, prettify?: boolean | PrettifyValue, overrides?: readonly XmlifyedFile[]): Readable;
169
+ toArrayBufferSync(file: TFile, overrides?: readonly XmlifyedFile[]): ArrayBuffer;
170
+ /** Streaming output via `ReadableStream<Uint8Array>` (cross-platform, uses Web Workers). */
171
+ toStream(file: TFile, overrides?: readonly XmlifyedFile[]): ReadableStream<Uint8Array>;
178
172
  }
179
173
  /**
180
174
  * Create a Packer object with all output format methods.
@@ -196,7 +190,7 @@ declare class AppProperties extends ImportedXmlComponent {
196
190
  }
197
191
  //#endregion
198
192
  //#region src/opc/relationships.d.ts
199
- 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/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "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/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media";
193
+ 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/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "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/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/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";
200
194
  declare const TargetModeType: {
201
195
  readonly EXTERNAL: "External";
202
196
  };
@@ -205,6 +199,11 @@ declare class Relationships extends BaseXmlComponent {
205
199
  constructor();
206
200
  addRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): void;
207
201
  get relationshipCount(): number;
202
+ /**
203
+ * Zero-allocation fast path: directly concatenate XML string.
204
+ * Bypasses the IXmlableObject intermediate tree entirely.
205
+ */
206
+ toXml(_context: Context): string;
208
207
  prepForXml(_context: Context): IXmlableObject;
209
208
  }
210
209
  //#endregion
@@ -228,11 +227,17 @@ declare const createOverride: (contentType: string, partName?: string) => XmlCom
228
227
  //#endregion
229
228
  //#region src/formatter.d.ts
230
229
  /**
231
- * Converts an XmlComponent tree into a serializable XML object.
230
+ * Converts an XmlComponent tree into a serializable XML object or string.
232
231
  */
233
232
  declare class Formatter {
234
- format<T extends Context = Context>(input: BaseXmlComponent, context?: T): IXmlableObject;
235
- formatToXml(input: XmlComponent, context: Context, declaration?: boolean): string;
233
+ format<T extends Context = Context>(input: BaseXmlComponent, context?: T): Record<string, any>;
234
+ /**
235
+ * Serialize a component directly to XML string via the toXml() fast path.
236
+ */
237
+ formatToXml(input: BaseXmlComponent, context: Context, declaration?: boolean | {
238
+ encoding?: string;
239
+ standalone?: string;
240
+ }): string;
236
241
  }
237
242
  //#endregion
238
243
  //#region src/core-properties.d.ts
@@ -247,7 +252,6 @@ interface CoreProperties {
247
252
  created?: string;
248
253
  modified?: string;
249
254
  }
250
- declare function parseCoreProperties(zip: Map<string, Uint8Array>): CoreProperties;
251
255
  /**
252
256
  * Parse core properties from an already-parsed XML element.
253
257
  * Shared by docx and pptx to extract Dublin Core metadata.
@@ -271,16 +275,16 @@ declare function buildCorePropertiesXml(opts: {
271
275
  //#endregion
272
276
  //#region src/parser.d.ts
273
277
  /**
274
- * Parsed OOXML document backed by an unzipped ZIP map.
278
+ * Parsed OOXML archive backed by an unzipped ZIP map.
275
279
  *
276
280
  * Provides unstorage-style API (get/set/getRaw/setRaw/remove/has/keys)
277
281
  * for reading and modifying individual parts, then serializing back to a ZIP buffer.
278
282
  */
279
- declare class ParsedDocument {
283
+ declare class ParsedArchive {
280
284
  private readonly zip;
281
285
  private readonly modified;
282
286
  private readonly wrapperCache;
283
- constructor(zip: Map<string, Uint8Array>);
287
+ constructor(data: Uint8Array);
284
288
  /** Read an XML part as an Element tree. */
285
289
  get(path: string): Element | undefined;
286
290
  /** Write an XML part (Element → XML string). */
@@ -298,8 +302,8 @@ declare class ParsedDocument {
298
302
  /** Serialize back to a ZIP buffer, merging original zip + modifications. */
299
303
  save(): Uint8Array;
300
304
  }
301
- /** Parse an OOXML archive (.docx, .pptx, .xlsx) into a ParsedDocument. */
302
- declare function parseArchive(data: Uint8Array): ParsedDocument;
305
+ /** Parse an OOXML archive (.docx, .pptx, .xlsx) into a ParsedArchive. */
306
+ declare function parseArchive(data: Uint8Array): ParsedArchive;
303
307
  //#endregion
304
308
  //#region src/raw-passthrough.d.ts
305
309
  /**
@@ -361,26 +365,26 @@ declare function invertMap<K extends string, V extends string>(map: Record<K, V>
361
365
  declare const xsdRectAlignment: {
362
366
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
363
367
  from: (xsd: string) => string; /** The forward map (user → XSD) */
364
- forward: Record<"center" | "topLeft" | "top" | "topRight" | "left" | "right" | "bottomLeft" | "bottom" | "bottomRight", "tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br">; /** The reverse map (XSD → user) */
365
- reverse: Record<"tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br", "center" | "topLeft" | "top" | "topRight" | "left" | "right" | "bottomLeft" | "bottom" | "bottomRight">;
368
+ forward: Record<"topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight", "tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br">; /** The reverse map (XSD → user) */
369
+ reverse: Record<"tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br", "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight">;
366
370
  };
367
371
  declare const xsdTextAlign: {
368
372
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
369
373
  from: (xsd: string) => string; /** The forward map (user → XSD) */
370
- forward: Record<"center" | "left" | "right" | "justify", "l" | "ctr" | "r" | "just">; /** The reverse map (XSD → user) */
371
- reverse: Record<"l" | "ctr" | "r" | "just", "center" | "left" | "right" | "justify">;
374
+ forward: Record<"left" | "center" | "right" | "justify", "l" | "ctr" | "r" | "just">; /** The reverse map (XSD → user) */
375
+ reverse: Record<"l" | "ctr" | "r" | "just", "left" | "center" | "right" | "justify">;
372
376
  };
373
377
  declare const xsdTextAnchor: {
374
378
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
375
379
  from: (xsd: string) => string; /** The forward map (user → XSD) */
376
- forward: Record<"center" | "top" | "bottom", "t" | "ctr" | "b">; /** The reverse map (XSD → user) */
377
- reverse: Record<"t" | "ctr" | "b", "center" | "top" | "bottom">;
380
+ forward: Record<"top" | "center" | "bottom", "t" | "ctr" | "b">; /** The reverse map (XSD → user) */
381
+ reverse: Record<"t" | "ctr" | "b", "top" | "center" | "bottom">;
378
382
  };
379
383
  declare const xsdLineCap: {
380
384
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
381
385
  from: (xsd: string) => string; /** The forward map (user → XSD) */
382
- forward: Record<"flat" | "round" | "square", "flat" | "rnd" | "sq">; /** The reverse map (XSD → user) */
383
- reverse: Record<"flat" | "rnd" | "sq", "flat" | "round" | "square">;
386
+ forward: Record<"round" | "square" | "flat", "flat" | "rnd" | "sq">; /** The reverse map (XSD → user) */
387
+ reverse: Record<"flat" | "rnd" | "sq", "round" | "square" | "flat">;
384
388
  };
385
389
  declare const xsdCompoundLine: {
386
390
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
@@ -403,14 +407,14 @@ declare const xsdLineEndSize: {
403
407
  declare const xsdBlendMode: {
404
408
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
405
409
  from: (xsd: string) => string; /** The forward map (user → XSD) */
406
- forward: Record<"lighten" | "darken" | "over" | "multiply" | "screen", "lighten" | "darken" | "over" | "screen" | "mult">; /** The reverse map (XSD → user) */
407
- reverse: Record<"lighten" | "darken" | "over" | "screen" | "mult", "lighten" | "darken" | "over" | "multiply" | "screen">;
410
+ forward: Record<"over" | "multiply" | "screen" | "darken" | "lighten", "over" | "screen" | "darken" | "lighten" | "mult">; /** The reverse map (XSD → user) */
411
+ reverse: Record<"over" | "screen" | "darken" | "lighten" | "mult", "over" | "multiply" | "screen" | "darken" | "lighten">;
408
412
  };
409
413
  declare const xsdPathFillMode: {
410
414
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
411
415
  from: (xsd: string) => string; /** The forward map (user → XSD) */
412
- forward: Record<"none" | "normal" | "lighten" | "lightenLess" | "darken" | "darkenLess", "none" | "lighten" | "lightenLess" | "darken" | "darkenLess" | "norm">; /** The reverse map (XSD → user) */
413
- reverse: Record<"none" | "lighten" | "lightenLess" | "darken" | "darkenLess" | "norm", "none" | "normal" | "lighten" | "lightenLess" | "darken" | "darkenLess">;
416
+ forward: Record<"none" | "darken" | "lighten" | "normal" | "lightenLess" | "darkenLess", "none" | "darken" | "lighten" | "lightenLess" | "darkenLess" | "norm">; /** The reverse map (XSD → user) */
417
+ reverse: Record<"none" | "darken" | "lighten" | "lightenLess" | "darkenLess" | "norm", "none" | "darken" | "lighten" | "normal" | "lightenLess" | "darkenLess">;
414
418
  };
415
419
  declare const xsdEffectContainer: {
416
420
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
@@ -427,8 +431,8 @@ declare const xsdPresetShadow: {
427
431
  declare const xsdMaterialType: {
428
432
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
429
433
  from: (xsd: string) => string; /** The forward map (user → XSD) */
430
- forward: Record<"legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "flat" | "softMetal", "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "softEdge" | "clear" | "flat" | "dkEdge" | "softmetal">; /** The reverse map (XSD → user) */
431
- reverse: Record<"legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "softEdge" | "clear" | "flat" | "dkEdge" | "softmetal", "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "flat" | "softMetal">;
434
+ forward: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "softEdge" | "clear" | "dkEdge" | "softmetal">; /** The reverse map (XSD → user) */
435
+ reverse: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "softEdge" | "clear" | "dkEdge" | "softmetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal">;
432
436
  };
433
437
  declare const xsdPattern: {
434
438
  /** User-friendly value → XSD value */to: (key: string) => string; /** XSD value → user-friendly value */
@@ -461,4 +465,18 @@ declare const xsdTextCaps: {
461
465
  reverse: Record<"none" | "small" | "all", "none" | "small" | "all">;
462
466
  };
463
467
  //#endregion
464
- export { AppProperties, AttributeData, AttributeMap, AttributePayload, BaseXmlComponent, BuilderElement, COLOR_CATEGORIES, CompileFn, Connection, Context, CoreProperties, DEFAULT_DRAWING_XML, DataModel, type DefaultAttributes, EMPTY_OBJECT, EmptyElement, Formatter, IXmlAttribute, IXmlableObject, IdFormat, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, LAYOUT_CATEGORIES, NextAttributeComponent, OoxmlMimeType, OutputByType, OutputType, type OverrideAttributes, Packer, ParsedDocument, Percentage, Point, PositivePercentage, PositiveUniversalMeasure, PrettifyType, RawPassthrough, Relationship, type RelationshipType, Relationships, RelativeMeasure, STYLE_CATEGORIES, SmartArtCollection, SmartArtData, SmartArtRelOptions, TargetModeType, ThemeColor, ThemeFont, TransPoint, TreeNode, UniqueNumericIdCreator, UniversalMeasure, XmlAttributeComponent, XmlComponent, XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, attrObj, buildCorePropertiesXml, chartAttr, collectPlaceholderKeys, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertPrettifyType, convertToXmlComponent, createDataModel, createDefault, createOverride, createPacker, createZipStream, dateTimeValue, decimalNumber, eighthPointMeasureValue, elementToCompact, elementToXml, escapeRegex, findRel, findRelsByType, formatId, getColorXml, getImageType, getLayoutXml, getReferencedMedia, getStyleXml, hasPlaceholders, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, listFiles, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCoreProperties, parseCorePropsElement, parseRels, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, readAllXmlParts, readBinaryFromZip, readTextFromZip, readXmlFromZip, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, twipsMeasureValue, uCharHexNumber, uint8ToBase64, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, unzipToMap, wrapEl, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert, zipToBuffer };
468
+ //#region src/compiler-utils.d.ts
469
+ /**
470
+ * Convert a mapping of XML files + overrides + media into a Zippable structure.
471
+ *
472
+ * Centralises the mapping→Zippable conversion shared by all three compilers.
473
+ */
474
+ declare function compileMapping(mapping: Record<string, {
475
+ data: string;
476
+ path: string;
477
+ }>, overrides?: readonly XmlifyedFile[], media?: readonly {
478
+ data: Uint8Array;
479
+ path: string;
480
+ }[]): Zippable;
481
+ //#endregion
482
+ export { AppProperties, AreaChart, AttributeData, AttributeMap, AttributePayload, BackdropOptions, BarChart, BaseXmlComponent, BevelOptions, BevelPresetType, BlendMode, BlipEffectsOptions, BlipFillConfigOptions, BlipFillMediaData, BlipFillOptions, BlipOptions, BlurEffectOptions, BuilderElement, COLOR_CATEGORIES, CameraOptions, CatAx, ChartCollection, ChartData, ChartSeriesData, ChartSpace, ChartSpaceOptions, ChartTitle, ChartType, ChartTypeOptions, ColorTransformOptions, CompileFn, CompoundLine, Connection, ConnectionSite, Context, CoreProperties, CustomGeometryOptions, DEFAULT_DRAWING_XML, DOCX_NS, DashStop, DataModel, type DefaultAttributes, EMPTY_OBJECT, EffectContainerType, EffectDagOptions, EffectListOptions, EmptyElement, FillOptions, FillOverlayEffectOptions, Formatter, GeomRect, GeometryGuide, GlowEffectOptions, GradientFillOptions, GradientShadeOptions, GradientStop, GradientStopOptions, GroupTransform2DOptions, HslColorOptions, IXmlAttribute, IXmlableObject, IdFormat, IgnoreIfEmptyXmlComponent, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InnerShadowEffectOptions, LAYOUT_CATEGORIES, LightRigOptions, LineCap, LineChart, LineEndLength, LineEndOptions, LineEndType, LineEndWidth, LineJoin, LinearShadeOptions, MediaDataTransformation, MediaTransformation, NextAttributeComponent, OoxmlMimeType, OuterShadowEffectOptions, OutlineFillProperties, OutlineOptions, OutputByType, OutputType, type OverrideAttributes, PPTX_NS, Packer, ParsedArchive, PathCommand, PathFillMode, PathOptions, PathShadeOptions, PathShadeType, PatternFillOptions, PenAlignment, Percentage, PieChart, Point, Point3D, PositivePercentage, PositiveUniversalMeasure, PresetColor, PresetColorOptions, PresetDash, PresetGeometry, PresetGeometryOptions, PresetMaterialType, PresetPattern, PresetShadowEffectOptions, PresetShadowVal, RawPassthrough, RectAlignment, ReflectionEffectOptions, type RelationshipType, Relationships, RelativeMeasure, RelativeRect, RenderedParagraphNode, ReplacerConfig, RgbColorOptions, STYLE_CATEGORIES, ScRgbColorOptions, ScatterChart, Scene3DOptions, SchemeColor, SchemeColorOptions, Shape3DOptions, SmartArtCollection, SmartArtData, SmartArtRelOptions, SolidFillOptions, SourceRectangleOptions, SphereCoords, Stretch, SystemColor, SystemColorOptions, TargetModeType, ThemeColor, ThemeFont, TileAlignment, TileFlipMode, TileOptions, TokenNotFoundError, TransPoint, Transform2DOptions, TreeNode, UniqueNumericIdCreator, UniversalMeasure, ValAx, Vector3D, XmlAttributeComponent, XmlComponent, XmlNamespaceConfig, XmlifyedFile, ZIP_DEFLATE_LEVEL, ZIP_STORED_LEVEL, type ZipOptions, type Zippable, addSmartArtRelationships, appendContentType, appendRelationship, attrObj, buildCorePropertiesXml, buildFill, chartAttr, collectPlaceholderKeys, compileMapping, convertEmuToInches, convertEmuToPixels, convertEmuToPoints, convertInchesToEmu, convertInchesToTwip, convertMillimetersToTwip, convertOutput, convertPixelsToEmu, convertPointsToEmu, convertToXmlComponent, createAdjustmentValues, createBevel, createBlip, createBlipEffects, createBlipFill, createBottomBevel, createChartType, createColorElement, createColorTransforms, createCustomDash, createCustomGeometry, createDataModel, createDefault, createEffectDag, createEffectList, createExtentionList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGroupFill, createGroupTransform2D, createHslColor, createInnerShadowEffect, createLineEnd, createNoFill, createNumRef, createOuterShadowEffect, createOutline, createOverride, createPacker, createPatternFill, createPresetColor, createPresetShadowEffect, createReflectionEffect, createReplacer, createRgbColor, createRunRenderer, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createSplitInject, createStrRef, createSystemColor, createTextElementContents, createTileInfo, createTokenReplacer, createTransform2D, createTransformation, createTraverser, createZipStream, dateTimeValue, decimalNumber, eighthPointMeasureValue, elementToCompact, escapeRegex, extractBlipFillMedia, formatId, getColorXml, getFirstLevelElements, getLayoutXml, getNextRelationshipIndex, getReferencedMedia, getStyleXml, hasPlaceholders, hashedId, hexBinary, hexColorValue, hpsMeasureObj, hpsMeasureValue, invertMap, longHexNumber, measurementOrPercentValue, numberValObj, onOffObj, parseArchive, parseCorePropsElement, patchSpaceAttribute, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, replaceChartPlaceholders, replaceImagePlaceholders, replaceSmartArtPlaceholders, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, strFromU8, stringContainerObj, stringEnumValObj, stringValObj, toJson, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, unzipSync, wrapEl, xsdBlendMode, xsdCompoundLine, xsdEffectContainer, xsdLineCap, xsdLineEndSize, xsdMaterialType, xsdPathFillMode, xsdPattern, xsdPenAlignment, xsdPresetShadow, xsdRectAlignment, xsdStrikeStyle, xsdTextAlign, xsdTextAnchor, xsdTextCaps, xsdUnderlineStyle, xsdVerticalMergeRev, zipAndConvert, zipSyncAndConvert };