@json-to-office/core-docx 0.1.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 (169) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +9 -0
  3. package/dist/cache/index.d.ts +7 -0
  4. package/dist/cache/index.d.ts.map +1 -0
  5. package/dist/cache/key-generator.d.ts +34 -0
  6. package/dist/cache/key-generator.d.ts.map +1 -0
  7. package/dist/components/columns.d.ts +12 -0
  8. package/dist/components/columns.d.ts.map +1 -0
  9. package/dist/components/footer.d.ts +12 -0
  10. package/dist/components/footer.d.ts.map +1 -0
  11. package/dist/components/header.d.ts +12 -0
  12. package/dist/components/header.d.ts.map +1 -0
  13. package/dist/components/heading.d.ts +12 -0
  14. package/dist/components/heading.d.ts.map +1 -0
  15. package/dist/components/highcharts.d.ts +21 -0
  16. package/dist/components/highcharts.d.ts.map +1 -0
  17. package/dist/components/image.d.ts +12 -0
  18. package/dist/components/image.d.ts.map +1 -0
  19. package/dist/components/index.d.ts +19 -0
  20. package/dist/components/index.d.ts.map +1 -0
  21. package/dist/components/list.d.ts +12 -0
  22. package/dist/components/list.d.ts.map +1 -0
  23. package/dist/components/paragraph.d.ts +12 -0
  24. package/dist/components/paragraph.d.ts.map +1 -0
  25. package/dist/components/section.d.ts +12 -0
  26. package/dist/components/section.d.ts.map +1 -0
  27. package/dist/components/statistic.d.ts +12 -0
  28. package/dist/components/statistic.d.ts.map +1 -0
  29. package/dist/components/table.d.ts +13 -0
  30. package/dist/components/table.d.ts.map +1 -0
  31. package/dist/components/text-box.d.ts +9 -0
  32. package/dist/components/text-box.d.ts.map +1 -0
  33. package/dist/components/text-space-after.d.ts +35 -0
  34. package/dist/components/text-space-after.d.ts.map +1 -0
  35. package/dist/components/toc/index.d.ts +30 -0
  36. package/dist/components/toc/index.d.ts.map +1 -0
  37. package/dist/core/cached-render.d.ts +46 -0
  38. package/dist/core/cached-render.d.ts.map +1 -0
  39. package/dist/core/content.d.ts +263 -0
  40. package/dist/core/content.d.ts.map +1 -0
  41. package/dist/core/generator.d.ts +93 -0
  42. package/dist/core/generator.d.ts.map +1 -0
  43. package/dist/core/index.d.ts +14 -0
  44. package/dist/core/index.d.ts.map +1 -0
  45. package/dist/core/layout.d.ts +107 -0
  46. package/dist/core/layout.d.ts.map +1 -0
  47. package/dist/core/render.d.ts +26 -0
  48. package/dist/core/render.d.ts.map +1 -0
  49. package/dist/core/structure.d.ts +67 -0
  50. package/dist/core/structure.d.ts.map +1 -0
  51. package/dist/examples/test-spacing-debug.d.ts +2 -0
  52. package/dist/examples/test-spacing-debug.d.ts.map +1 -0
  53. package/dist/examples/test-spacing.d.ts +6 -0
  54. package/dist/examples/test-spacing.d.ts.map +1 -0
  55. package/dist/index.d.ts +20 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +7726 -0
  58. package/dist/index.js.map +1 -0
  59. package/dist/json/filesystem.d.ts +81 -0
  60. package/dist/json/filesystem.d.ts.map +1 -0
  61. package/dist/json/index.d.ts +6 -0
  62. package/dist/json/index.d.ts.map +1 -0
  63. package/dist/json/normalizer.d.ts +30 -0
  64. package/dist/json/normalizer.d.ts.map +1 -0
  65. package/dist/json/parser.d.ts +9 -0
  66. package/dist/json/parser.d.ts.map +1 -0
  67. package/dist/plugin/createComponent.d.ts +113 -0
  68. package/dist/plugin/createComponent.d.ts.map +1 -0
  69. package/dist/plugin/createDocumentGenerator.d.ts +18 -0
  70. package/dist/plugin/createDocumentGenerator.d.ts.map +1 -0
  71. package/dist/plugin/example/columns-layout.component.d.ts +29 -0
  72. package/dist/plugin/example/columns-layout.component.d.ts.map +1 -0
  73. package/dist/plugin/example/index.d.ts +6 -0
  74. package/dist/plugin/example/index.d.ts.map +1 -0
  75. package/dist/plugin/example/index.js +7449 -0
  76. package/dist/plugin/example/index.js.map +1 -0
  77. package/dist/plugin/example/nested-section.component.d.ts +16 -0
  78. package/dist/plugin/example/nested-section.component.d.ts.map +1 -0
  79. package/dist/plugin/example/plugin-demo.json +103 -0
  80. package/dist/plugin/example/text-space-after.component.d.ts +22 -0
  81. package/dist/plugin/example/text-space-after.component.d.ts.map +1 -0
  82. package/dist/plugin/example/weather.component.d.ts +29 -0
  83. package/dist/plugin/example/weather.component.d.ts.map +1 -0
  84. package/dist/plugin/index.d.ts +35 -0
  85. package/dist/plugin/index.d.ts.map +1 -0
  86. package/dist/plugin/schema.d.ts +30 -0
  87. package/dist/plugin/schema.d.ts.map +1 -0
  88. package/dist/plugin/types.d.ts +144 -0
  89. package/dist/plugin/types.d.ts.map +1 -0
  90. package/dist/plugin/validation.d.ts +45 -0
  91. package/dist/plugin/validation.d.ts.map +1 -0
  92. package/dist/plugin/version-resolver.d.ts +10 -0
  93. package/dist/plugin/version-resolver.d.ts.map +1 -0
  94. package/dist/styles/index.d.ts +13 -0
  95. package/dist/styles/index.d.ts.map +1 -0
  96. package/dist/styles/theme-resolver.d.ts +6 -0
  97. package/dist/styles/theme-resolver.d.ts.map +1 -0
  98. package/dist/styles/theme-validator.d.ts +7 -0
  99. package/dist/styles/theme-validator.d.ts.map +1 -0
  100. package/dist/styles/themeToDocxAdapter.d.ts +22 -0
  101. package/dist/styles/themeToDocxAdapter.d.ts.map +1 -0
  102. package/dist/styles/utils/borderUtils.d.ts +88 -0
  103. package/dist/styles/utils/borderUtils.d.ts.map +1 -0
  104. package/dist/styles/utils/cellUtils.d.ts +55 -0
  105. package/dist/styles/utils/cellUtils.d.ts.map +1 -0
  106. package/dist/styles/utils/colorUtils.d.ts +27 -0
  107. package/dist/styles/utils/colorUtils.d.ts.map +1 -0
  108. package/dist/styles/utils/componentDefaults.d.ts +97 -0
  109. package/dist/styles/utils/componentDefaults.d.ts.map +1 -0
  110. package/dist/styles/utils/layoutUtils.d.ts +87 -0
  111. package/dist/styles/utils/layoutUtils.d.ts.map +1 -0
  112. package/dist/styles/utils/styleHelpers.d.ts +90 -0
  113. package/dist/styles/utils/styleHelpers.d.ts.map +1 -0
  114. package/dist/templates/documents/index.d.ts +34 -0
  115. package/dist/templates/documents/index.d.ts.map +1 -0
  116. package/dist/templates/documents/proposal.docx.json +171 -0
  117. package/dist/templates/documents/quarterly-report.docx.json +117 -0
  118. package/dist/templates/documents/technical-guide.docx.json +178 -0
  119. package/dist/templates/themes/corporate.docx.theme.json +118 -0
  120. package/dist/templates/themes/index.d.ts +5765 -0
  121. package/dist/templates/themes/index.d.ts.map +1 -0
  122. package/dist/templates/themes/minimal.docx.theme.json +194 -0
  123. package/dist/templates/themes/modern.docx.theme.json +115 -0
  124. package/dist/themes/defaults.d.ts +1300 -0
  125. package/dist/themes/defaults.d.ts.map +1 -0
  126. package/dist/themes/json/index.d.ts +44 -0
  127. package/dist/themes/json/index.d.ts.map +1 -0
  128. package/dist/themes/json/loader.d.ts +26 -0
  129. package/dist/themes/json/loader.d.ts.map +1 -0
  130. package/dist/themes/json/parser.d.ts +25 -0
  131. package/dist/themes/json/parser.d.ts.map +1 -0
  132. package/dist/themes/json/validator.d.ts +35 -0
  133. package/dist/themes/json/validator.d.ts.map +1 -0
  134. package/dist/tsconfig.tsbuildinfo +1 -0
  135. package/dist/types/index.d.ts +158 -0
  136. package/dist/types/index.d.ts.map +1 -0
  137. package/dist/types/plugin.d.ts +67 -0
  138. package/dist/types/plugin.d.ts.map +1 -0
  139. package/dist/utils/alignmentUtils.d.ts +10 -0
  140. package/dist/utils/alignmentUtils.d.ts.map +1 -0
  141. package/dist/utils/bookmarkRegistry.d.ts +49 -0
  142. package/dist/utils/bookmarkRegistry.d.ts.map +1 -0
  143. package/dist/utils/docxImagePositioning.d.ts +18 -0
  144. package/dist/utils/docxImagePositioning.d.ts.map +1 -0
  145. package/dist/utils/environment.d.ts +14 -0
  146. package/dist/utils/environment.d.ts.map +1 -0
  147. package/dist/utils/exampleRunner.d.ts +17 -0
  148. package/dist/utils/exampleRunner.d.ts.map +1 -0
  149. package/dist/utils/fixFloatingImageIds.d.ts +18 -0
  150. package/dist/utils/fixFloatingImageIds.d.ts.map +1 -0
  151. package/dist/utils/formatters.d.ts +2 -0
  152. package/dist/utils/formatters.d.ts.map +1 -0
  153. package/dist/utils/imageUtils.d.ts +84 -0
  154. package/dist/utils/imageUtils.d.ts.map +1 -0
  155. package/dist/utils/numberingConfig.d.ts +84 -0
  156. package/dist/utils/numberingConfig.d.ts.map +1 -0
  157. package/dist/utils/placeholderImage.d.ts +31 -0
  158. package/dist/utils/placeholderImage.d.ts.map +1 -0
  159. package/dist/utils/placeholderProcessor.d.ts +58 -0
  160. package/dist/utils/placeholderProcessor.d.ts.map +1 -0
  161. package/dist/utils/textParser.d.ts +35 -0
  162. package/dist/utils/textParser.d.ts.map +1 -0
  163. package/dist/utils/unicode.d.ts +6 -0
  164. package/dist/utils/unicode.d.ts.map +1 -0
  165. package/dist/utils/warningsDocument.d.ts +17 -0
  166. package/dist/utils/warningsDocument.d.ts.map +1 -0
  167. package/dist/utils/widthUtils.d.ts +27 -0
  168. package/dist/utils/widthUtils.d.ts.map +1 -0
  169. package/package.json +88 -0
