@office-open/core 0.10.15 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +2 -1
  2. package/dist/chart/index.d.mts +2 -2
  3. package/dist/chart/index.mjs +2 -2
  4. package/dist/chart-DED4tXC9.mjs +2325 -0
  5. package/dist/chart-DED4tXC9.mjs.map +1 -0
  6. package/dist/color-mapping-CFF0vRSe.mjs +117 -0
  7. package/dist/color-mapping-CFF0vRSe.mjs.map +1 -0
  8. package/dist/data-type-CZMKVaaT.d.mts.map +1 -1
  9. package/dist/descriptor/index.d.mts +2 -2
  10. package/dist/descriptor/index.mjs +1 -1
  11. package/dist/{descriptor-BjNkn5jo.mjs → descriptor-BqaNZrrZ.mjs} +43 -11
  12. package/dist/{descriptor-BjNkn5jo.mjs.map → descriptor-BqaNZrrZ.mjs.map} +1 -1
  13. package/dist/drawing/index.d.mts +2 -0
  14. package/dist/drawing/index.mjs +2 -0
  15. package/dist/{drawingml-sj1J3lb0.mjs → drawing-BCAyrCCw.mjs} +4456 -3452
  16. package/dist/drawing-BCAyrCCw.mjs.map +1 -0
  17. package/dist/{converters-C_Y2QX1w.mjs → ext-uri-BHBcIrW7.mjs} +742 -45
  18. package/dist/ext-uri-BHBcIrW7.mjs.map +1 -0
  19. package/dist/index-BAxlDUQ1.d.mts +590 -0
  20. package/dist/index-BAxlDUQ1.d.mts.map +1 -0
  21. package/dist/index-BP541uS-.d.mts +489 -0
  22. package/dist/index-BP541uS-.d.mts.map +1 -0
  23. package/dist/{index-BVK2dv6C.d.mts → index-BQLIofaF.d.mts} +10 -4
  24. package/dist/index-BQLIofaF.d.mts.map +1 -0
  25. package/dist/{index-k8WKLXnA.d.mts → index-CaNwM5_e.d.mts} +19 -20
  26. package/dist/index-CaNwM5_e.d.mts.map +1 -0
  27. package/dist/index-DPkf_CtG.d.mts +1578 -0
  28. package/dist/index-DPkf_CtG.d.mts.map +1 -0
  29. package/dist/index-DcukVskh.d.mts +31 -0
  30. package/dist/index-DcukVskh.d.mts.map +1 -0
  31. package/dist/index-Di6XPdGl.d.mts +322 -0
  32. package/dist/index-Di6XPdGl.d.mts.map +1 -0
  33. package/dist/index-L6AXewfV.d.mts +872 -0
  34. package/dist/index-L6AXewfV.d.mts.map +1 -0
  35. package/dist/index.d.mts +294 -30
  36. package/dist/index.d.mts.map +1 -1
  37. package/dist/index.mjs +1327 -112
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/{output-D_G_JR_8.d.mts → output-yyxdkG0C.d.mts} +2 -3
  40. package/dist/output-yyxdkG0C.d.mts.map +1 -0
  41. package/dist/patch/index.d.mts +2 -2
  42. package/dist/patch/index.mjs +2 -2
  43. package/dist/{patch-BmRfghOo.mjs → patch-AkQY17CD.mjs} +73 -28
  44. package/dist/patch-AkQY17CD.mjs.map +1 -0
  45. package/dist/smartart/index.d.mts +2 -2
  46. package/dist/smartart/index.mjs +2 -2
  47. package/dist/smartart-n1kYJ6Jg.mjs +1650 -0
  48. package/dist/smartart-n1kYJ6Jg.mjs.map +1 -0
  49. package/dist/style-matrix-B6jhPAT3.mjs +123 -0
  50. package/dist/style-matrix-B6jhPAT3.mjs.map +1 -0
  51. package/dist/theme/index.d.mts +4 -2
  52. package/dist/theme/index.mjs +4 -2
  53. package/dist/theme-BKnXRmvn.mjs +426 -0
  54. package/dist/theme-BKnXRmvn.mjs.map +1 -0
  55. package/dist/theme-options-kO89NUEX.d.mts +109 -0
  56. package/dist/theme-options-kO89NUEX.d.mts.map +1 -0
  57. package/dist/util/index.d.mts +3 -3
  58. package/dist/util/index.mjs +3 -3
  59. package/dist/{util-Tq9PSjK0.mjs → util-ptE16MEk.mjs} +237 -459
  60. package/dist/util-ptE16MEk.mjs.map +1 -0
  61. package/dist/{values-8di32lIe.d.mts → values-BECDm4zr.d.mts} +17 -31
  62. package/dist/values-BECDm4zr.d.mts.map +1 -0
  63. package/dist/vector/index.d.mts +2 -0
  64. package/dist/vector/index.mjs +2 -0
  65. package/dist/vector-DhLGZjP5.mjs +3049 -0
  66. package/dist/vector-DhLGZjP5.mjs.map +1 -0
  67. package/package.json +16 -8
  68. package/dist/chart-DIGJna_6.mjs +0 -582
  69. package/dist/chart-DIGJna_6.mjs.map +0 -1
  70. package/dist/converters-C_Y2QX1w.mjs.map +0 -1
  71. package/dist/drawingml/index.d.mts +0 -2
  72. package/dist/drawingml/index.mjs +0 -2
  73. package/dist/drawingml-sj1J3lb0.mjs.map +0 -1
  74. package/dist/index-BVK2dv6C.d.mts.map +0 -1
  75. package/dist/index-BfHfKuKy.d.mts +0 -275
  76. package/dist/index-BfHfKuKy.d.mts.map +0 -1
  77. package/dist/index-CE53SwpZ.d.mts +0 -1463
  78. package/dist/index-CE53SwpZ.d.mts.map +0 -1
  79. package/dist/index-D6VE-MnJ.d.mts +0 -43
  80. package/dist/index-D6VE-MnJ.d.mts.map +0 -1
  81. package/dist/index-DE4CLElr.d.mts +0 -145
  82. package/dist/index-DE4CLElr.d.mts.map +0 -1
  83. package/dist/index-DlPA26cw.d.mts +0 -91
  84. package/dist/index-DlPA26cw.d.mts.map +0 -1
  85. package/dist/index-k8WKLXnA.d.mts.map +0 -1
  86. package/dist/output-D_G_JR_8.d.mts.map +0 -1
  87. package/dist/patch-BmRfghOo.mjs.map +0 -1
  88. package/dist/smartart-B7ukZ-Tw.mjs +0 -305
  89. package/dist/smartart-B7ukZ-Tw.mjs.map +0 -1
  90. package/dist/theme-CiNzdl-9.mjs +0 -177
  91. package/dist/theme-CiNzdl-9.mjs.map +0 -1
  92. package/dist/util-Tq9PSjK0.mjs.map +0 -1
  93. package/dist/values-8di32lIe.d.mts.map +0 -1
