@supernova-studio/client 0.0.15 → 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.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _supernova_studio_model from '@supernova-studio/model';
2
- import { PageBlockDefinition, PageBlockDefinitionProperty, PageBlockItemV2, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
2
+ import { PageBlockDefinition, PageBlockDefinitionProperty, PageBlockItemV2, PageBlockItemRichTextPropertyValue, PageBlockItemMultiRichTextPropertyValue, PageBlockItemUntypedPropertyValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
3
  import { z } from 'zod';
4
4
  import { Schema } from 'prosemirror-model';
5
5
  import * as Y from 'yjs';
@@ -17,61 +17,71 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
17
17
  properties: z.ZodArray<z.ZodObject<{
18
18
  id: z.ZodString;
19
19
  name: z.ZodString;
20
- type: z.ZodEnum<["RichText", "Text", "Boolean", "Number", "SingleSelect", "MultiSelect", "Image", "Token", "TokenType", "TokenProperty", "Component", "ComponentProperty", "Asset", "AssetProperty", "EmbedURL", "URL", "Markdown", "Code", "CodeSandbox", "Table", "Divider", "Storybook"]>;
20
+ type: z.ZodEnum<["RichText", "MultiRichText", "Text", "Boolean", "Number", "SingleSelect", "MultiSelect", "Image", "Token", "TokenType", "TokenProperty", "Component", "ComponentProperty", "Asset", "AssetProperty", "EmbedURL", "URL", "Markdown", "Code", "CodeSandbox", "Table", "Divider", "Storybook"]>;
21
21
  description: z.ZodOptional<z.ZodString>;
22
22
  options: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
23
- richTextStyle: z.ZodOptional<z.ZodEnum<["Title1", "Title2", "Title3", "Title4", "Title5", "Quote", "Callout", "OL", "UL", "Default"]>>;
23
+ richTextStyle: z.ZodOptional<z.ZodEnum<["Title1", "Title2", "Title3", "Title4", "Title5", "Quote", "Callout", "Default"]>>;
24
+ multiRichTextStyle: z.ZodOptional<z.ZodEnum<["OL", "UL", "Default"]>>;
24
25
  textStyle: z.ZodOptional<z.ZodEnum<["Title1", "Title2", "Title3", "Title4", "Title5", "Default", "DefaultBold", "DefaultSemibold", "Small", "SmallBold", "SmallSemibold"]>>;
25
26
  placeholder: z.ZodOptional<z.ZodString>;
26
27
  }, "strip", z.ZodTypeAny, {
27
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
28
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
29
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
28
30
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
29
31
  placeholder?: string | undefined;
30
32
  }, {
31
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
33
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
34
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
32
35
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
33
36
  placeholder?: string | undefined;
34
37
  }>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
35
38
  variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
36
- richTextStyle: z.ZodOptional<z.ZodEnum<["Title1", "Title2", "Title3", "Title4", "Title5", "Quote", "Callout", "OL", "UL", "Default"]>>;
39
+ richTextStyle: z.ZodOptional<z.ZodEnum<["Title1", "Title2", "Title3", "Title4", "Title5", "Quote", "Callout", "Default"]>>;
40
+ multiRichTextStyle: z.ZodOptional<z.ZodEnum<["OL", "UL", "Default"]>>;
37
41
  textStyle: z.ZodOptional<z.ZodEnum<["Title1", "Title2", "Title3", "Title4", "Title5", "Default", "DefaultBold", "DefaultSemibold", "Small", "SmallBold", "SmallSemibold"]>>;
38
42
  placeholder: z.ZodOptional<z.ZodString>;
39
43
  }, "strip", z.ZodTypeAny, {
40
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
44
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
45
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
41
46
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
42
47
  placeholder?: string | undefined;
43
48
  }, {
44
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
49
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
50
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
45
51
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
46
52
  placeholder?: string | undefined;
47
53
  }>, z.ZodRecord<z.ZodString, z.ZodAny>>>>;
48
54
  }, "strip", z.ZodTypeAny, {
49
55
  id: string;
50
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
56
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
51
57
  name: string;
52
58
  description?: string | undefined;
53
59
  options?: ({
54
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
60
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
61
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
55
62
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
56
63
  placeholder?: string | undefined;
57
64
  } & Record<string, any>) | undefined;
58
65
  variantOptions?: Record<string, {
59
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
66
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
67
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
60
68
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
61
69
  placeholder?: string | undefined;
62
70
  } & Record<string, any>> | undefined;
63
71
  }, {
64
72
  id: string;
65
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
73
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
66
74
  name: string;
67
75
  description?: string | undefined;
68
76
  options?: ({
69
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
77
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
78
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
70
79
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
71
80
  placeholder?: string | undefined;
72
81
  } & Record<string, any>) | undefined;
73
82
  variantOptions?: Record<string, {
74
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
83
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
84
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
75
85
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
76
86
  placeholder?: string | undefined;
77
87
  } & Record<string, any>> | undefined;
@@ -158,16 +168,18 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
158
168
  }, "strip", z.ZodTypeAny, {
159
169
  properties: {
160
170
  id: string;
161
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
171
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
162
172
  name: string;
163
173
  description?: string | undefined;
164
174
  options?: ({
165
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
175
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
176
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
166
177
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
167
178
  placeholder?: string | undefined;
168
179
  } & Record<string, any>) | undefined;
169
180
  variantOptions?: Record<string, {
170
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
181
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
182
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
171
183
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
172
184
  placeholder?: string | undefined;
173
185
  } & Record<string, any>> | undefined;
@@ -203,16 +215,18 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
203
215
  }, {
204
216
  properties: {
205
217
  id: string;
206
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
218
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
207
219
  name: string;
208
220
  description?: string | undefined;
209
221
  options?: ({
210
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
222
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
223
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
211
224
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
212
225
  placeholder?: string | undefined;
213
226
  } & Record<string, any>) | undefined;
214
227
  variantOptions?: Record<string, {
215
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
228
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
229
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
216
230
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
217
231
  placeholder?: string | undefined;
218
232
  } & Record<string, any>> | undefined;
@@ -343,16 +357,18 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
343
357
  item: {
344
358
  properties: {
345
359
  id: string;
346
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
360
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
347
361
  name: string;
348
362
  description?: string | undefined;
349
363
  options?: ({
350
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
364
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
365
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
351
366
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
352
367
  placeholder?: string | undefined;
353
368
  } & Record<string, any>) | undefined;
354
369
  variantOptions?: Record<string, {
355
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
370
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
371
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
356
372
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
357
373
  placeholder?: string | undefined;
358
374
  } & Record<string, any>> | undefined;
@@ -419,16 +435,18 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
419
435
  item: {
420
436
  properties: {
421
437
  id: string;
422
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
438
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
423
439
  name: string;
424
440
  description?: string | undefined;
425
441
  options?: ({
426
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
442
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
443
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
427
444
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
428
445
  placeholder?: string | undefined;
429
446
  } & Record<string, any>) | undefined;
430
447
  variantOptions?: Record<string, {
431
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
448
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
449
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
432
450
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
433
451
  placeholder?: string | undefined;
434
452
  } & Record<string, any>> | undefined;
@@ -497,16 +515,18 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
497
515
  item: {
498
516
  properties: {
499
517
  id: string;
500
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
518
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
501
519
  name: string;
502
520
  description?: string | undefined;
503
521
  options?: ({
504
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
522
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
523
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
505
524
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
506
525
  placeholder?: string | undefined;
507
526
  } & Record<string, any>) | undefined;
508
527
  variantOptions?: Record<string, {
509
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
528
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
529
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
510
530
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
511
531
  placeholder?: string | undefined;
512
532
  } & Record<string, any>> | undefined;
@@ -575,16 +595,18 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
575
595
  item: {
576
596
  properties: {
577
597
  id: string;
578
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
598
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
579
599
  name: string;
580
600
  description?: string | undefined;
581
601
  options?: ({
582
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
602
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
603
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
583
604
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
584
605
  placeholder?: string | undefined;
585
606
  } & Record<string, any>) | undefined;
586
607
  variantOptions?: Record<string, {
587
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
608
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
609
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
588
610
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
589
611
  placeholder?: string | undefined;
590
612
  } & Record<string, any>> | undefined;
@@ -764,22 +786,18 @@ declare const PageBlockEditorModel: z.ZodObject<{
764
786
  url?: string | undefined;
765
787
  openInNewTab?: boolean | undefined;
766
788
  }>>;
767
- props: z.ZodRecord<z.ZodString, z.ZodObject<{
789
+ props: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
768
790
  value: z.ZodAny;
769
- calloutType: z.ZodOptional<z.ZodEnum<["Info", "Success", "Warning", "Error"]>>;
770
791
  }, "strip", z.ZodTypeAny, {
771
792
  value?: any;
772
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
773
793
  }, {
774
794
  value?: any;
775
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
776
- }>>;
795
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
777
796
  }, "strip", z.ZodTypeAny, {
778
797
  id: string;
779
798
  props: Record<string, {
780
799
  value?: any;
781
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
782
- }>;
800
+ } & Record<string, any>>;
783
801
  linksTo?: {
784
802
  type: "Page" | "PageHeading" | "Group" | "Url";
785
803
  pageId?: string | undefined;
@@ -792,8 +810,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
792
810
  id: string;
793
811
  props: Record<string, {
794
812
  value?: any;
795
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
796
- }>;
813
+ } & Record<string, any>>;
797
814
  linksTo?: {
798
815
  type: "Page" | "PageHeading" | "Group" | "Url";
799
816
  pageId?: string | undefined;
@@ -810,8 +827,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
810
827
  id: string;
811
828
  props: Record<string, {
812
829
  value?: any;
813
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
814
- }>;
830
+ } & Record<string, any>>;
815
831
  linksTo?: {
816
832
  type: "Page" | "PageHeading" | "Group" | "Url";
817
833
  pageId?: string | undefined;
@@ -845,8 +861,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
845
861
  id: string;
846
862
  props: Record<string, {
847
863
  value?: any;
848
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
849
- }>;
864
+ } & Record<string, any>>;
850
865
  linksTo?: {
851
866
  type: "Page" | "PageHeading" | "Group" | "Url";
852
867
  pageId?: string | undefined;
@@ -883,8 +898,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
883
898
  id: string;
884
899
  props: Record<string, {
885
900
  value?: any;
886
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
887
- }>;
901
+ } & Record<string, any>>;
888
902
  linksTo?: {
889
903
  type: "Page" | "PageHeading" | "Group" | "Url";
890
904
  pageId?: string | undefined;
@@ -921,8 +935,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
921
935
  id: string;
922
936
  props: Record<string, {
923
937
  value?: any;
924
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
925
- }>;
938
+ } & Record<string, any>>;
926
939
  linksTo?: {
927
940
  type: "Page" | "PageHeading" | "Group" | "Url";
928
941
  pageId?: string | undefined;
@@ -1082,22 +1095,18 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1082
1095
  url?: string | undefined;
1083
1096
  openInNewTab?: boolean | undefined;
1084
1097
  }>>;
1085
- props: z.ZodRecord<z.ZodString, z.ZodObject<{
1098
+ props: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
1086
1099
  value: z.ZodAny;
1087
- calloutType: z.ZodOptional<z.ZodEnum<["Info", "Success", "Warning", "Error"]>>;
1088
1100
  }, "strip", z.ZodTypeAny, {
1089
1101
  value?: any;
1090
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1091
1102
  }, {
1092
1103
  value?: any;
1093
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1094
- }>>;
1104
+ }>, z.ZodRecord<z.ZodString, z.ZodAny>>>;
1095
1105
  }, "strip", z.ZodTypeAny, {
1096
1106
  id: string;
1097
1107
  props: Record<string, {
1098
1108
  value?: any;
1099
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1100
- }>;
1109
+ } & Record<string, any>>;
1101
1110
  linksTo?: {
1102
1111
  type: "Page" | "PageHeading" | "Group" | "Url";
1103
1112
  pageId?: string | undefined;
@@ -1110,8 +1119,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1110
1119
  id: string;
1111
1120
  props: Record<string, {
1112
1121
  value?: any;
1113
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1114
- }>;
1122
+ } & Record<string, any>>;
1115
1123
  linksTo?: {
1116
1124
  type: "Page" | "PageHeading" | "Group" | "Url";
1117
1125
  pageId?: string | undefined;
@@ -1128,8 +1136,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1128
1136
  id: string;
1129
1137
  props: Record<string, {
1130
1138
  value?: any;
1131
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1132
- }>;
1139
+ } & Record<string, any>>;
1133
1140
  linksTo?: {
1134
1141
  type: "Page" | "PageHeading" | "Group" | "Url";
1135
1142
  pageId?: string | undefined;
@@ -1163,8 +1170,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1163
1170
  id: string;
1164
1171
  props: Record<string, {
1165
1172
  value?: any;
1166
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1167
- }>;
1173
+ } & Record<string, any>>;
1168
1174
  linksTo?: {
1169
1175
  type: "Page" | "PageHeading" | "Group" | "Url";
1170
1176
  pageId?: string | undefined;
@@ -1201,8 +1207,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1201
1207
  id: string;
1202
1208
  props: Record<string, {
1203
1209
  value?: any;
1204
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1205
- }>;
1210
+ } & Record<string, any>>;
1206
1211
  linksTo?: {
1207
1212
  type: "Page" | "PageHeading" | "Group" | "Url";
1208
1213
  pageId?: string | undefined;
@@ -1239,8 +1244,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1239
1244
  id: string;
1240
1245
  props: Record<string, {
1241
1246
  value?: any;
1242
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1243
- }>;
1247
+ } & Record<string, any>>;
1244
1248
  linksTo?: {
1245
1249
  type: "Page" | "PageHeading" | "Group" | "Url";
1246
1250
  pageId?: string | undefined;
@@ -1279,8 +1283,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1279
1283
  id: string;
1280
1284
  props: Record<string, {
1281
1285
  value?: any;
1282
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1283
- }>;
1286
+ } & Record<string, any>>;
1284
1287
  linksTo?: {
1285
1288
  type: "Page" | "PageHeading" | "Group" | "Url";
1286
1289
  pageId?: string | undefined;
@@ -1319,8 +1322,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1319
1322
  id: string;
1320
1323
  props: Record<string, {
1321
1324
  value?: any;
1322
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1323
- }>;
1325
+ } & Record<string, any>>;
1324
1326
  linksTo?: {
1325
1327
  type: "Page" | "PageHeading" | "Group" | "Url";
1326
1328
  pageId?: string | undefined;
@@ -1378,7 +1380,7 @@ type ProsemirrorBlockItemPropertyValue = {
1378
1380
  type Input = {
1379
1381
  block: PageBlockEditorModel;
1380
1382
  definition: PageBlockDefinition;
1381
- richTextProperty: PageBlockDefinitionProperty;
1383
+ property: PageBlockDefinitionProperty;
1382
1384
  };
1383
1385
  declare function pageToYXmlFragment(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[], fragment: Y.XmlFragment): Y.XmlFragment;
1384
1386
  declare function pageToProsemirrorDoc(page: DocumentationPageEditorModel, definitions: PageBlockDefinition[]): ProsemirrorNode;
@@ -1401,16 +1403,18 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
1401
1403
  item: {
1402
1404
  properties: {
1403
1405
  id: string;
1404
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1406
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1405
1407
  name: string;
1406
1408
  description?: string | undefined;
1407
1409
  options?: ({
1408
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1410
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1411
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1409
1412
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1410
1413
  placeholder?: string | undefined;
1411
1414
  } & Record<string, any>) | undefined;
1412
1415
  variantOptions?: Record<string, {
1413
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1416
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1417
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1414
1418
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1415
1419
  placeholder?: string | undefined;
1416
1420
  } & Record<string, any>> | undefined;
@@ -1461,6 +1465,7 @@ declare function blockDefinitionForBlock(block: PageBlockEditorModel, definition
1461
1465
  };
1462
1466
  declare function blockToProsemirrorNode(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode | null;
1463
1467
  declare function serializeAsRichTextBlock(input: Input): ProsemirrorNode;
1468
+ declare function serializeAsMultiRichTextBlock(input: Input): ProsemirrorNode;
1464
1469
  declare function serializeAsCustomBlock(block: PageBlockEditorModel, definition: PageBlockDefinition): ProsemirrorNode;
1465
1470
 
1466
1471
  declare function getMockPageBlockDefinitions(): PageBlockDefinition[];
@@ -1474,8 +1479,7 @@ declare const BlockParsingUtils: {
1474
1479
  id: string;
1475
1480
  props: Record<string, {
1476
1481
  value?: any;
1477
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1478
- }>;
1482
+ } & Record<string, any>>;
1479
1483
  linksTo?: {
1480
1484
  type: "Page" | "PageHeading" | "Group" | "Url";
1481
1485
  pageId?: string | undefined;
@@ -1485,95 +1489,104 @@ declare const BlockParsingUtils: {
1485
1489
  openInNewTab?: boolean | undefined;
1486
1490
  } | undefined;
1487
1491
  };
1488
- richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): {
1489
- spans: {
1490
- text: string;
1491
- attributes: {
1492
- type: "Link" | "Code" | "Bold" | "Italic" | "Strikethrough";
1493
- link?: string | undefined;
1494
- documentationItemId?: string | undefined;
1495
- openInNewWindow?: boolean | undefined;
1496
- }[];
1497
- }[];
1498
- };
1492
+ richTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemRichTextPropertyValue;
1493
+ multiRichTextPropertyValue(item: PageBlockItemV2, propertyKey: string): PageBlockItemMultiRichTextPropertyValue;
1499
1494
  objectPropertyValue(item: PageBlockItemV2, propertyKey: string): {
1500
1495
  value?: any;
1501
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1502
- };
1503
- propertyValue(item: PageBlockItemV2, propertyKey: string): {
1504
- value?: any;
1505
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1506
- };
1507
- safePropertyValue(item: PageBlockItemV2, propertyKey: string): {
1508
- value?: any;
1509
- calloutType?: "Info" | "Success" | "Warning" | "Error" | undefined;
1510
- };
1496
+ } & Record<string, any>;
1497
+ propertyValueOrThrow(item: PageBlockItemV2, propertyKey: string): PageBlockItemUntypedPropertyValue;
1511
1498
  };
1512
1499
  declare const BlockDefinitionUtils: {
1513
1500
  firstRichTextProperty(definition: PageBlockDefinition): {
1514
1501
  id: string;
1515
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1502
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1503
+ name: string;
1504
+ description?: string | undefined;
1505
+ options?: ({
1506
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1507
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1508
+ textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1509
+ placeholder?: string | undefined;
1510
+ } & Record<string, any>) | undefined;
1511
+ variantOptions?: Record<string, {
1512
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1513
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1514
+ textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1515
+ placeholder?: string | undefined;
1516
+ } & Record<string, any>> | undefined;
1517
+ } | undefined;
1518
+ firstMultiRichTextProperty(definition: PageBlockDefinition): {
1519
+ id: string;
1520
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1516
1521
  name: string;
1517
1522
  description?: string | undefined;
1518
1523
  options?: ({
1519
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1524
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1525
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1520
1526
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1521
1527
  placeholder?: string | undefined;
1522
1528
  } & Record<string, any>) | undefined;
1523
1529
  variantOptions?: Record<string, {
1524
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1530
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1531
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1525
1532
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1526
1533
  placeholder?: string | undefined;
1527
1534
  } & Record<string, any>> | undefined;
1528
1535
  } | undefined;
1529
1536
  firstTableProperty(definition: PageBlockDefinition): {
1530
1537
  id: string;
1531
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1538
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1532
1539
  name: string;
1533
1540
  description?: string | undefined;
1534
1541
  options?: ({
1535
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1542
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1543
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1536
1544
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1537
1545
  placeholder?: string | undefined;
1538
1546
  } & Record<string, any>) | undefined;
1539
1547
  variantOptions?: Record<string, {
1540
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1548
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1549
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1541
1550
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1542
1551
  placeholder?: string | undefined;
1543
1552
  } & Record<string, any>> | undefined;
1544
1553
  } | undefined;
1545
1554
  richTextProperty(definition: PageBlockDefinition, propertyKey: string): {
1546
1555
  id: string;
1547
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1556
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1548
1557
  name: string;
1549
1558
  description?: string | undefined;
1550
1559
  options?: ({
1551
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1560
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1561
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1552
1562
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1553
1563
  placeholder?: string | undefined;
1554
1564
  } & Record<string, any>) | undefined;
1555
1565
  variantOptions?: Record<string, {
1556
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1566
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1567
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1557
1568
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1558
1569
  placeholder?: string | undefined;
1559
1570
  } & Record<string, any>> | undefined;
1560
1571
  };
1561
1572
  property(definition: PageBlockDefinition, propertyKey: string, expectedPropertyType?: PageBlockDefinitionPropertyType): {
1562
1573
  id: string;
1563
- type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1574
+ type: "Image" | "Component" | "Token" | "Text" | "Number" | "Boolean" | "URL" | "Code" | "Divider" | "Table" | "Markdown" | "RichText" | "MultiRichText" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "CodeSandbox" | "Storybook";
1564
1575
  name: string;
1565
1576
  description?: string | undefined;
1566
1577
  options?: ({
1567
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1578
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1579
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1568
1580
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1569
1581
  placeholder?: string | undefined;
1570
1582
  } & Record<string, any>) | undefined;
1571
1583
  variantOptions?: Record<string, {
1572
- richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "OL" | "UL" | "Default" | undefined;
1584
+ richTextStyle?: "Quote" | "Callout" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | undefined;
1585
+ multiRichTextStyle?: "Default" | "OL" | "UL" | undefined;
1573
1586
  textStyle?: "Small" | "Title1" | "Title2" | "Title3" | "Title4" | "Title5" | "Default" | "DefaultBold" | "DefaultSemibold" | "SmallBold" | "SmallSemibold" | undefined;
1574
1587
  placeholder?: string | undefined;
1575
1588
  } & Record<string, any>> | undefined;
1576
1589
  };
1577
1590
  };
1578
1591
 
1579
- export { BlockDefinitionUtils, BlockParsingUtils, DocumentationPageEditorModel, GetBlockDefinitionsResponse, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorBlockItemPropertyValue, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, getMockPageBlockDefinitions, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, serializeAsRichTextBlock, yXmlFragmetToPage };
1592
+ export { BlockDefinitionUtils, BlockParsingUtils, DocumentationPageEditorModel, GetBlockDefinitionsResponse, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorBlockItemPropertyValue, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, getMockPageBlockDefinitions, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, serializeAsMultiRichTextBlock, serializeAsRichTextBlock, yXmlFragmetToPage };