@@ -0,0 +1,1300 @@
1
+ /**
2
+ * Default theme values and utilities for handling optional theme properties
3
+ */
4
+ import type { ThemeConfigJson } from '@json-to-office/shared-docx';
5
+ /**
6
+ * Default colors for themes
7
+ */
8
+ export declare const DEFAULT_COLORS: {
9
+ primary: string;
10
+ secondary: string;
11
+ accent: string;
12
+ text: string;
13
+ background: string;
14
+ border: string;
15
+ textPrimary: string;
16
+ textSecondary: string;
17
+ textMuted: string;
18
+ borderPrimary: string;
19
+ borderSecondary: string;
20
+ backgroundPrimary: string;
21
+ backgroundSecondary: string;
22
+ };
23
+ /**
24
+ * Default fonts for themes
25
+ */
26
+ export declare const DEFAULT_FONTS: {
27
+ heading: {
28
+ family: string;
29
+ size: number;
30
+ };
31
+ body: {
32
+ family: string;
33
+ size: number;
34
+ };
35
+ mono: {
36
+ family: string;
37
+ size: number;
38
+ };
39
+ light: {
40
+ family: string;
41
+ size: number;
42
+ };
43
+ };
44
+ /**
45
+ * Default styles for themes
46
+ */
47
+ export declare const DEFAULT_STYLES: {
48
+ normal: {
49
+ font: "body";
50
+ size: number;
51
+ color: string;
52
+ alignment: "left";
53
+ lineSpacing: {
54
+ type: "single";
55
+ value: number;
56
+ };
57
+ spacing: {
58
+ after: number;
59
+ };
60
+ };
61
+ heading1: {
62
+ font: "heading";
63
+ size: number;
64
+ color: string;
65
+ bold: boolean;
66
+ spacing: {
67
+ before: number;
68
+ after: number;
69
+ };
70
+ };
71
+ heading2: {
72
+ font: "heading";
73
+ size: number;
74
+ color: string;
75
+ bold: boolean;
76
+ spacing: {
77
+ before: number;
78
+ after: number;
79
+ };
80
+ };
81
+ heading3: {
82
+ font: "heading";
83
+ size: number;
84
+ color: string;
85
+ bold: boolean;
86
+ spacing: {
87
+ before: number;
88
+ after: number;
89
+ };
90
+ };
91
+ heading4: {
92
+ font: "heading";
93
+ size: number;
94
+ color: string;
95
+ bold: boolean;
96
+ spacing: {
97
+ before: number;
98
+ after: number;
99
+ };
100
+ };
101
+ heading5: {
102
+ font: "heading";
103
+ size: number;
104
+ color: string;
105
+ bold: boolean;
106
+ spacing: {
107
+ before: number;
108
+ after: number;
109
+ };
110
+ };
111
+ heading6: {
112
+ font: "heading";
113
+ size: number;
114
+ color: string;
115
+ bold: boolean;
116
+ spacing: {
117
+ before: number;
118
+ after: number;
119
+ };
120
+ };
121
+ };
122
+ /**
123
+ * Default page settings
124
+ */
125
+ export declare const DEFAULT_PAGE: {
126
+ size: "LETTER";
127
+ margins: {
128
+ top: number;
129
+ bottom: number;
130
+ left: number;
131
+ right: number;
132
+ header: number;
133
+ footer: number;
134
+ gutter: number;
135
+ };
136
+ };
137
+ /**
138
+ * Ensures theme has all required properties with defaults
139
+ */
140
+ export declare function ensureThemeDefaults(theme: Partial<ThemeConfigJson>): ThemeConfigJson;
141
+ /**
142
+ * Type guard to check if a theme has all required properties
143
+ */
144
+ export declare function isCompleteTheme(theme: unknown): theme is ThemeConfigJson;
145
+ /**
146
+ * Safe getter for theme colors with defaults
147
+ */
148
+ export declare function getThemeColors(theme: Partial<ThemeConfigJson>): {
149
+ primary: string;
150
+ secondary: string;
151
+ accent: string;
152
+ text: string;
153
+ background: string;
154
+ border: string;
155
+ textPrimary: string;
156
+ textSecondary: string;
157
+ textMuted: string;
158
+ borderPrimary: string;
159
+ borderSecondary: string;
160
+ backgroundPrimary: string;
161
+ backgroundSecondary: string;
162
+ };
163
+ /**
164
+ * Safe getter for theme fonts with defaults
165
+ */
166
+ export declare function getThemeFonts(theme: Partial<ThemeConfigJson>): {
167
+ body: {
168
+ family: string;
169
+ size: number;
170
+ } | {
171
+ size?: number | undefined;
172
+ color?: string | undefined;
173
+ bold?: boolean | undefined;
174
+ italic?: boolean | undefined;
175
+ underline?: boolean | undefined;
176
+ lineSpacing?: {
177
+ value?: number | undefined;
178
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
179
+ } | undefined;
180
+ spacing?: {
181
+ before?: number | undefined;
182
+ after?: number | undefined;
183
+ } | undefined;
184
+ characterSpacing?: {
185
+ type: "condensed" | "expanded";
186
+ value: number;
187
+ } | undefined;
188
+ family: string;
189
+ };
190
+ heading: {
191
+ family: string;
192
+ size: number;
193
+ } | {
194
+ size?: number | undefined;
195
+ color?: string | undefined;
196
+ bold?: boolean | undefined;
197
+ italic?: boolean | undefined;
198
+ underline?: boolean | undefined;
199
+ lineSpacing?: {
200
+ value?: number | undefined;
201
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
202
+ } | undefined;
203
+ spacing?: {
204
+ before?: number | undefined;
205
+ after?: number | undefined;
206
+ } | undefined;
207
+ characterSpacing?: {
208
+ type: "condensed" | "expanded";
209
+ value: number;
210
+ } | undefined;
211
+ family: string;
212
+ };
213
+ mono: {
214
+ family: string;
215
+ size: number;
216
+ } | {
217
+ size?: number | undefined;
218
+ color?: string | undefined;
219
+ bold?: boolean | undefined;
220
+ italic?: boolean | undefined;
221
+ underline?: boolean | undefined;
222
+ lineSpacing?: {
223
+ value?: number | undefined;
224
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
225
+ } | undefined;
226
+ spacing?: {
227
+ before?: number | undefined;
228
+ after?: number | undefined;
229
+ } | undefined;
230
+ characterSpacing?: {
231
+ type: "condensed" | "expanded";
232
+ value: number;
233
+ } | undefined;
234
+ family: string;
235
+ };
236
+ light: {
237
+ family: string;
238
+ size: number;
239
+ } | {
240
+ size?: number | undefined;
241
+ color?: string | undefined;
242
+ bold?: boolean | undefined;
243
+ italic?: boolean | undefined;
244
+ underline?: boolean | undefined;
245
+ lineSpacing?: {
246
+ value?: number | undefined;
247
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
248
+ } | undefined;
249
+ spacing?: {
250
+ before?: number | undefined;
251
+ after?: number | undefined;
252
+ } | undefined;
253
+ characterSpacing?: {
254
+ type: "condensed" | "expanded";
255
+ value: number;
256
+ } | undefined;
257
+ family: string;
258
+ };
259
+ };
260
+ /**
261
+ * Safe getter for theme styles with defaults
262
+ */
263
+ export declare function getThemeStyles(theme: Partial<ThemeConfigJson>): {
264
+ normal: {
265
+ font: "body";
266
+ size: number;
267
+ color: string;
268
+ alignment: "left";
269
+ lineSpacing: {
270
+ type: "single";
271
+ value: number;
272
+ };
273
+ spacing: {
274
+ after: number;
275
+ };
276
+ } | {
277
+ size?: number | undefined;
278
+ color?: string | undefined;
279
+ bold?: boolean | undefined;
280
+ italic?: boolean | undefined;
281
+ underline?: boolean | undefined;
282
+ lineSpacing?: {
283
+ value?: number | undefined;
284
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
285
+ } | undefined;
286
+ spacing?: {
287
+ before?: number | undefined;
288
+ after?: number | undefined;
289
+ } | undefined;
290
+ characterSpacing?: {
291
+ type: "condensed" | "expanded";
292
+ value: number;
293
+ } | undefined;
294
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
295
+ priority?: number | undefined;
296
+ baseStyle?: string | undefined;
297
+ followingStyle?: string | undefined;
298
+ widowControl?: boolean | undefined;
299
+ keepNext?: boolean | undefined;
300
+ keepLinesTogether?: boolean | undefined;
301
+ outlineLevel?: number | undefined;
302
+ borders?: {
303
+ left?: {
304
+ space?: number | undefined;
305
+ size: number;
306
+ color: string;
307
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
308
+ } | undefined;
309
+ top?: {
310
+ space?: number | undefined;
311
+ size: number;
312
+ color: string;
313
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
314
+ } | undefined;
315
+ bottom?: {
316
+ space?: number | undefined;
317
+ size: number;
318
+ color: string;
319
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
320
+ } | undefined;
321
+ right?: {
322
+ space?: number | undefined;
323
+ size: number;
324
+ color: string;
325
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
326
+ } | undefined;
327
+ } | undefined;
328
+ indent?: {
329
+ left?: number | undefined;
330
+ hanging?: number | undefined;
331
+ } | undefined;
332
+ font?: "body" | "heading" | "mono" | "light" | undefined;
333
+ };
334
+ heading1: {
335
+ font: "heading";
336
+ size: number;
337
+ color: string;
338
+ bold: boolean;
339
+ spacing: {
340
+ before: number;
341
+ after: number;
342
+ };
343
+ } | {
344
+ size?: number | undefined;
345
+ color?: string | undefined;
346
+ bold?: boolean | undefined;
347
+ italic?: boolean | undefined;
348
+ underline?: boolean | undefined;
349
+ lineSpacing?: {
350
+ value?: number | undefined;
351
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
352
+ } | undefined;
353
+ spacing?: {
354
+ before?: number | undefined;
355
+ after?: number | undefined;
356
+ } | undefined;
357
+ characterSpacing?: {
358
+ type: "condensed" | "expanded";
359
+ value: number;
360
+ } | undefined;
361
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
362
+ priority?: number | undefined;
363
+ baseStyle?: string | undefined;
364
+ followingStyle?: string | undefined;
365
+ widowControl?: boolean | undefined;
366
+ keepNext?: boolean | undefined;
367
+ keepLinesTogether?: boolean | undefined;
368
+ outlineLevel?: number | undefined;
369
+ borders?: {
370
+ left?: {
371
+ space?: number | undefined;
372
+ size: number;
373
+ color: string;
374
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
375
+ } | undefined;
376
+ top?: {
377
+ space?: number | undefined;
378
+ size: number;
379
+ color: string;
380
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
381
+ } | undefined;
382
+ bottom?: {
383
+ space?: number | undefined;
384
+ size: number;
385
+ color: string;
386
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
387
+ } | undefined;
388
+ right?: {
389
+ space?: number | undefined;
390
+ size: number;
391
+ color: string;
392
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
393
+ } | undefined;
394
+ } | undefined;
395
+ indent?: {
396
+ left?: number | undefined;
397
+ hanging?: number | undefined;
398
+ } | undefined;
399
+ font?: "body" | "heading" | "mono" | "light" | undefined;
400
+ };
401
+ heading2: {
402
+ font: "heading";
403
+ size: number;
404
+ color: string;
405
+ bold: boolean;
406
+ spacing: {
407
+ before: number;
408
+ after: number;
409
+ };
410
+ } | {
411
+ size?: number | undefined;
412
+ color?: string | undefined;
413
+ bold?: boolean | undefined;
414
+ italic?: boolean | undefined;
415
+ underline?: boolean | undefined;
416
+ lineSpacing?: {
417
+ value?: number | undefined;
418
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
419
+ } | undefined;
420
+ spacing?: {
421
+ before?: number | undefined;
422
+ after?: number | undefined;
423
+ } | undefined;
424
+ characterSpacing?: {
425
+ type: "condensed" | "expanded";
426
+ value: number;
427
+ } | undefined;
428
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
429
+ priority?: number | undefined;
430
+ baseStyle?: string | undefined;
431
+ followingStyle?: string | undefined;
432
+ widowControl?: boolean | undefined;
433
+ keepNext?: boolean | undefined;
434
+ keepLinesTogether?: boolean | undefined;
435
+ outlineLevel?: number | undefined;
436
+ borders?: {
437
+ left?: {
438
+ space?: number | undefined;
439
+ size: number;
440
+ color: string;
441
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
442
+ } | undefined;
443
+ top?: {
444
+ space?: number | undefined;
445
+ size: number;
446
+ color: string;
447
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
448
+ } | undefined;
449
+ bottom?: {
450
+ space?: number | undefined;
451
+ size: number;
452
+ color: string;
453
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
454
+ } | undefined;
455
+ right?: {
456
+ space?: number | undefined;
457
+ size: number;
458
+ color: string;
459
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
460
+ } | undefined;
461
+ } | undefined;
462
+ indent?: {
463
+ left?: number | undefined;
464
+ hanging?: number | undefined;
465
+ } | undefined;
466
+ font?: "body" | "heading" | "mono" | "light" | undefined;
467
+ };
468
+ heading3: {
469
+ font: "heading";
470
+ size: number;
471
+ color: string;
472
+ bold: boolean;
473
+ spacing: {
474
+ before: number;
475
+ after: number;
476
+ };
477
+ } | {
478
+ size?: number | undefined;
479
+ color?: string | undefined;
480
+ bold?: boolean | undefined;
481
+ italic?: boolean | undefined;
482
+ underline?: boolean | undefined;
483
+ lineSpacing?: {
484
+ value?: number | undefined;
485
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
486
+ } | undefined;
487
+ spacing?: {
488
+ before?: number | undefined;
489
+ after?: number | undefined;
490
+ } | undefined;
491
+ characterSpacing?: {
492
+ type: "condensed" | "expanded";
493
+ value: number;
494
+ } | undefined;
495
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
496
+ priority?: number | undefined;
497
+ baseStyle?: string | undefined;
498
+ followingStyle?: string | undefined;
499
+ widowControl?: boolean | undefined;
500
+ keepNext?: boolean | undefined;
501
+ keepLinesTogether?: boolean | undefined;
502
+ outlineLevel?: number | undefined;
503
+ borders?: {
504
+ left?: {
505
+ space?: number | undefined;
506
+ size: number;
507
+ color: string;
508
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
509
+ } | undefined;
510
+ top?: {
511
+ space?: number | undefined;
512
+ size: number;
513
+ color: string;
514
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
515
+ } | undefined;
516
+ bottom?: {
517
+ space?: number | undefined;
518
+ size: number;
519
+ color: string;
520
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
521
+ } | undefined;
522
+ right?: {
523
+ space?: number | undefined;
524
+ size: number;
525
+ color: string;
526
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
527
+ } | undefined;
528
+ } | undefined;
529
+ indent?: {
530
+ left?: number | undefined;
531
+ hanging?: number | undefined;
532
+ } | undefined;
533
+ font?: "body" | "heading" | "mono" | "light" | undefined;
534
+ };
535
+ heading4: {
536
+ font: "heading";
537
+ size: number;
538
+ color: string;
539
+ bold: boolean;
540
+ spacing: {
541
+ before: number;
542
+ after: number;
543
+ };
544
+ } | {
545
+ size?: number | undefined;
546
+ color?: string | undefined;
547
+ bold?: boolean | undefined;
548
+ italic?: boolean | undefined;
549
+ underline?: boolean | undefined;
550
+ lineSpacing?: {
551
+ value?: number | undefined;
552
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
553
+ } | undefined;
554
+ spacing?: {
555
+ before?: number | undefined;
556
+ after?: number | undefined;
557
+ } | undefined;
558
+ characterSpacing?: {
559
+ type: "condensed" | "expanded";
560
+ value: number;
561
+ } | undefined;
562
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
563
+ priority?: number | undefined;
564
+ baseStyle?: string | undefined;
565
+ followingStyle?: string | undefined;
566
+ widowControl?: boolean | undefined;
567
+ keepNext?: boolean | undefined;
568
+ keepLinesTogether?: boolean | undefined;
569
+ outlineLevel?: number | undefined;
570
+ borders?: {
571
+ left?: {
572
+ space?: number | undefined;
573
+ size: number;
574
+ color: string;
575
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
576
+ } | undefined;
577
+ top?: {
578
+ space?: number | undefined;
579
+ size: number;
580
+ color: string;
581
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
582
+ } | undefined;
583
+ bottom?: {
584
+ space?: number | undefined;
585
+ size: number;
586
+ color: string;
587
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
588
+ } | undefined;
589
+ right?: {
590
+ space?: number | undefined;
591
+ size: number;
592
+ color: string;
593
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
594
+ } | undefined;
595
+ } | undefined;
596
+ indent?: {
597
+ left?: number | undefined;
598
+ hanging?: number | undefined;
599
+ } | undefined;
600
+ font?: "body" | "heading" | "mono" | "light" | undefined;
601
+ };
602
+ heading5: {
603
+ font: "heading";
604
+ size: number;
605
+ color: string;
606
+ bold: boolean;
607
+ spacing: {
608
+ before: number;
609
+ after: number;
610
+ };
611
+ } | {
612
+ size?: number | undefined;
613
+ color?: string | undefined;
614
+ bold?: boolean | undefined;
615
+ italic?: boolean | undefined;
616
+ underline?: boolean | undefined;
617
+ lineSpacing?: {
618
+ value?: number | undefined;
619
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
620
+ } | undefined;
621
+ spacing?: {
622
+ before?: number | undefined;
623
+ after?: number | undefined;
624
+ } | undefined;
625
+ characterSpacing?: {
626
+ type: "condensed" | "expanded";
627
+ value: number;
628
+ } | undefined;
629
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
630
+ priority?: number | undefined;
631
+ baseStyle?: string | undefined;
632
+ followingStyle?: string | undefined;
633
+ widowControl?: boolean | undefined;
634
+ keepNext?: boolean | undefined;
635
+ keepLinesTogether?: boolean | undefined;
636
+ outlineLevel?: number | undefined;
637
+ borders?: {
638
+ left?: {
639
+ space?: number | undefined;
640
+ size: number;
641
+ color: string;
642
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
643
+ } | undefined;
644
+ top?: {
645
+ space?: number | undefined;
646
+ size: number;
647
+ color: string;
648
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
649
+ } | undefined;
650
+ bottom?: {
651
+ space?: number | undefined;
652
+ size: number;
653
+ color: string;
654
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
655
+ } | undefined;
656
+ right?: {
657
+ space?: number | undefined;
658
+ size: number;
659
+ color: string;
660
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
661
+ } | undefined;
662
+ } | undefined;
663
+ indent?: {
664
+ left?: number | undefined;
665
+ hanging?: number | undefined;
666
+ } | undefined;
667
+ font?: "body" | "heading" | "mono" | "light" | undefined;
668
+ };
669
+ heading6: {
670
+ font: "heading";
671
+ size: number;
672
+ color: string;
673
+ bold: boolean;
674
+ spacing: {
675
+ before: number;
676
+ after: number;
677
+ };
678
+ } | {
679
+ size?: number | undefined;
680
+ color?: string | undefined;
681
+ bold?: boolean | undefined;
682
+ italic?: boolean | undefined;
683
+ underline?: boolean | undefined;
684
+ lineSpacing?: {
685
+ value?: number | undefined;
686
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
687
+ } | undefined;
688
+ spacing?: {
689
+ before?: number | undefined;
690
+ after?: number | undefined;
691
+ } | undefined;
692
+ characterSpacing?: {
693
+ type: "condensed" | "expanded";
694
+ value: number;
695
+ } | undefined;
696
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
697
+ priority?: number | undefined;
698
+ baseStyle?: string | undefined;
699
+ followingStyle?: string | undefined;
700
+ widowControl?: boolean | undefined;
701
+ keepNext?: boolean | undefined;
702
+ keepLinesTogether?: boolean | undefined;
703
+ outlineLevel?: number | undefined;
704
+ borders?: {
705
+ left?: {
706
+ space?: number | undefined;
707
+ size: number;
708
+ color: string;
709
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
710
+ } | undefined;
711
+ top?: {
712
+ space?: number | undefined;
713
+ size: number;
714
+ color: string;
715
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
716
+ } | undefined;
717
+ bottom?: {
718
+ space?: number | undefined;
719
+ size: number;
720
+ color: string;
721
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
722
+ } | undefined;
723
+ right?: {
724
+ space?: number | undefined;
725
+ size: number;
726
+ color: string;
727
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
728
+ } | undefined;
729
+ } | undefined;
730
+ indent?: {
731
+ left?: number | undefined;
732
+ hanging?: number | undefined;
733
+ } | undefined;
734
+ font?: "body" | "heading" | "mono" | "light" | undefined;
735
+ };
736
+ title?: {
737
+ size?: number | undefined;
738
+ color?: string | undefined;
739
+ bold?: boolean | undefined;
740
+ italic?: boolean | undefined;
741
+ underline?: boolean | undefined;
742
+ lineSpacing?: {
743
+ value?: number | undefined;
744
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
745
+ } | undefined;
746
+ spacing?: {
747
+ before?: number | undefined;
748
+ after?: number | undefined;
749
+ } | undefined;
750
+ characterSpacing?: {
751
+ type: "condensed" | "expanded";
752
+ value: number;
753
+ } | undefined;
754
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
755
+ priority?: number | undefined;
756
+ baseStyle?: string | undefined;
757
+ followingStyle?: string | undefined;
758
+ widowControl?: boolean | undefined;
759
+ keepNext?: boolean | undefined;
760
+ keepLinesTogether?: boolean | undefined;
761
+ outlineLevel?: number | undefined;
762
+ borders?: {
763
+ left?: {
764
+ space?: number | undefined;
765
+ size: number;
766
+ color: string;
767
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
768
+ } | undefined;
769
+ top?: {
770
+ space?: number | undefined;
771
+ size: number;
772
+ color: string;
773
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
774
+ } | undefined;
775
+ bottom?: {
776
+ space?: number | undefined;
777
+ size: number;
778
+ color: string;
779
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
780
+ } | undefined;
781
+ right?: {
782
+ space?: number | undefined;
783
+ size: number;
784
+ color: string;
785
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
786
+ } | undefined;
787
+ } | undefined;
788
+ indent?: {
789
+ left?: number | undefined;
790
+ hanging?: number | undefined;
791
+ } | undefined;
792
+ font?: "body" | "heading" | "mono" | "light" | undefined;
793
+ } | undefined;
794
+ subtitle?: {
795
+ size?: number | undefined;
796
+ color?: string | undefined;
797
+ bold?: boolean | undefined;
798
+ italic?: boolean | undefined;
799
+ underline?: boolean | undefined;
800
+ lineSpacing?: {
801
+ value?: number | undefined;
802
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
803
+ } | undefined;
804
+ spacing?: {
805
+ before?: number | undefined;
806
+ after?: number | undefined;
807
+ } | undefined;
808
+ characterSpacing?: {
809
+ type: "condensed" | "expanded";
810
+ value: number;
811
+ } | undefined;
812
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
813
+ priority?: number | undefined;
814
+ baseStyle?: string | undefined;
815
+ followingStyle?: string | undefined;
816
+ widowControl?: boolean | undefined;
817
+ keepNext?: boolean | undefined;
818
+ keepLinesTogether?: boolean | undefined;
819
+ outlineLevel?: number | undefined;
820
+ borders?: {
821
+ left?: {
822
+ space?: number | undefined;
823
+ size: number;
824
+ color: string;
825
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
826
+ } | undefined;
827
+ top?: {
828
+ space?: number | undefined;
829
+ size: number;
830
+ color: string;
831
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
832
+ } | undefined;
833
+ bottom?: {
834
+ space?: number | undefined;
835
+ size: number;
836
+ color: string;
837
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
838
+ } | undefined;
839
+ right?: {
840
+ space?: number | undefined;
841
+ size: number;
842
+ color: string;
843
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
844
+ } | undefined;
845
+ } | undefined;
846
+ indent?: {
847
+ left?: number | undefined;
848
+ hanging?: number | undefined;
849
+ } | undefined;
850
+ font?: "body" | "heading" | "mono" | "light" | undefined;
851
+ } | undefined;
852
+ TOC1?: {
853
+ size?: number | undefined;
854
+ color?: string | undefined;
855
+ bold?: boolean | undefined;
856
+ italic?: boolean | undefined;
857
+ underline?: boolean | undefined;
858
+ lineSpacing?: {
859
+ value?: number | undefined;
860
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
861
+ } | undefined;
862
+ spacing?: {
863
+ before?: number | undefined;
864
+ after?: number | undefined;
865
+ } | undefined;
866
+ characterSpacing?: {
867
+ type: "condensed" | "expanded";
868
+ value: number;
869
+ } | undefined;
870
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
871
+ priority?: number | undefined;
872
+ followingStyle?: string | undefined;
873
+ widowControl?: boolean | undefined;
874
+ keepNext?: boolean | undefined;
875
+ keepLinesTogether?: boolean | undefined;
876
+ outlineLevel?: number | undefined;
877
+ borders?: {
878
+ left?: {
879
+ space?: number | undefined;
880
+ size: number;
881
+ color: string;
882
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
883
+ } | undefined;
884
+ top?: {
885
+ space?: number | undefined;
886
+ size: number;
887
+ color: string;
888
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
889
+ } | undefined;
890
+ bottom?: {
891
+ space?: number | undefined;
892
+ size: number;
893
+ color: string;
894
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
895
+ } | undefined;
896
+ right?: {
897
+ space?: number | undefined;
898
+ size: number;
899
+ color: string;
900
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
901
+ } | undefined;
902
+ } | undefined;
903
+ indent?: {
904
+ left?: number | undefined;
905
+ hanging?: number | undefined;
906
+ } | undefined;
907
+ font?: "body" | "heading" | "mono" | "light" | undefined;
908
+ tabStops?: {
909
+ leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined;
910
+ type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start";
911
+ position: number | "max";
912
+ }[] | undefined;
913
+ } | undefined;
914
+ TOC2?: {
915
+ size?: number | undefined;
916
+ color?: string | undefined;
917
+ bold?: boolean | undefined;
918
+ italic?: boolean | undefined;
919
+ underline?: boolean | undefined;
920
+ lineSpacing?: {
921
+ value?: number | undefined;
922
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
923
+ } | undefined;
924
+ spacing?: {
925
+ before?: number | undefined;
926
+ after?: number | undefined;
927
+ } | undefined;
928
+ characterSpacing?: {
929
+ type: "condensed" | "expanded";
930
+ value: number;
931
+ } | undefined;
932
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
933
+ priority?: number | undefined;
934
+ followingStyle?: string | undefined;
935
+ widowControl?: boolean | undefined;
936
+ keepNext?: boolean | undefined;
937
+ keepLinesTogether?: boolean | undefined;
938
+ outlineLevel?: number | undefined;
939
+ borders?: {
940
+ left?: {
941
+ space?: number | undefined;
942
+ size: number;
943
+ color: string;
944
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
945
+ } | undefined;
946
+ top?: {
947
+ space?: number | undefined;
948
+ size: number;
949
+ color: string;
950
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
951
+ } | undefined;
952
+ bottom?: {
953
+ space?: number | undefined;
954
+ size: number;
955
+ color: string;
956
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
957
+ } | undefined;
958
+ right?: {
959
+ space?: number | undefined;
960
+ size: number;
961
+ color: string;
962
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
963
+ } | undefined;
964
+ } | undefined;
965
+ indent?: {
966
+ left?: number | undefined;
967
+ hanging?: number | undefined;
968
+ } | undefined;
969
+ font?: "body" | "heading" | "mono" | "light" | undefined;
970
+ tabStops?: {
971
+ leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined;
972
+ type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start";
973
+ position: number | "max";
974
+ }[] | undefined;
975
+ } | undefined;
976
+ TOC3?: {
977
+ size?: number | undefined;
978
+ color?: string | undefined;
979
+ bold?: boolean | undefined;
980
+ italic?: boolean | undefined;
981
+ underline?: boolean | undefined;
982
+ lineSpacing?: {
983
+ value?: number | undefined;
984
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
985
+ } | undefined;
986
+ spacing?: {
987
+ before?: number | undefined;
988
+ after?: number | undefined;
989
+ } | undefined;
990
+ characterSpacing?: {
991
+ type: "condensed" | "expanded";
992
+ value: number;
993
+ } | undefined;
994
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
995
+ priority?: number | undefined;
996
+ followingStyle?: string | undefined;
997
+ widowControl?: boolean | undefined;
998
+ keepNext?: boolean | undefined;
999
+ keepLinesTogether?: boolean | undefined;
1000
+ outlineLevel?: number | undefined;
1001
+ borders?: {
1002
+ left?: {
1003
+ space?: number | undefined;
1004
+ size: number;
1005
+ color: string;
1006
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1007
+ } | undefined;
1008
+ top?: {
1009
+ space?: number | undefined;
1010
+ size: number;
1011
+ color: string;
1012
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1013
+ } | undefined;
1014
+ bottom?: {
1015
+ space?: number | undefined;
1016
+ size: number;
1017
+ color: string;
1018
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1019
+ } | undefined;
1020
+ right?: {
1021
+ space?: number | undefined;
1022
+ size: number;
1023
+ color: string;
1024
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1025
+ } | undefined;
1026
+ } | undefined;
1027
+ indent?: {
1028
+ left?: number | undefined;
1029
+ hanging?: number | undefined;
1030
+ } | undefined;
1031
+ font?: "body" | "heading" | "mono" | "light" | undefined;
1032
+ tabStops?: {
1033
+ leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined;
1034
+ type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start";
1035
+ position: number | "max";
1036
+ }[] | undefined;
1037
+ } | undefined;
1038
+ TOC4?: {
1039
+ size?: number | undefined;
1040
+ color?: string | undefined;
1041
+ bold?: boolean | undefined;
1042
+ italic?: boolean | undefined;
1043
+ underline?: boolean | undefined;
1044
+ lineSpacing?: {
1045
+ value?: number | undefined;
1046
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
1047
+ } | undefined;
1048
+ spacing?: {
1049
+ before?: number | undefined;
1050
+ after?: number | undefined;
1051
+ } | undefined;
1052
+ characterSpacing?: {
1053
+ type: "condensed" | "expanded";
1054
+ value: number;
1055
+ } | undefined;
1056
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
1057
+ priority?: number | undefined;
1058
+ followingStyle?: string | undefined;
1059
+ widowControl?: boolean | undefined;
1060
+ keepNext?: boolean | undefined;
1061
+ keepLinesTogether?: boolean | undefined;
1062
+ outlineLevel?: number | undefined;
1063
+ borders?: {
1064
+ left?: {
1065
+ space?: number | undefined;
1066
+ size: number;
1067
+ color: string;
1068
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1069
+ } | undefined;
1070
+ top?: {
1071
+ space?: number | undefined;
1072
+ size: number;
1073
+ color: string;
1074
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1075
+ } | undefined;
1076
+ bottom?: {
1077
+ space?: number | undefined;
1078
+ size: number;
1079
+ color: string;
1080
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1081
+ } | undefined;
1082
+ right?: {
1083
+ space?: number | undefined;
1084
+ size: number;
1085
+ color: string;
1086
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1087
+ } | undefined;
1088
+ } | undefined;
1089
+ indent?: {
1090
+ left?: number | undefined;
1091
+ hanging?: number | undefined;
1092
+ } | undefined;
1093
+ font?: "body" | "heading" | "mono" | "light" | undefined;
1094
+ tabStops?: {
1095
+ leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined;
1096
+ type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start";
1097
+ position: number | "max";
1098
+ }[] | undefined;
1099
+ } | undefined;
1100
+ TOC5?: {
1101
+ size?: number | undefined;
1102
+ color?: string | undefined;
1103
+ bold?: boolean | undefined;
1104
+ italic?: boolean | undefined;
1105
+ underline?: boolean | undefined;
1106
+ lineSpacing?: {
1107
+ value?: number | undefined;
1108
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
1109
+ } | undefined;
1110
+ spacing?: {
1111
+ before?: number | undefined;
1112
+ after?: number | undefined;
1113
+ } | undefined;
1114
+ characterSpacing?: {
1115
+ type: "condensed" | "expanded";
1116
+ value: number;
1117
+ } | undefined;
1118
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
1119
+ priority?: number | undefined;
1120
+ followingStyle?: string | undefined;
1121
+ widowControl?: boolean | undefined;
1122
+ keepNext?: boolean | undefined;
1123
+ keepLinesTogether?: boolean | undefined;
1124
+ outlineLevel?: number | undefined;
1125
+ borders?: {
1126
+ left?: {
1127
+ space?: number | undefined;
1128
+ size: number;
1129
+ color: string;
1130
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1131
+ } | undefined;
1132
+ top?: {
1133
+ space?: number | undefined;
1134
+ size: number;
1135
+ color: string;
1136
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1137
+ } | undefined;
1138
+ bottom?: {
1139
+ space?: number | undefined;
1140
+ size: number;
1141
+ color: string;
1142
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1143
+ } | undefined;
1144
+ right?: {
1145
+ space?: number | undefined;
1146
+ size: number;
1147
+ color: string;
1148
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1149
+ } | undefined;
1150
+ } | undefined;
1151
+ indent?: {
1152
+ left?: number | undefined;
1153
+ hanging?: number | undefined;
1154
+ } | undefined;
1155
+ font?: "body" | "heading" | "mono" | "light" | undefined;
1156
+ tabStops?: {
1157
+ leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined;
1158
+ type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start";
1159
+ position: number | "max";
1160
+ }[] | undefined;
1161
+ } | undefined;
1162
+ TOC6?: {
1163
+ size?: number | undefined;
1164
+ color?: string | undefined;
1165
+ bold?: boolean | undefined;
1166
+ italic?: boolean | undefined;
1167
+ underline?: boolean | undefined;
1168
+ lineSpacing?: {
1169
+ value?: number | undefined;
1170
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
1171
+ } | undefined;
1172
+ spacing?: {
1173
+ before?: number | undefined;
1174
+ after?: number | undefined;
1175
+ } | undefined;
1176
+ characterSpacing?: {
1177
+ type: "condensed" | "expanded";
1178
+ value: number;
1179
+ } | undefined;
1180
+ alignment?: "left" | "right" | "center" | "justify" | undefined;
1181
+ priority?: number | undefined;
1182
+ followingStyle?: string | undefined;
1183
+ widowControl?: boolean | undefined;
1184
+ keepNext?: boolean | undefined;
1185
+ keepLinesTogether?: boolean | undefined;
1186
+ outlineLevel?: number | undefined;
1187
+ borders?: {
1188
+ left?: {
1189
+ space?: number | undefined;
1190
+ size: number;
1191
+ color: string;
1192
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1193
+ } | undefined;
1194
+ top?: {
1195
+ space?: number | undefined;
1196
+ size: number;
1197
+ color: string;
1198
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1199
+ } | undefined;
1200
+ bottom?: {
1201
+ space?: number | undefined;
1202
+ size: number;
1203
+ color: string;
1204
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1205
+ } | undefined;
1206
+ right?: {
1207
+ space?: number | undefined;
1208
+ size: number;
1209
+ color: string;
1210
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1211
+ } | undefined;
1212
+ } | undefined;
1213
+ indent?: {
1214
+ left?: number | undefined;
1215
+ hanging?: number | undefined;
1216
+ } | undefined;
1217
+ font?: "body" | "heading" | "mono" | "light" | undefined;
1218
+ tabStops?: {
1219
+ leader?: "none" | "dot" | "hyphen" | "middleDot" | "underscore" | undefined;
1220
+ type: "left" | "right" | "center" | "bar" | "clear" | "decimal" | "end" | "num" | "start";
1221
+ position: number | "max";
1222
+ }[] | undefined;
1223
+ } | undefined;
1224
+ };
1225
+ /**
1226
+ * Safe getter for normal style with defaults
1227
+ */
1228
+ export declare function getNormalStyle(theme: Partial<ThemeConfigJson>): {
1229
+ font: "body";
1230
+ size: number;
1231
+ color: string;
1232
+ alignment: "left";
1233
+ lineSpacing: {
1234
+ type: "single";
1235
+ value: number;
1236
+ };
1237
+ spacing: {
1238
+ after: number;
1239
+ };
1240
+ } | {
1241
+ size: number;
1242
+ color: string;
1243
+ bold?: boolean | undefined;
1244
+ italic?: boolean | undefined;
1245
+ underline?: boolean | undefined;
1246
+ lineSpacing: {
1247
+ value?: number | undefined;
1248
+ type: "single" | "atLeast" | "exactly" | "double" | "multiple";
1249
+ };
1250
+ spacing: {
1251
+ after: number;
1252
+ } | {
1253
+ before?: number | undefined;
1254
+ after?: number | undefined;
1255
+ };
1256
+ characterSpacing?: {
1257
+ type: "condensed" | "expanded";
1258
+ value: number;
1259
+ } | undefined;
1260
+ alignment: "left" | "right" | "center" | "justify";
1261
+ priority?: number | undefined;
1262
+ baseStyle?: string | undefined;
1263
+ followingStyle?: string | undefined;
1264
+ widowControl?: boolean | undefined;
1265
+ keepNext?: boolean | undefined;
1266
+ keepLinesTogether?: boolean | undefined;
1267
+ outlineLevel?: number | undefined;
1268
+ borders?: {
1269
+ left?: {
1270
+ space?: number | undefined;
1271
+ size: number;
1272
+ color: string;
1273
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1274
+ } | undefined;
1275
+ top?: {
1276
+ space?: number | undefined;
1277
+ size: number;
1278
+ color: string;
1279
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1280
+ } | undefined;
1281
+ bottom?: {
1282
+ space?: number | undefined;
1283
+ size: number;
1284
+ color: string;
1285
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1286
+ } | undefined;
1287
+ right?: {
1288
+ space?: number | undefined;
1289
+ size: number;
1290
+ color: string;
1291
+ style: "single" | "double" | "dashDotStroked" | "dashed" | "dashSmallGap" | "dotDash" | "dotDotDash" | "dotted" | "doubleWave" | "inset" | "nil" | "none" | "outset" | "thick" | "thickThinLargeGap" | "thickThinMediumGap" | "thickThinSmallGap" | "thinThickLargeGap" | "thinThickMediumGap" | "thinThickSmallGap" | "thinThickThinLargeGap" | "thinThickThinMediumGap" | "thinThickThinSmallGap" | "threeDEmboss" | "threeDEngrave" | "triple" | "wave";
1292
+ } | undefined;
1293
+ } | undefined;
1294
+ indent?: {
1295
+ left?: number | undefined;
1296
+ hanging?: number | undefined;
1297
+ } | undefined;
1298
+ font: "body" | "heading" | "mono" | "light";
1299
+ };
1300
+ //# sourceMappingURL=defaults.d.ts.map