@@ -0,0 +1,590 @@
1
+ import { _ as UniversalMeasure } from "./values-BECDm4zr.mjs";
2
+ import { n as OutputByType, r as OutputType } from "./output-yyxdkG0C.mjs";
3
+ import { ZipOptions, Zippable, Zippable as Zippable$1, strFromU8 as strFromU8$1, unzipSync as unzipSync$1, zipSync as zipSync$1 } from "fflate";
4
+ import { Buffer } from "\0polyfill-node.buffer";
5
+ //#region src/opc/packer.d.ts
6
+ interface XmlifyedFile {
7
+ path: string;
8
+ data: string | Uint8Array;
9
+ }
10
+ declare const ZIP_DEFLATE_LEVEL = 1;
11
+ declare const ZIP_STORED_LEVEL = 0;
12
+ declare const levelForMediaName: (fileName: string, mediaLevel: number) => number;
13
+ interface CompressionOptions {
14
+ xml?: number;
15
+ media?: number;
16
+ }
17
+ interface PackerOptions<T extends OutputType = "nodebuffer"> {
18
+ type?: T;
19
+ overrides?: XmlifyedFile[];
20
+ compression?: CompressionOptions;
21
+ }
22
+ declare const zipAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => Promise<OutputByType[T]>;
23
+ declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => OutputByType[T];
24
+ declare const createZipStream: (files: Zippable, defaultLevel?: number) => ReadableStream<Uint8Array>;
25
+ interface ZipPartSink {
26
+ push(chunk: Uint8Array): void;
27
+ end(lastChunk?: Uint8Array): void;
28
+ }
29
+ declare class ZipStreamWriter {
30
+ private readonly defaultLevel;
31
+ private readonly zip;
32
+ private current;
33
+ private readonly mainThread;
34
+ constructor(ondata: (err: Error | null, chunk: Uint8Array, final: boolean) => void, defaultLevel?: number);
35
+ addPart(name: string, level?: number): ZipPartSink;
36
+ end(): void;
37
+ }
38
+ type CompileFn<TFile> = (file: TFile, overrides?: XmlifyedFile[], mediaLevel?: number) => Zippable;
39
+ interface Packer<TFile> {
40
+ compile: CompileFn<TFile>;
41
+ pack<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): Promise<OutputByType[T]>;
42
+ packSync<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): OutputByType[T];
43
+ toBytes(file: TFile, options?: PackerOptions): Promise<Uint8Array>;
44
+ toBytesSync(file: TFile, options?: PackerOptions): Uint8Array;
45
+ toString(file: TFile, options?: PackerOptions): Promise<string>;
46
+ toStringSync(file: TFile, options?: PackerOptions): string;
47
+ toBuffer(file: TFile, options?: PackerOptions): Promise<Buffer>;
48
+ toBufferSync(file: TFile, options?: PackerOptions): Buffer;
49
+ toBase64(file: TFile, options?: PackerOptions): Promise<string>;
50
+ toBase64Sync(file: TFile, options?: PackerOptions): string;
51
+ toBlob(file: TFile, options?: PackerOptions): Promise<Blob>;
52
+ toBlobSync(file: TFile, options?: PackerOptions): Blob;
53
+ toArrayBuffer(file: TFile, options?: PackerOptions): Promise<ArrayBuffer>;
54
+ toArrayBufferSync(file: TFile, options?: PackerOptions): ArrayBuffer;
55
+ toStream(file: TFile, options?: PackerOptions): ReadableStream<Uint8Array>;
56
+ }
57
+ declare const createPacker: <TFile>(options: {
58
+ compile: CompileFn<TFile>;
59
+ mimeType: string;
60
+ }) => Packer<TFile>;
61
+ //#endregion
62
+ //#region src/opc/relationships.d.ts
63
+ 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/attachedTemplate" | "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.microsoft.com/office/2011/relationships/people" | "http://schemas.microsoft.com/office/2011/relationships/commentsExtended" | "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/package" | "http://schemas.microsoft.com/office/2006/relationships/txbx" | "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.openxmlformats.org/officeDocument/2006/relationships/audio" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/themeOverride" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/themeManager" | "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/dialogsheet" | "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" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/queryTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/metadata" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/xmlMaps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/volTypes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableSingleCells";
64
+ declare const TargetModeType: {
65
+ readonly EXTERNAL: "External";
66
+ };
67
+ declare class Relationships {
68
+ private entries;
69
+ addRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): void;
70
+ add(type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): number;
71
+ get relationshipCount(): number;
72
+ get nextRelationshipId(): number;
73
+ renameEntryByType(type: string, newId: number): void;
74
+ idByKind(kind: string): number | undefined;
75
+ claimSourceRel(rel: {
76
+ relationshipType: string;
77
+ target: string;
78
+ rId: string;
79
+ targetMode?: "External";
80
+ }): void;
81
+ hasRelationship(type: string, target: string): boolean;
82
+ hasRelationshipKind(kind: string): boolean;
83
+ hasId(id: string): boolean;
84
+ idOf(type: string, target: string): string | undefined;
85
+ serialize(): string;
86
+ }
87
+ declare function optionalRelsPart(rel: Relationships, xmlDeclaration: string, path: string): XmlifyedFile | undefined;
88
+ declare function buildRootRelationships(mainPartTarget: string, includeCustomProperties: boolean, passthroughRelationships?: readonly {
89
+ source: string;
90
+ relationshipType: string;
91
+ target: string;
92
+ targetMode?: "External";
93
+ }[]): Relationships;
94
+ declare function partPathToRelsPath(partPath: string): string;
95
+ declare function resolveRelationshipTarget(partPath: string, target: string): string;
96
+ //#endregion
97
+ //#region src/util/compile.d.ts
98
+ type XmlifyedFileEntry = XmlifyedFile | readonly XmlifyedFile[] | undefined;
99
+ declare function addBinaryFile(files: Zippable$1, path: string, data: Uint8Array, mediaLevel: number): void;
100
+ declare function compileMapping<T extends object>(mapping: T & { [K in keyof T]: XmlifyedFileEntry; }, overrides?: readonly XmlifyedFile[], media?: readonly {
101
+ data: Uint8Array;
102
+ path: string;
103
+ }[], mediaLevel?: number): Zippable$1;
104
+ //#endregion
105
+ //#region src/util/converters.d.ts
106
+ declare const mapOptional: <T, R>(value: T | undefined, fn: (value: T) => R) => R | undefined;
107
+ declare const emitPercent: (percent: number) => number;
108
+ declare const parsePercent: (value: number) => number;
109
+ declare const parsePercentAttr: (raw: string | number | undefined) => number | undefined;
110
+ declare const emitAngle: (degrees: number) => number;
111
+ declare const parseAngle: (value: number) => number;
112
+ declare const convertMillimetersToTwip: (millimeters: number) => number;
113
+ declare const convertInchesToTwip: (inches: number) => number;
114
+ declare const convertPixelsToEmu: (pixels: number) => number;
115
+ declare const convertEmuToPixels: (emus: number) => number;
116
+ declare const convertInchesToEmu: (inches: number) => number;
117
+ declare const convertEmuToInches: (emus: number) => number;
118
+ declare const convertPointsToEmu: (points: number) => number;
119
+ declare const convertEmuToPoints: (emus: number) => number;
120
+ declare const convertEmuToTwip: (emus: number) => number;
121
+ declare const convertTwipToEmu: (twips: number) => number;
122
+ declare const convertPointsToTwip: (points: number) => number;
123
+ declare const convertTwipToPoints: (twips: number) => number;
124
+ interface ParsedMeasure {
125
+ value: number;
126
+ unit: "mm" | "cm" | "in" | "pt" | "pc" | "pi" | "px";
127
+ }
128
+ declare const parseUniversalMeasure: (measure: string) => ParsedMeasure;
129
+ declare const convertUniversalMeasureToTwip: (measure: string) => number;
130
+ declare const convertToTwip: (val: number | UniversalMeasure) => number;
131
+ declare const convertUniversalMeasureToEmu: (measure: string) => number;
132
+ declare const convertToEmu: (val: number | UniversalMeasure) => number;
133
+ declare const convertUniversalMeasureToPt: (measure: string) => number;
134
+ declare const convertToPt: (val: number | UniversalMeasure) => number;
135
+ declare const convertUniversalMeasureToInch: (measure: string) => number;
136
+ declare const convertToInch: (val: number | UniversalMeasure) => number;
137
+ //#endregion
138
+ //#region src/util/crypto.d.ts
139
+ declare function randomBytes(length: number): Uint8Array;
140
+ declare function hashPasswordAgile(password: string, salt: Uint8Array, spinCount: number): string;
141
+ declare function derivePasswordHash(password: string, spinCount?: number): {
142
+ hashValue: string;
143
+ saltValue: string;
144
+ spinCount: number;
145
+ algorithmName: string;
146
+ };
147
+ //#endregion
148
+ //#region src/util/ext-uri.d.ts
149
+ declare function extUriMatches(actual: string | undefined, expected: string): boolean;
150
+ //#endregion
151
+ //#region src/util/generators.d.ts
152
+ type UniqueNumericIdCreator = () => number;
153
+ declare const uniqueNumericIdCreator: (initial?: number) => UniqueNumericIdCreator;
154
+ declare const uniqueId: () => string;
155
+ declare const hashedId: (data: Uint8Array | ArrayBuffer | string) => string;
156
+ declare const uniqueUuid: () => string;
157
+ //#endregion
158
+ //#region src/util/image-type.d.ts
159
+ type ImageFileType = "jpg" | "png" | "gif" | "bmp" | "tif" | "ico" | "emf" | "wmf";
160
+ declare function imageTypeFromPath(path: string): ImageFileType;
161
+ //#endregion
162
+ //#region src/util/mappings.d.ts
163
+ declare function invertMap<K extends string, V extends string>(map: Record<K, V>): Record<V, K>;
164
+ declare const xsdRectAlignment: {
165
+ to: (key: string) => string;
166
+ from: (xsd: string) => string;
167
+ forward: Record<"topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight", "tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br">;
168
+ reverse: Record<"tl" | "t" | "tr" | "l" | "ctr" | "r" | "bl" | "b" | "br", "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight">;
169
+ };
170
+ declare const xsdTextAlign: {
171
+ to: (key: string) => string;
172
+ from: (xsd: string) => string;
173
+ forward: Record<"left" | "center" | "right" | "justify", "l" | "ctr" | "r" | "just">;
174
+ reverse: Record<"l" | "ctr" | "r" | "just", "left" | "center" | "right" | "justify">;
175
+ };
176
+ declare const xsdTextAnchor: {
177
+ to: (key: string) => string;
178
+ from: (xsd: string) => string;
179
+ forward: Record<"top" | "center" | "bottom" | "justify" | "distribute", "t" | "ctr" | "b" | "just" | "dist">;
180
+ reverse: Record<"t" | "ctr" | "b" | "just" | "dist", "top" | "center" | "bottom" | "justify" | "distribute">;
181
+ };
182
+ declare const xsdLineCap: {
183
+ to: (key: string) => string;
184
+ from: (xsd: string) => string;
185
+ forward: Record<"round" | "square" | "flat", "rnd" | "sq" | "flat">;
186
+ reverse: Record<"rnd" | "sq" | "flat", "round" | "square" | "flat">;
187
+ };
188
+ declare const xsdCompoundLine: {
189
+ to: (key: string) => string;
190
+ from: (xsd: string) => string;
191
+ forward: Record<"single" | "double" | "thickThin" | "thinThick" | "triple", "sng" | "dbl" | "thickThin" | "thinThick" | "tri">;
192
+ reverse: Record<"sng" | "dbl" | "thickThin" | "thinThick" | "tri", "single" | "double" | "thickThin" | "thinThick" | "triple">;
193
+ };
194
+ declare const xsdPenAlignment: {
195
+ to: (key: string) => string;
196
+ from: (xsd: string) => string;
197
+ forward: Record<"center" | "inside", "in" | "ctr">;
198
+ reverse: Record<"in" | "ctr", "center" | "inside">;
199
+ };
200
+ declare const xsdLineEndSize: {
201
+ to: (key: string) => string;
202
+ from: (xsd: string) => string;
203
+ forward: Record<"small" | "medium" | "large", "sm" | "med" | "lg">;
204
+ reverse: Record<"sm" | "med" | "lg", "small" | "medium" | "large">;
205
+ };
206
+ declare const xsdBlendMode: {
207
+ to: (key: string) => string;
208
+ from: (xsd: string) => string;
209
+ forward: Record<"over" | "multiply" | "screen" | "darken" | "lighten", "over" | "screen" | "darken" | "lighten" | "mult">;
210
+ reverse: Record<"over" | "screen" | "darken" | "lighten" | "mult", "over" | "multiply" | "screen" | "darken" | "lighten">;
211
+ };
212
+ declare const xsdPathFillMode: {
213
+ to: (key: string) => string;
214
+ from: (xsd: string) => string;
215
+ forward: Record<"darken" | "lighten" | "none" | "normal" | "lightenLess" | "darkenLess", "darken" | "lighten" | "none" | "norm" | "lightenLess" | "darkenLess">;
216
+ reverse: Record<"darken" | "lighten" | "none" | "norm" | "lightenLess" | "darkenLess", "darken" | "lighten" | "none" | "normal" | "lightenLess" | "darkenLess">;
217
+ };
218
+ declare const xsdEffectContainer: {
219
+ to: (key: string) => string;
220
+ from: (xsd: string) => string;
221
+ forward: Record<"sibling" | "tree", "sib" | "tree">;
222
+ reverse: Record<"sib" | "tree", "sibling" | "tree">;
223
+ };
224
+ declare const xsdPresetShadow: {
225
+ to: (key: string) => string;
226
+ from: (xsd: string) => string;
227
+ forward: Record<"shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20", "shdw1" | "shdw2" | "shdw3" | "shdw4" | "shdw5" | "shdw6" | "shdw7" | "shdw8" | "shdw9" | "shdw10" | "shdw11" | "shdw12" | "shdw13" | "shdw14" | "shdw15" | "shdw16" | "shdw17" | "shdw18" | "shdw19" | "shdw20">;
228
+ reverse: Record<"shdw1" | "shdw2" | "shdw3" | "shdw4" | "shdw5" | "shdw6" | "shdw7" | "shdw8" | "shdw9" | "shdw10" | "shdw11" | "shdw12" | "shdw13" | "shdw14" | "shdw15" | "shdw16" | "shdw17" | "shdw18" | "shdw19" | "shdw20", "shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20">;
229
+ };
230
+ declare const xsdLightRigDirection: {
231
+ to: (key: string) => string;
232
+ from: (xsd: string) => string;
233
+ forward: Record<"topLeft" | "top" | "topRight" | "left" | "right" | "bottomLeft" | "bottom" | "bottomRight", "tl" | "t" | "tr" | "l" | "r" | "bl" | "b" | "br">;
234
+ reverse: Record<"tl" | "t" | "tr" | "l" | "r" | "bl" | "b" | "br", "topLeft" | "top" | "topRight" | "left" | "right" | "bottomLeft" | "bottom" | "bottomRight">;
235
+ };
236
+ declare const xsdMaterialType: {
237
+ to: (key: string) => string;
238
+ from: (xsd: string) => string;
239
+ 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" | "dkEdge" | "softEdge" | "clear" | "softmetal">;
240
+ reverse: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "dkEdge" | "softEdge" | "clear" | "softmetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal">;
241
+ };
242
+ declare const xsdPattern: {
243
+ to: (key: string) => string;
244
+ from: (xsd: string) => string;
245
+ forward: Record<"percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag", "pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">;
246
+ reverse: Record<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag", "percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">;
247
+ };
248
+ declare const xsdVerticalMergeRev: {
249
+ to: (key: string) => string;
250
+ from: (xsd: string) => string;
251
+ forward: Record<"continue" | "restart", "cont" | "rest">;
252
+ reverse: Record<"cont" | "rest", "continue" | "restart">;
253
+ };
254
+ declare const xsdUnderlineStyle: {
255
+ to: (key: string) => string;
256
+ from: (xsd: string) => string;
257
+ forward: Record<"none" | "single" | "double", "none" | "sng" | "dbl">;
258
+ reverse: Record<"none" | "sng" | "dbl", "none" | "single" | "double">;
259
+ };
260
+ declare const xsdStrikeStyle: {
261
+ to: (key: string) => string;
262
+ from: (xsd: string) => string;
263
+ forward: Record<"singleStrike" | "doubleStrike" | "noStrike", "sngStrike" | "dblStrike" | "noStrike">;
264
+ reverse: Record<"sngStrike" | "dblStrike" | "noStrike", "singleStrike" | "doubleStrike" | "noStrike">;
265
+ };
266
+ declare const xsdTextCaps: {
267
+ to: (key: string) => string;
268
+ from: (xsd: string) => string;
269
+ forward: Record<"none" | "small" | "all", "none" | "small" | "all">;
270
+ reverse: Record<"none" | "small" | "all", "none" | "small" | "all">;
271
+ };
272
+ declare const xsdAxisPosition: {
273
+ to: (key: string) => string;
274
+ from: (xsd: string) => string;
275
+ forward: Record<"top" | "left" | "right" | "bottom", "t" | "l" | "r" | "b">;
276
+ reverse: Record<"t" | "l" | "r" | "b", "top" | "left" | "right" | "bottom">;
277
+ };
278
+ declare const xsdLegendPosition: {
279
+ to: (key: string) => string;
280
+ from: (xsd: string) => string;
281
+ forward: Record<"top" | "topRight" | "left" | "right" | "bottom", "t" | "tr" | "l" | "r" | "b">;
282
+ reverse: Record<"t" | "tr" | "l" | "r" | "b", "top" | "topRight" | "left" | "right" | "bottom">;
283
+ };
284
+ declare const xsdDataLabelPosition: {
285
+ to: (key: string) => string;
286
+ from: (xsd: string) => string;
287
+ forward: Record<"top" | "left" | "center" | "right" | "bottom" | "insideBase" | "insideEnd" | "outsideEnd", "t" | "l" | "ctr" | "r" | "b" | "inBase" | "inEnd" | "outEnd">;
288
+ reverse: Record<"t" | "l" | "ctr" | "r" | "b" | "inBase" | "inEnd" | "outEnd", "top" | "left" | "center" | "right" | "bottom" | "insideBase" | "insideEnd" | "outsideEnd">;
289
+ };
290
+ declare const xsdAxisCrossBetween: {
291
+ to: (key: string) => string;
292
+ from: (xsd: string) => string;
293
+ forward: Record<"middleOfCategory", "midCat">;
294
+ reverse: Record<"midCat", "middleOfCategory">;
295
+ };
296
+ declare const xsdAxisCrosses: {
297
+ to: (key: string) => string;
298
+ from: (xsd: string) => string;
299
+ forward: Record<"zero", "autoZero">;
300
+ reverse: Record<"autoZero", "zero">;
301
+ };
302
+ declare const xsdComments: {
303
+ to: (key: string) => string;
304
+ from: (xsd: string) => string;
305
+ forward: Record<"none" | "indicator" | "comment", "commNone" | "commIndicator" | "commIndAndComment">;
306
+ reverse: Record<"commNone" | "commIndicator" | "commIndAndComment", "none" | "indicator" | "comment">;
307
+ };
308
+ declare const xsdErrorValueType: {
309
+ to: (key: string) => string;
310
+ from: (xsd: string) => string;
311
+ forward: Record<"custom" | "fixedValue" | "standardDeviation" | "standardError", "cust" | "fixedVal" | "stdDev" | "stdErr">;
312
+ reverse: Record<"cust" | "fixedVal" | "stdDev" | "stdErr", "custom" | "fixedValue" | "standardDeviation" | "standardError">;
313
+ };
314
+ declare const xsdSizeRepresents: {
315
+ to: (key: string) => string;
316
+ from: (xsd: string) => string;
317
+ forward: Record<"width", "w">;
318
+ reverse: Record<"w", "width">;
319
+ };
320
+ declare const xsdSplitType: {
321
+ to: (key: string) => string;
322
+ from: (xsd: string) => string;
323
+ forward: Record<"custom" | "position" | "value", "cust" | "pos" | "val">;
324
+ reverse: Record<"cust" | "pos" | "val", "custom" | "position" | "value">;
325
+ };
326
+ declare const xsdAxisLabelAlignment: {
327
+ to: (key: string) => string;
328
+ from: (xsd: string) => string;
329
+ forward: Record<"left" | "center" | "right", "l" | "ctr" | "r">;
330
+ reverse: Record<"l" | "ctr" | "r", "left" | "center" | "right">;
331
+ };
332
+ declare const xsdAxisOrientation: {
333
+ to: (key: string) => string;
334
+ from: (xsd: string) => string;
335
+ forward: Record<"ascending" | "descending", "minMax" | "maxMin">;
336
+ reverse: Record<"minMax" | "maxMin", "ascending" | "descending">;
337
+ };
338
+ declare const xsdTrendlineType: {
339
+ to: (key: string) => string;
340
+ from: (xsd: string) => string;
341
+ forward: Record<"exponential" | "logarithmic" | "movingAverage" | "polynomial", "exp" | "log" | "movingAvg" | "poly">;
342
+ reverse: Record<"exp" | "log" | "movingAvg" | "poly", "exponential" | "logarithmic" | "movingAverage" | "polynomial">;
343
+ };
344
+ declare const xsdTextTabAlignment: {
345
+ to: (key: string) => string;
346
+ from: (xsd: string) => string;
347
+ forward: Record<"left" | "center" | "right" | "decimal", "l" | "ctr" | "r" | "dec">;
348
+ reverse: Record<"l" | "ctr" | "r" | "dec", "left" | "center" | "right" | "decimal">;
349
+ };
350
+ declare const xsdFontAlignment: {
351
+ to: (key: string) => string;
352
+ from: (xsd: string) => string;
353
+ forward: Record<"top" | "center" | "bottom", "t" | "ctr" | "b">;
354
+ reverse: Record<"t" | "ctr" | "b", "top" | "center" | "bottom">;
355
+ };
356
+ declare const xsdAnimLevel: {
357
+ to: (key: string) => string;
358
+ from: (xsd: string) => string;
359
+ forward: Record<"center" | "level", "ctr" | "lvl">;
360
+ reverse: Record<"ctr" | "lvl", "center" | "level">;
361
+ };
362
+ declare const xsdHierBranch: {
363
+ to: (key: string) => string;
364
+ from: (xsd: string) => string;
365
+ forward: Record<"left" | "right" | "hanging" | "standard" | "initial", "l" | "r" | "hang" | "std" | "init">;
366
+ reverse: Record<"l" | "r" | "hang" | "std" | "init", "left" | "right" | "hanging" | "standard" | "initial">;
367
+ };
368
+ declare const xsdHueDirection: {
369
+ to: (key: string) => string;
370
+ from: (xsd: string) => string;
371
+ forward: Record<"clockwise" | "counterClockwise", "cw" | "ccw">;
372
+ reverse: Record<"cw" | "ccw", "clockwise" | "counterClockwise">;
373
+ };
374
+ declare const xsdDiagramDirection: {
375
+ to: (key: string) => string;
376
+ from: (xsd: string) => string;
377
+ forward: Record<"normal" | "reversed", "norm" | "rev">;
378
+ reverse: Record<"norm" | "rev", "normal" | "reversed">;
379
+ };
380
+ declare const xsdResizeHandles: {
381
+ to: (key: string) => string;
382
+ from: (xsd: string) => string;
383
+ forward: Record<"exact" | "relative", "exact" | "rel">;
384
+ reverse: Record<"exact" | "rel", "exact" | "relative">;
385
+ };
386
+ declare const xsdOnOffStyle: {
387
+ to: (key: string) => string;
388
+ from: (xsd: string) => string;
389
+ forward: Record<"default", "def">;
390
+ reverse: Record<"def", "default">;
391
+ };
392
+ declare const xsdAnimClass: {
393
+ to: (key: string) => string;
394
+ from: (xsd: string) => string;
395
+ forward: Record<"entrance" | "emphasis" | "mediaCall", "entr" | "emph" | "mediacall">;
396
+ reverse: Record<"entr" | "emph" | "mediacall", "entrance" | "emphasis" | "mediaCall">;
397
+ };
398
+ declare const xsdAnimCalcMode: {
399
+ to: (key: string) => string;
400
+ from: (xsd: string) => string;
401
+ forward: Record<"linear" | "formula", "lin" | "fmla">;
402
+ reverse: Record<"lin" | "fmla", "linear" | "formula">;
403
+ };
404
+ declare const xsdAnimValueType: {
405
+ to: (key: string) => string;
406
+ from: (xsd: string) => string;
407
+ forward: Record<"string" | "number" | "color", "str" | "num" | "clr">;
408
+ reverse: Record<"str" | "num" | "clr", "string" | "number" | "color">;
409
+ };
410
+ declare const xsdTextBuild: {
411
+ to: (key: string) => string;
412
+ from: (xsd: string) => string;
413
+ forward: Record<"custom" | "paragraph", "cust" | "p">;
414
+ reverse: Record<"cust" | "p", "custom" | "paragraph">;
415
+ };
416
+ declare const xsdDiagramBuild: {
417
+ to: (key: string) => string;
418
+ from: (xsd: string) => string;
419
+ forward: Record<"custom" | "clockwise" | "clockwiseIn" | "clockwiseOut" | "counterclockwise" | "counterclockwiseIn" | "counterclockwiseOut", "cust" | "cw" | "ccw" | "cwIn" | "cwOut" | "ccwIn" | "ccwOut">;
420
+ reverse: Record<"cust" | "cw" | "ccw" | "cwIn" | "cwOut" | "ccwIn" | "ccwOut", "custom" | "clockwise" | "clockwiseIn" | "clockwiseOut" | "counterclockwise" | "counterclockwiseIn" | "counterclockwiseOut">;
421
+ };
422
+ declare const xsdChartBuild: {
423
+ to: (key: string) => string;
424
+ from: (xsd: string) => string;
425
+ forward: Record<"seriesElement" | "categoryElement", "seriesEl" | "categoryEl">;
426
+ reverse: Record<"seriesEl" | "categoryEl", "seriesElement" | "categoryElement">;
427
+ };
428
+ declare const xsdAnimationDgmBuild: {
429
+ to: (key: string) => string;
430
+ from: (xsd: string) => string;
431
+ forward: Record<"levelOne" | "levelAtOnce", "lvlOne" | "lvlAtOnce">;
432
+ reverse: Record<"lvlOne" | "lvlAtOnce", "levelOne" | "levelAtOnce">;
433
+ };
434
+ declare const xsdIterateType: {
435
+ to: (key: string) => string;
436
+ from: (xsd: string) => string;
437
+ forward: Record<"element" | "word" | "letter", "el" | "wd" | "lt">;
438
+ reverse: Record<"el" | "wd" | "lt", "element" | "word" | "letter">;
439
+ };
440
+ declare const xsdSlideLayoutType: {
441
+ to: (key: string) => string;
442
+ from: (xsd: string) => string;
443
+ forward: Record<"object" | "text" | "twoColumnText" | "sectionHeader" | "table" | "clipArtAndText" | "pictureText" | "twoObjects" | "twoTextAndTwoObjects" | "objectAndText" | "verticalText" | "verticalTitleAndText", "tx" | "twoColTx" | "obj" | "secHead" | "tbl" | "clipArtAndTx" | "picTx" | "twoObj" | "twoTxTwoObj" | "objTx" | "vertTx" | "vertTitleAndTx">;
444
+ reverse: Record<"tx" | "twoColTx" | "obj" | "secHead" | "tbl" | "clipArtAndTx" | "picTx" | "twoObj" | "twoTxTwoObj" | "objTx" | "vertTx" | "vertTitleAndTx", "object" | "text" | "twoColumnText" | "sectionHeader" | "table" | "clipArtAndText" | "pictureText" | "twoObjects" | "twoTextAndTwoObjects" | "objectAndText" | "verticalText" | "verticalTitleAndText">;
445
+ };
446
+ declare const xsdTextVerticalType: {
447
+ to: (key: string) => string;
448
+ from: (xsd: string) => string;
449
+ forward: Record<"horizontal" | "vertical" | "vertical270" | "wordArtVertical" | "eastAsianVertical" | "mongolianVertical" | "wordArtVerticalRightToLeft", "horz" | "vert" | "vert270" | "wordArtVert" | "eaVert" | "mongolianVert" | "wordArtVertRtl">;
450
+ reverse: Record<"horz" | "vert" | "vert270" | "wordArtVert" | "eaVert" | "mongolianVert" | "wordArtVertRtl", "horizontal" | "vertical" | "vertical270" | "wordArtVertical" | "eastAsianVertical" | "mongolianVertical" | "wordArtVerticalRightToLeft">;
451
+ };
452
+ declare const xsdDashStyle: {
453
+ to: (key: string) => string;
454
+ from: (xsd: string) => string;
455
+ forward: Record<"longDash" | "systemDot" | "systemDash", "lgDash" | "sysDot" | "sysDash">;
456
+ reverse: Record<"lgDash" | "sysDot" | "sysDash", "longDash" | "systemDot" | "systemDash">;
457
+ };
458
+ declare const xsdOrient: {
459
+ to: (key: string) => string;
460
+ from: (xsd: string) => string;
461
+ forward: Record<"horizontal" | "vertical", "horz" | "vert">;
462
+ reverse: Record<"horz" | "vert", "horizontal" | "vertical">;
463
+ };
464
+ declare const xsdPlaceholderType: {
465
+ to: (key: string) => string;
466
+ from: (xsd: string) => string;
467
+ forward: Record<"object" | "table" | "centerTitle" | "date" | "slideNumber" | "footer" | "header" | "diagram" | "slideImage" | "picture", "obj" | "tbl" | "ctrTitle" | "dt" | "sldNum" | "ftr" | "hdr" | "dgm" | "sldImg" | "pic">;
468
+ reverse: Record<"obj" | "tbl" | "ctrTitle" | "dt" | "sldNum" | "ftr" | "hdr" | "dgm" | "sldImg" | "pic", "object" | "table" | "centerTitle" | "date" | "slideNumber" | "footer" | "header" | "diagram" | "slideImage" | "picture">;
469
+ };
470
+ declare const xsdMathStyle: {
471
+ to: (key: string) => string;
472
+ from: (xsd: string) => string;
473
+ forward: Record<"plain" | "bold" | "italic" | "boldItalic", "b" | "p" | "i" | "bi">;
474
+ reverse: Record<"b" | "p" | "i" | "bi", "plain" | "bold" | "italic" | "boldItalic">;
475
+ };
476
+ declare const xsdTableWidthType: {
477
+ to: (key: string) => string;
478
+ from: (xsd: string) => string;
479
+ forward: Record<"twips" | "percent", "dxa" | "pct">;
480
+ reverse: Record<"dxa" | "pct", "twips" | "percent">;
481
+ };
482
+ declare const xsdJcAlignment: {
483
+ to: (key: string) => string;
484
+ from: (xsd: string) => string;
485
+ forward: Record<"numericTab", "numTab">;
486
+ reverse: Record<"numTab", "numericTab">;
487
+ };
488
+ declare const xsdConsolidateFunction: {
489
+ to: (key: string) => string;
490
+ from: (xsd: string) => string;
491
+ forward: Record<"standardDeviation" | "countNumbers" | "standardDeviationPopulation" | "variance" | "variancePopulation", "stdDev" | "countNums" | "stdDevp" | "var" | "varp">;
492
+ reverse: Record<"stdDev" | "countNums" | "stdDevp" | "var" | "varp", "standardDeviation" | "countNumbers" | "standardDeviationPopulation" | "variance" | "variancePopulation">;
493
+ };
494
+ declare const xsdShadingPattern: {
495
+ to: (key: string) => string;
496
+ from: (xsd: string) => string;
497
+ forward: Record<"percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "diagonalCross" | "horizontalStripe" | "verticalStripe" | "reverseDiagonalStripe" | "diagonalStripe" | "horizontalCross" | "thinHorizontalStripe" | "thinVerticalStripe" | "thinReverseDiagonalStripe" | "thinDiagonalStripe" | "thinHorizontalCross" | "thinDiagonalCross" | "percent12" | "percent15" | "percent35" | "percent37" | "percent45" | "percent55" | "percent62" | "percent65" | "percent85" | "percent87" | "percent95", "pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "diagCross" | "horzStripe" | "vertStripe" | "reverseDiagStripe" | "diagStripe" | "horzCross" | "thinHorzStripe" | "thinVertStripe" | "thinReverseDiagStripe" | "thinDiagStripe" | "thinHorzCross" | "thinDiagCross" | "pct12" | "pct15" | "pct35" | "pct37" | "pct45" | "pct55" | "pct62" | "pct65" | "pct85" | "pct87" | "pct95">;
498
+ reverse: Record<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "diagCross" | "horzStripe" | "vertStripe" | "reverseDiagStripe" | "diagStripe" | "horzCross" | "thinHorzStripe" | "thinVertStripe" | "thinReverseDiagStripe" | "thinDiagStripe" | "thinHorzCross" | "thinDiagCross" | "pct12" | "pct15" | "pct35" | "pct37" | "pct45" | "pct55" | "pct62" | "pct65" | "pct85" | "pct87" | "pct95", "percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "diagonalCross" | "horizontalStripe" | "verticalStripe" | "reverseDiagonalStripe" | "diagonalStripe" | "horizontalCross" | "thinHorizontalStripe" | "thinVerticalStripe" | "thinReverseDiagonalStripe" | "thinDiagonalStripe" | "thinHorizontalCross" | "thinDiagonalCross" | "percent12" | "percent15" | "percent35" | "percent37" | "percent45" | "percent55" | "percent62" | "percent65" | "percent85" | "percent87" | "percent95">;
499
+ };
500
+ declare const xsdTotalsRowFunction: {
501
+ to: (key: string) => string;
502
+ from: (xsd: string) => string;
503
+ forward: Record<"standardDeviation" | "countNumbers" | "variance", "stdDev" | "countNums" | "var">;
504
+ reverse: Record<"stdDev" | "countNums" | "var", "standardDeviation" | "countNumbers" | "variance">;
505
+ };
506
+ //#endregion
507
+ //#region src/util/placeholder.d.ts
508
+ type IdFormat = "rId" | "plain";
509
+ declare const formatId: (offset: number, index: number, style: IdFormat) => string;
510
+ declare function replacePlaceholders(xml: string, map: Map<string, string>): string;
511
+ declare function hasPlaceholders(xml: string): boolean;
512
+ declare function collectPlaceholderKeys(xml: string, prefix: string): string[];
513
+ declare function replaceImagePlaceholders(xml: string, mediaData: {
514
+ fileName: string;
515
+ }[], offset: number, idFormat?: IdFormat): string;
516
+ declare function getReferencedMedia(xml: string, mediaArray: {
517
+ fileName: string;
518
+ }[]): {
519
+ fileName: string;
520
+ }[];
521
+ declare function findAndReplaceImagePlaceholders(xml: string, mediaArray: {
522
+ fileName: string;
523
+ }[], offset: number, idFormat?: IdFormat, sourceRids?: ReadonlyMap<string, string>): {
524
+ xml: string;
525
+ referenced: {
526
+ fileName: string;
527
+ }[];
528
+ };
529
+ declare function replaceAllPlaceholders(xml: string, entries: Array<{
530
+ prefix?: string;
531
+ key: string;
532
+ value: string;
533
+ }>): string;
534
+ declare function replaceChartPlaceholders(xml: string, chartKeys: string[], offset: number, idFormat?: IdFormat): string;
535
+ interface SmartArtRelOptions {
536
+ pathPrefix: string;
537
+ styleRelType: RelationshipType;
538
+ hasDrawing?: (key: string) => boolean;
539
+ }
540
+ declare function replaceSmartArtPlaceholders(xml: string, keys: string[], dataOffset: number, idFormat?: IdFormat): string;
541
+ declare function addSmartArtRelationships(keys: string[], addRel: (id: number, type: RelationshipType, target: string, targetMode?: string) => void, baseOffset: number, globalStartIndex: number, options: SmartArtRelOptions): void;
542
+ declare function replaceNumberingPlaceholders(xml: string, concreteNumberings: readonly {
543
+ reference: string;
544
+ instance: number;
545
+ numId: number;
546
+ }[]): string;
547
+ declare function replaceMediaPlaceholders(xml: string, mediaData: {
548
+ fileName: string;
549
+ }[], offset: number): string;
550
+ declare function replaceVideoPlaceholders(xml: string, mediaData: {
551
+ fileName: string;
552
+ }[], offset: number): string;
553
+ declare function replaceAudioPlaceholders(xml: string, mediaData: {
554
+ fileName: string;
555
+ }[], offset: number): string;
556
+ declare function replaceOlePlaceholders(xml: string, embeddings: {
557
+ fileName: string;
558
+ }[], offset: number): string;
559
+ declare function getMediaRefs(xml: string, mediaArray: {
560
+ fileName: string;
561
+ }[]): {
562
+ fileName: string;
563
+ }[];
564
+ declare function getVideoRefs(xml: string, mediaArray: {
565
+ fileName: string;
566
+ }[]): {
567
+ fileName: string;
568
+ }[];
569
+ declare function getAudioRefs(xml: string, mediaArray: {
570
+ fileName: string;
571
+ }[]): {
572
+ fileName: string;
573
+ }[];
574
+ declare function getOleRefs(xml: string, embeddings: {
575
+ fileName: string;
576
+ }[]): {
577
+ fileName: string;
578
+ }[];
579
+ declare function replaceHyperlinkPlaceholders(xml: string, hyperlinks: {
580
+ key: string;
581
+ }[], offset: number): string;
582
+ declare function replaceImageLinkPlaceholders(xml: string, links: {
583
+ key: string;
584
+ }[], offset: number): string;
585
+ declare function replaceOleLinkPlaceholders(xml: string, links: {
586
+ key: string;
587
+ }[], offset: number): string;
588
+ //#endregion
589
+ export { xsdLegendPosition as $, convertToPt as $t, xsdAnimValueType as A, ZIP_STORED_LEVEL as An, ImageFileType as At, xsdCompoundLine as B, zipAndConvert as Bn, randomBytes as Bt, replacePlaceholders as C, resolveRelationshipTarget as Cn, xsdTextCaps as Ct, xsdAnimCalcMode as D, PackerOptions as Dn, xsdTrendlineType as Dt, invertMap as E, Packer as En, xsdTotalsRowFunction as Et, xsdAxisOrientation as F, createPacker as Fn, uniqueNumericIdCreator as Ft, xsdDiagramDirection as G, convertInchesToEmu as Gt, xsdDashStyle as H, zipSyncAndConvert as Hn, convertEmuToPixels as Ht, xsdAxisPosition as I, createZipStream as In, uniqueUuid as It, xsdFontAlignment as J, convertPixelsToEmu as Jt, xsdEffectContainer as K, convertInchesToTwip as Kt, xsdBlendMode as L, levelForMediaName as Ln, extUriMatches as Lt, xsdAxisCrossBetween as M, ZipPartSink as Mn, UniqueNumericIdCreator as Mt, xsdAxisCrosses as N, ZipStreamWriter as Nn, hashedId as Nt, xsdAnimClass as O, XmlifyedFile as On, xsdUnderlineStyle as Ot, xsdAxisLabelAlignment as P, Zippable$1 as Pn, uniqueId as Pt, xsdJcAlignment as Q, convertToInch as Qt, xsdChartBuild as R, strFromU8$1 as Rn, derivePasswordHash as Rt, replaceOlePlaceholders as S, partPathToRelsPath as Sn, xsdTextBuild as St, replaceVideoPlaceholders as T, CompressionOptions as Tn, xsdTextVerticalType as Tt, xsdDataLabelPosition as U, convertEmuToPoints as Ut, xsdConsolidateFunction as V, zipSync$1 as Vn, convertEmuToInches as Vt, xsdDiagramBuild as W, convertEmuToTwip as Wt, xsdHueDirection as X, convertPointsToTwip as Xt, xsdHierBranch as Y, convertPointsToEmu as Yt, xsdIterateType as Z, convertToEmu as Zt, replaceImageLinkPlaceholders as _, RelationshipType as _n, xsdSplitType as _t, findAndReplaceImagePlaceholders as a, convertUniversalMeasureToPt as an, xsdOnOffStyle as at, replaceNumberingPlaceholders as b, buildRootRelationships as bn, xsdTextAlign as bt, getMediaRefs as c, emitPercent as cn, xsdPattern as ct, getVideoRefs as d, parsePercent as dn, xsdPresetShadow as dt, convertToTwip as en, xsdLightRigDirection as et, hasPlaceholders as f, parsePercentAttr as fn, xsdRectAlignment as ft, replaceHyperlinkPlaceholders as g, compileMapping as gn, xsdSlideLayoutType as gt, replaceChartPlaceholders as h, addBinaryFile as hn, xsdSizeRepresents as ht, collectPlaceholderKeys as i, convertUniversalMeasureToInch as in, xsdMathStyle as it, xsdAnimationDgmBuild as j, ZipOptions as jn, imageTypeFromPath as jt, xsdAnimLevel as k, ZIP_DEFLATE_LEVEL as kn, xsdVerticalMergeRev as kt, getOleRefs as l, mapOptional as ln, xsdPenAlignment as lt, replaceAudioPlaceholders as m, XmlifyedFileEntry as mn, xsdShadingPattern as mt, SmartArtRelOptions as n, convertTwipToPoints as nn, xsdLineEndSize as nt, formatId as o, convertUniversalMeasureToTwip as on, xsdOrient as ot, replaceAllPlaceholders as p, parseUniversalMeasure as pn, xsdResizeHandles as pt, xsdErrorValueType as q, convertMillimetersToTwip as qt, addSmartArtRelationships as r, convertUniversalMeasureToEmu as rn, xsdMaterialType as rt, getAudioRefs as s, emitAngle as sn, xsdPathFillMode as st, IdFormat as t, convertTwipToEmu as tn, xsdLineCap as tt, getReferencedMedia as u, parseAngle as un, xsdPlaceholderType as ut, replaceImagePlaceholders as v, Relationships as vn, xsdStrikeStyle as vt, replaceSmartArtPlaceholders as w, CompileFn as wn, xsdTextTabAlignment as wt, replaceOleLinkPlaceholders as x, optionalRelsPart as xn, xsdTextAnchor as xt, replaceMediaPlaceholders as y, TargetModeType as yn, xsdTableWidthType as yt, xsdComments as z, unzipSync$1 as zn, hashPasswordAgile as zt };
590
+ //# sourceMappingURL=index-BAxlDUQ1.d.mts.map