@atlaskit/adf-schema 25.8.0 → 25.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1676 @@
1
+ ## API Report File for "@atlaskit/adf-schema"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { CellAttributes } from '@atlaskit/editor-tables/types';
8
+ import LinkifyIt from 'linkify-it';
9
+ import { Mark } from 'prosemirror-model';
10
+ import { MarkSpec } from 'prosemirror-model';
11
+ import { Node as Node_2 } from 'prosemirror-model';
12
+ import { NodeSpec } from 'prosemirror-model';
13
+ import { Schema } from 'prosemirror-model';
14
+
15
+ // @public (undocumented)
16
+ export function acNameToEmoji(acName: NameToEmoji): {
17
+ id: string;
18
+ shortName: string;
19
+ text: string;
20
+ };
21
+
22
+ // @public
23
+ const acNameToEmojiMap: {
24
+ smile: string[];
25
+ sad: string[];
26
+ cheeky: string[];
27
+ laugh: string[];
28
+ wink: string[];
29
+ information: string[];
30
+ tick: string[];
31
+ cross: string[];
32
+ warning: string[];
33
+ plus: string[];
34
+ minus: string[];
35
+ question: string[];
36
+ 'thumbs-up': string[];
37
+ 'thumbs-down': string[];
38
+ 'light-on': string[];
39
+ 'yellow-star': string[];
40
+ 'light-off': string[];
41
+ 'red-star': string[];
42
+ 'green-star': string[];
43
+ 'blue-star': string[];
44
+ heart: string[];
45
+ 'broken-heart': string[];
46
+ };
47
+
48
+ // @public (undocumented)
49
+ export function acShortcutToEmoji(hipchatEmoticonShortName: string): {
50
+ id: string;
51
+ shortName: string;
52
+ text: string;
53
+ };
54
+
55
+ // @public (undocumented)
56
+ export const alignment: MarkSpec;
57
+
58
+ // @public (undocumented)
59
+ export interface AlignmentAttributes {
60
+ // (undocumented)
61
+ align: 'center' | 'end';
62
+ }
63
+
64
+ // @public
65
+ export interface AlignmentMarkDefinition {
66
+ // (undocumented)
67
+ attrs: AlignmentAttributes;
68
+ // (undocumented)
69
+ type: 'alignment';
70
+ }
71
+
72
+ // @public
73
+ export const alignmentPositionMap: {
74
+ [key: string]: string;
75
+ };
76
+
77
+ // @public (undocumented)
78
+ export const annotation: MarkSpec;
79
+
80
+ // @public (undocumented)
81
+ export type AnnotationDataAttributes = {
82
+ 'data-mark-type': string;
83
+ 'data-mark-annotation-type': AnnotationTypes;
84
+ 'data-id': AnnotationId;
85
+ 'data-mark-annotation-state'?: AnnotationMarkStates;
86
+ };
87
+
88
+ // @public (undocumented)
89
+ export type AnnotationId = string;
90
+
91
+ // @public (undocumented)
92
+ export interface AnnotationMarkAttributes {
93
+ // (undocumented)
94
+ annotationType: AnnotationTypes;
95
+ // (undocumented)
96
+ id: AnnotationId;
97
+ }
98
+
99
+ // @public
100
+ export interface AnnotationMarkDefinition {
101
+ // (undocumented)
102
+ attrs: AnnotationMarkAttributes;
103
+ // (undocumented)
104
+ type: 'annotation';
105
+ }
106
+
107
+ // @public (undocumented)
108
+ export enum AnnotationMarkStates {
109
+ // (undocumented)
110
+ ACTIVE = "active",
111
+ // (undocumented)
112
+ RESOLVED = "resolved"
113
+ }
114
+
115
+ // @public (undocumented)
116
+ export enum AnnotationTypes {
117
+ // (undocumented)
118
+ INLINE_COMMENT = "inlineComment"
119
+ }
120
+
121
+ // @public (undocumented)
122
+ export const B100 = "#4C9AFF";
123
+
124
+ // @public (undocumented)
125
+ export const B400 = "#0052CC";
126
+
127
+ // @public (undocumented)
128
+ export const B50 = "#DEEBFF";
129
+
130
+ // @public (undocumented)
131
+ export const B500 = "#0747A6";
132
+
133
+ // @public (undocumented)
134
+ export const B75 = "#B3D4FF";
135
+
136
+ // @public (undocumented)
137
+ export const blockCard: NodeSpec;
138
+
139
+ // @public
140
+ export interface BlockCardDefinition {
141
+ // (undocumented)
142
+ attrs: CardAttributes | DatasourceAttributes;
143
+ // (undocumented)
144
+ type: 'blockCard';
145
+ }
146
+
147
+ // @public
148
+ export type BlockContent = BlockCardDefinition | BlockQuoteDefinition | BodiedExtensionDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExpandDefinition | ExtensionDefinition | HeadingDefinition | HeadingWithMarksDefinition | MediaGroupDefinition | MediaSingleDefinition | OrderedListDefinition | PanelDefinition | ParagraphDefinition | ParagraphWithMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition;
149
+
150
+ // @public (undocumented)
151
+ export const blockquote: NodeSpec;
152
+
153
+ // @public
154
+ export interface BlockQuoteDefinition {
155
+ content: Array<ParagraphDefinition>;
156
+ // (undocumented)
157
+ type: 'blockquote';
158
+ }
159
+
160
+ // @public (undocumented)
161
+ export const bodiedExtension: NodeSpec;
162
+
163
+ // @public
164
+ interface BodiedExtensionBaseDefinition {
165
+ // (undocumented)
166
+ attrs: ExtensionAttributes;
167
+ content: Array<NonNestableBlockContent>;
168
+ // (undocumented)
169
+ marks?: Array<any>;
170
+ // (undocumented)
171
+ type: 'bodiedExtension';
172
+ }
173
+
174
+ // @public
175
+ export type BodiedExtensionDefinition = BodiedExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
176
+
177
+ // @public (undocumented)
178
+ export const border: MarkSpec;
179
+
180
+ // @public (undocumented)
181
+ type BorderColorKey = 'Bold gray' | 'Gray' | 'Subtle gray';
182
+
183
+ // @public (undocumented)
184
+ export const borderColorPalette: Map<string, BorderColorKey>;
185
+
186
+ // @public (undocumented)
187
+ export type BorderMarkAttributes = {
188
+ size: number;
189
+ color: string;
190
+ };
191
+
192
+ // @public
193
+ export interface BorderMarkDefinition {
194
+ // (undocumented)
195
+ attrs: BorderMarkAttributes;
196
+ // (undocumented)
197
+ type: 'border';
198
+ }
199
+
200
+ // @public (undocumented)
201
+ export const breakout: MarkSpec;
202
+
203
+ // @public (undocumented)
204
+ export type BreakoutMarkAttrs = {
205
+ mode: 'full-width' | 'wide';
206
+ };
207
+
208
+ // @public
209
+ export interface BreakoutMarkDefinition {
210
+ // (undocumented)
211
+ attrs: BreakoutMarkAttrs;
212
+ // (undocumented)
213
+ type: 'breakout';
214
+ }
215
+
216
+ // @public (undocumented)
217
+ export function buildAnnotationMarkDataAttributes({ id, annotationType, state, }: BuildDataAttributesProps): AnnotationDataAttributes;
218
+
219
+ // @public (undocumented)
220
+ type BuildDataAttributesProps = AnnotationMarkAttributes & {
221
+ state?: AnnotationMarkStates | null | undefined;
222
+ };
223
+
224
+ // @public (undocumented)
225
+ export const bulletList: NodeSpec;
226
+
227
+ // @public
228
+ export interface BulletListDefinition {
229
+ // (undocumented)
230
+ content: Array<ListItemDefinition>;
231
+ // (undocumented)
232
+ type: 'bulletList';
233
+ }
234
+
235
+ // @public (undocumented)
236
+ export const bulletListSelector = ".ak-ul";
237
+
238
+ // @public (undocumented)
239
+ export const caption: NodeSpec;
240
+
241
+ // @public
242
+ export interface CaptionDefinition {
243
+ // (undocumented)
244
+ content: Array<DateDefinition | EmojiDefinition | HardBreakDefinition | InlineCardDefinition | InlineCode | InlineFormattedText | MentionDefinition | PlaceholderDefinition | StatusDefinition>;
245
+ // (undocumented)
246
+ type: 'caption';
247
+ }
248
+
249
+ // @public (undocumented)
250
+ export type CardAttributes = DataType | UrlType;
251
+
252
+ export { CellAttributes }
253
+
254
+ // @public (undocumented)
255
+ export type CellDomAttrs = {
256
+ colspan?: string;
257
+ rowspan?: string;
258
+ style?: string;
259
+ colorname?: string;
260
+ 'data-colwidth'?: string;
261
+ 'data-cell-background'?: string;
262
+ class?: string;
263
+ };
264
+
265
+ // @public (undocumented)
266
+ export const code: MarkSpec;
267
+
268
+ // @public (undocumented)
269
+ export const codeBlock: NodeSpec;
270
+
271
+ // @public (undocumented)
272
+ export type CodeBlockAttrs = {
273
+ language?: string;
274
+ };
275
+
276
+ // @public
277
+ export type CodeBlockBaseDefinition = {
278
+ type: 'codeBlock';
279
+ content?: Array<TextDefinition & NoMark>;
280
+ marks?: Array<any>;
281
+ attrs?: CodeBlockAttrs;
282
+ };
283
+
284
+ // @public
285
+ export type CodeBlockDefinition = CodeBlockBaseDefinition & NoMark;
286
+
287
+ // @public (undocumented)
288
+ export const codeBlockToJSON: (node: Node_2) => {
289
+ attrs: Record<string, any>;
290
+ };
291
+
292
+ // @public
293
+ export type CodeBlockWithMarksDefinition = CodeBlockBaseDefinition & MarksObject<BreakoutMarkDefinition>;
294
+
295
+ // @public
296
+ export interface CodeDefinition {
297
+ // (undocumented)
298
+ type: 'code';
299
+ }
300
+
301
+ // @public (undocumented)
302
+ export const colorPalette: Map<string, TextColorKey>;
303
+
304
+ // @public @deprecated (undocumented)
305
+ export const colorPaletteExtended: Map<string, TextColorKey>;
306
+
307
+ // @public (undocumented)
308
+ export const confluenceInlineComment: MarkSpec;
309
+
310
+ // @public (undocumented)
311
+ export const confluenceJiraIssue: NodeSpec;
312
+
313
+ // @public (undocumented)
314
+ interface ConfluenceLinkMetadata {
315
+ // (undocumented)
316
+ anchorName?: null | string;
317
+ // (undocumented)
318
+ container?: ConfluenceLinkMetadata;
319
+ // (undocumented)
320
+ contentId?: null | string;
321
+ // (undocumented)
322
+ contentTitle?: null | string;
323
+ // (undocumented)
324
+ fileName?: null | string;
325
+ // (undocumented)
326
+ isRenamedTitle?: boolean;
327
+ // (undocumented)
328
+ linkType: string;
329
+ // (undocumented)
330
+ spaceKey?: null | string;
331
+ // (undocumented)
332
+ versionAtSave?: null | string;
333
+ }
334
+
335
+ // @public (undocumented)
336
+ export const confluenceUnsupportedBlock: NodeSpec;
337
+
338
+ // @public (undocumented)
339
+ export const confluenceUnsupportedInline: NodeSpec;
340
+
341
+ // @public (undocumented)
342
+ export const copyPrivateMediaAttributes: (from: Record<string, any>, to: Record<string, any>, map?: ((str: string) => string) | undefined) => void;
343
+
344
+ // @public
345
+ export function createSchema<N extends string = string, M extends string = string>(config: SchemaConfig<N, M>): Schema<N, M>;
346
+
347
+ // @public (undocumented)
348
+ export const dataConsumer: MarkSpec;
349
+
350
+ // @public (undocumented)
351
+ export interface DataConsumerAttributes {
352
+ // (undocumented)
353
+ sources: Array<DataConsumerSource>;
354
+ }
355
+
356
+ // @public
357
+ export interface DataConsumerDefinition {
358
+ // (undocumented)
359
+ attrs: DataConsumerAttributes;
360
+ // (undocumented)
361
+ type: 'dataConsumer';
362
+ }
363
+
364
+ // @public
365
+ type DataConsumerSource = string;
366
+
367
+ // @public
368
+ export const dataConsumerToJSON: (mark: Mark) => {
369
+ type: string;
370
+ attrs: {
371
+ [key: string]: any;
372
+ };
373
+ };
374
+
375
+ // @public (undocumented)
376
+ interface DatasourceAttributeProperties extends RichMediaAttributes {
377
+ // (undocumented)
378
+ id: string;
379
+ // (undocumented)
380
+ parameters: object;
381
+ // (undocumented)
382
+ views: [{
383
+ type: string;
384
+ properties?: object;
385
+ }];
386
+ }
387
+
388
+ // @public (undocumented)
389
+ export interface DatasourceAttributes {
390
+ // (undocumented)
391
+ datasource: DatasourceAttributeProperties;
392
+ url?: string;
393
+ }
394
+
395
+ // @public (undocumented)
396
+ export interface DataType {
397
+ data: object;
398
+ }
399
+
400
+ // @public (undocumented)
401
+ export const date: NodeSpec;
402
+
403
+ // @public
404
+ export interface DateDefinition {
405
+ // (undocumented)
406
+ attrs: {
407
+ timestamp: string;
408
+ };
409
+ // (undocumented)
410
+ type: 'date';
411
+ }
412
+
413
+ // @public (undocumented)
414
+ export const decisionItem: NodeSpec;
415
+
416
+ // @public
417
+ export interface DecisionItemDefinition {
418
+ // (undocumented)
419
+ attrs: {
420
+ localId: string;
421
+ state: string;
422
+ };
423
+ content?: Array<Inline>;
424
+ // (undocumented)
425
+ type: 'decisionItem';
426
+ }
427
+
428
+ // @public (undocumented)
429
+ export const decisionList: NodeSpec;
430
+
431
+ // @public
432
+ export interface DecisionListDefinition {
433
+ // (undocumented)
434
+ attrs: {
435
+ localId: string;
436
+ };
437
+ content: Array<DecisionItemDefinition>;
438
+ // (undocumented)
439
+ type: 'decisionList';
440
+ }
441
+
442
+ // @public (undocumented)
443
+ export const decisionListSelector: string;
444
+
445
+ // @public (undocumented)
446
+ export const doc: NodeSpec;
447
+
448
+ // @public
449
+ export interface DocNode {
450
+ content: Array<BlockContent | CodeBlockWithMarksDefinition | ExpandWithBreakoutDefinition | LayoutSectionDefinition | ParagraphWithIndentationDefinition>;
451
+ // (undocumented)
452
+ type: 'doc';
453
+ // (undocumented)
454
+ version: 1;
455
+ }
456
+
457
+ // @public (undocumented)
458
+ export const em: MarkSpec;
459
+
460
+ // @public (undocumented)
461
+ export const embedCard: NodeSpec;
462
+
463
+ // @public (undocumented)
464
+ export interface EmbedCardAttributes extends RichMediaAttributes {
465
+ // (undocumented)
466
+ originalHeight?: number;
467
+ // (undocumented)
468
+ originalWidth?: number;
469
+ url: string;
470
+ }
471
+
472
+ // @public
473
+ export interface EmbedCardDefinition {
474
+ // (undocumented)
475
+ attrs: EmbedCardAttributes;
476
+ // (undocumented)
477
+ type: 'embedCard';
478
+ }
479
+
480
+ // @public
481
+ export interface EmDefinition {
482
+ // (undocumented)
483
+ type: 'em';
484
+ }
485
+
486
+ // @public (undocumented)
487
+ export const emoji: NodeSpec;
488
+
489
+ // @public (undocumented)
490
+ export interface EmojiAttributes {
491
+ // (undocumented)
492
+ id?: string;
493
+ // (undocumented)
494
+ shortName: string;
495
+ // (undocumented)
496
+ text?: string;
497
+ }
498
+
499
+ // @public
500
+ export interface EmojiDefinition {
501
+ // (undocumented)
502
+ attrs: EmojiAttributes;
503
+ // (undocumented)
504
+ type: 'emoji';
505
+ }
506
+
507
+ // @public (undocumented)
508
+ export function emojiIdToAcName(emojiId: string): never;
509
+
510
+ // @public (undocumented)
511
+ export const expand: NodeSpec;
512
+
513
+ // @public
514
+ interface ExpandBaseDefinition {
515
+ // (undocumented)
516
+ attrs: {
517
+ title?: string;
518
+ };
519
+ content: Array<NonNestableBlockContent>;
520
+ // (undocumented)
521
+ marks?: Array<any>;
522
+ // (undocumented)
523
+ type: 'expand';
524
+ }
525
+
526
+ // @public
527
+ export type ExpandDefinition = ExpandBaseDefinition & NoMark;
528
+
529
+ // @public (undocumented)
530
+ export const expandToJSON: (node: Node_2) => {
531
+ attrs: {
532
+ [key: string]: any;
533
+ };
534
+ };
535
+
536
+ // @public
537
+ type ExpandWithBreakoutDefinition = ExpandBaseDefinition & MarksObject<BreakoutMarkDefinition>;
538
+
539
+ // @public (undocumented)
540
+ export const extension: NodeSpec;
541
+
542
+ // @public (undocumented)
543
+ interface ExtensionAttributes {
544
+ // (undocumented)
545
+ extensionKey: string;
546
+ // (undocumented)
547
+ extensionType: string;
548
+ // (undocumented)
549
+ layout?: ExtensionLayout;
550
+ // (undocumented)
551
+ localId?: string;
552
+ // (undocumented)
553
+ parameters?: object;
554
+ // (undocumented)
555
+ text?: string;
556
+ }
557
+
558
+ // @public
559
+ interface ExtensionBaseDefinition {
560
+ // (undocumented)
561
+ attrs: ExtensionAttributes;
562
+ // (undocumented)
563
+ marks?: Array<any>;
564
+ // (undocumented)
565
+ type: 'extension';
566
+ }
567
+
568
+ // @public
569
+ export type ExtensionDefinition = ExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
570
+
571
+ // @public (undocumented)
572
+ export type ExtensionLayout = 'default' | 'full-width' | 'wide';
573
+
574
+ // @public (undocumented)
575
+ export interface ExternalMediaAttributes {
576
+ // (undocumented)
577
+ __external?: boolean;
578
+ // (undocumented)
579
+ alt?: string;
580
+ // (undocumented)
581
+ height?: number;
582
+ // (undocumented)
583
+ type: 'external';
584
+ // (undocumented)
585
+ url: string;
586
+ // (undocumented)
587
+ width?: number;
588
+ }
589
+
590
+ // @public (undocumented)
591
+ export const fragment: MarkSpec;
592
+
593
+ // @public (undocumented)
594
+ export interface FragmentAttributes {
595
+ // (undocumented)
596
+ localId: LocalId;
597
+ // (undocumented)
598
+ name?: string;
599
+ }
600
+
601
+ // @public
602
+ export interface FragmentDefinition {
603
+ // (undocumented)
604
+ attrs: FragmentAttributes;
605
+ // (undocumented)
606
+ type: 'fragment';
607
+ }
608
+
609
+ // @public (undocumented)
610
+ export const fragmentToJSON: (mark: Mark) => {
611
+ type: string;
612
+ attrs: {
613
+ name?: any;
614
+ localId: any;
615
+ };
616
+ };
617
+
618
+ // @public (undocumented)
619
+ export const G200 = "#57D9A3";
620
+
621
+ // @public (undocumented)
622
+ export const G300 = "#36B37E";
623
+
624
+ // @public (undocumented)
625
+ export const G400 = "#00875A";
626
+
627
+ // @public (undocumented)
628
+ export const G50 = "#E3FCEF";
629
+
630
+ // @public (undocumented)
631
+ export const G500 = "#006644";
632
+
633
+ // @public (undocumented)
634
+ export const G75 = "#ABF5D1";
635
+
636
+ // @public (undocumented)
637
+ export const generateUuid: () => string;
638
+
639
+ // @public (undocumented)
640
+ export const getCellAttrs: (dom: HTMLElement, defaultValues?: CellAttributes) => {
641
+ colspan: number;
642
+ rowspan: number;
643
+ colwidth: null | number[];
644
+ background: null | string;
645
+ };
646
+
647
+ // @public
648
+ export const getCellDomAttrs: (node: Node_2) => CellDomAttrs;
649
+
650
+ // @public (undocumented)
651
+ export function getEmojiAcName({ id, shortName, }: {
652
+ id: string;
653
+ shortName: string;
654
+ }): string;
655
+
656
+ // @public (undocumented)
657
+ export function getLinkMatch(str?: string): Match | null;
658
+
659
+ // @public (undocumented)
660
+ export const hardBreak: NodeSpec;
661
+
662
+ // @public
663
+ export interface HardBreakDefinition {
664
+ // (undocumented)
665
+ attrs?: {
666
+ text?: '\n';
667
+ };
668
+ // (undocumented)
669
+ type: 'hardBreak';
670
+ }
671
+
672
+ // @public (undocumented)
673
+ export const heading: NodeSpec;
674
+
675
+ // @public
676
+ export interface HeadingBaseDefinition {
677
+ // (undocumented)
678
+ attrs: {
679
+ level: number;
680
+ };
681
+ content?: Array<Inline>;
682
+ // (undocumented)
683
+ marks?: Array<any>;
684
+ // (undocumented)
685
+ type: 'heading';
686
+ }
687
+
688
+ // @public
689
+ export type HeadingDefinition = HeadingBaseDefinition & NoMark;
690
+
691
+ // @public
692
+ export type HeadingWithAlignmentDefinition = HeadingBaseDefinition & MarksObject<AlignmentMarkDefinition>;
693
+
694
+ // @public
695
+ export type HeadingWithIndentationDefinition = HeadingBaseDefinition & MarksObject<IndentationMarkDefinition>;
696
+
697
+ // @public (undocumented)
698
+ export type HeadingWithMarksDefinition = HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition;
699
+
700
+ // @public
701
+ export function hexToRgb(color: string): null | string;
702
+
703
+ // @public
704
+ export function hexToRgba(rawColor: string, alpha: number): null | string;
705
+
706
+ // @public (undocumented)
707
+ export const image: NodeSpec;
708
+
709
+ // @public (undocumented)
710
+ export const indentation: MarkSpec;
711
+
712
+ // @public (undocumented)
713
+ export interface IndentationMarkAttributes {
714
+ level: number;
715
+ }
716
+
717
+ // @public
718
+ export interface IndentationMarkDefinition {
719
+ // (undocumented)
720
+ attrs: IndentationMarkAttributes;
721
+ // (undocumented)
722
+ type: 'indentation';
723
+ }
724
+
725
+ // @public
726
+ export type Inline = InlineAtomic | InlineCode | InlineFormattedText;
727
+
728
+ // @public
729
+ export type InlineAtomic = DateDefinition | EmojiDefinition | HardBreakDefinition | InlineCardDefinition | InlineExtensionDefinition | MediaInlineDefinition | MentionDefinition | PlaceholderDefinition | StatusDefinition;
730
+
731
+ // @public (undocumented)
732
+ export const inlineCard: NodeSpec;
733
+
734
+ // @public
735
+ export interface InlineCardDefinition {
736
+ // (undocumented)
737
+ attrs: CardAttributes;
738
+ // (undocumented)
739
+ type: 'inlineCard';
740
+ }
741
+
742
+ // @public
743
+ export type InlineCode = TextDefinition & MarksObject<AnnotationMarkDefinition | CodeDefinition | LinkDefinition>;
744
+
745
+ // @public (undocumented)
746
+ export const inlineExtension: NodeSpec;
747
+
748
+ // @public (undocumented)
749
+ interface InlineExtensionAttributes {
750
+ // (undocumented)
751
+ extensionKey: string;
752
+ // (undocumented)
753
+ extensionType: string;
754
+ // (undocumented)
755
+ localId?: string;
756
+ // (undocumented)
757
+ parameters?: object;
758
+ // (undocumented)
759
+ text?: string;
760
+ }
761
+
762
+ // @public
763
+ interface InlineExtensionBaseDefinition {
764
+ // (undocumented)
765
+ attrs: InlineExtensionAttributes;
766
+ // (undocumented)
767
+ marks?: Array<any>;
768
+ // (undocumented)
769
+ type: 'inlineExtension';
770
+ }
771
+
772
+ // @public
773
+ export type InlineExtensionDefinition = InlineExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
774
+
775
+ // @public
776
+ export type InlineFormattedText = TextDefinition & MarksObject<AnnotationMarkDefinition | EmDefinition | LinkDefinition | StrikeDefinition | StrongDefinition | SubSupDefinition | TextColorDefinition | UnderlineDefinition>;
777
+
778
+ // @public
779
+ export type InlineLinkText = TextDefinition & MarksObject<LinkDefinition>;
780
+
781
+ // @public (undocumented)
782
+ export const inlineNodes: Set<string>;
783
+
784
+ // @public (undocumented)
785
+ export function isHex(color: string): boolean;
786
+
787
+ // @public (undocumented)
788
+ export function isRgb(color: string): boolean;
789
+
790
+ // @public
791
+ export const isSafeUrl: (url: string) => boolean;
792
+
793
+ // @public (undocumented)
794
+ export const layoutColumn: NodeSpec;
795
+
796
+ // @public
797
+ export interface LayoutColumnDefinition {
798
+ // (undocumented)
799
+ attrs: {
800
+ width: number;
801
+ };
802
+ content: Array<BlockContent>;
803
+ // (undocumented)
804
+ type: 'layoutColumn';
805
+ }
806
+
807
+ // @public (undocumented)
808
+ export const layoutSection: NodeSpec;
809
+
810
+ // @public
811
+ type LayoutSectionBaseDefinition = {
812
+ type: 'layoutSection';
813
+ marks?: Array<BreakoutMarkDefinition>;
814
+ content: Array<LayoutColumnDefinition>;
815
+ };
816
+
817
+ // @public (undocumented)
818
+ export type LayoutSectionDefinition = LayoutSectionFullDefinition | LayoutSectionWithSingleColumnDefinition;
819
+
820
+ // @public
821
+ export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
822
+ type: 'layoutSection';
823
+ marks?: Array<BreakoutMarkDefinition>;
824
+ content: Array<LayoutColumnDefinition>;
825
+ };
826
+
827
+ // @public
828
+ export type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
829
+ type: 'layoutSection';
830
+ marks?: Array<BreakoutMarkDefinition>;
831
+ content: Array<LayoutColumnDefinition>;
832
+ };
833
+
834
+ // @public (undocumented)
835
+ export const link: MarkSpec;
836
+
837
+ // @public (undocumented)
838
+ export interface LinkAttributes {
839
+ // (undocumented)
840
+ __confluenceMetadata?: ConfluenceLinkMetadata;
841
+ // (undocumented)
842
+ collection?: string;
843
+ href: string;
844
+ // (undocumented)
845
+ id?: string;
846
+ // (undocumented)
847
+ occurrenceKey?: string;
848
+ // (undocumented)
849
+ title?: string;
850
+ }
851
+
852
+ // @public
853
+ export interface LinkDefinition {
854
+ // (undocumented)
855
+ attrs: LinkAttributes;
856
+ // (undocumented)
857
+ type: 'link';
858
+ }
859
+
860
+ // @public (undocumented)
861
+ export const linkify: LinkifyIt.LinkifyIt;
862
+
863
+ // @public (undocumented)
864
+ export const linkifyMatch: (text: string) => Match[];
865
+
866
+ // @public (undocumented)
867
+ export const linkToJSON: (mark: Mark) => {
868
+ type: string;
869
+ attrs: Record<string, string>;
870
+ };
871
+
872
+ // @public (undocumented)
873
+ export const listItem: NodeSpec;
874
+
875
+ // @public (undocumented)
876
+ export interface ListItemArray extends Array<BulletListDefinition | CodeBlockDefinition | MediaSingleDefinition | OrderedListDefinition | ParagraphDefinition> {
877
+ // (undocumented)
878
+ 0: CodeBlockDefinition | MediaSingleDefinition | ParagraphDefinition;
879
+ }
880
+
881
+ // @public
882
+ export interface ListItemDefinition {
883
+ // (undocumented)
884
+ content: ListItemArray;
885
+ // (undocumented)
886
+ type: 'listItem';
887
+ }
888
+
889
+ // @public (undocumented)
890
+ type LocalId = string;
891
+
892
+ // @public
893
+ export interface MarksObject<T> {
894
+ // (undocumented)
895
+ marks?: Array<T>;
896
+ }
897
+
898
+ // @public (undocumented)
899
+ export interface Match {
900
+ // (undocumented)
901
+ index: number;
902
+ // (undocumented)
903
+ input?: string;
904
+ // (undocumented)
905
+ lastIndex: number;
906
+ // (undocumented)
907
+ length?: number;
908
+ // (undocumented)
909
+ raw: string;
910
+ // (undocumented)
911
+ schema: any;
912
+ // (undocumented)
913
+ text: string;
914
+ // (undocumented)
915
+ url: string;
916
+ }
917
+
918
+ // @public (undocumented)
919
+ export const media: NodeSpec;
920
+
921
+ // @public (undocumented)
922
+ export type MediaADFAttrs = ExternalMediaAttributes | MediaAttributes;
923
+
924
+ // @public (undocumented)
925
+ export interface MediaAttributes extends MediaBaseAttributes {
926
+ // (undocumented)
927
+ type: 'file' | 'link';
928
+ }
929
+
930
+ // @public (undocumented)
931
+ export interface MediaBaseAttributes {
932
+ // (undocumented)
933
+ __contextId?: null | string;
934
+ // (undocumented)
935
+ __displayType?: MediaDisplayType | null;
936
+ // (undocumented)
937
+ __external?: boolean;
938
+ // (undocumented)
939
+ __fileMimeType?: null | string;
940
+ // (undocumented)
941
+ __fileName?: null | string;
942
+ // (undocumented)
943
+ __fileSize?: null | number;
944
+ // (undocumented)
945
+ __mediaTraceId?: null | string;
946
+ // (undocumented)
947
+ alt?: string;
948
+ // (undocumented)
949
+ collection: string;
950
+ // (undocumented)
951
+ height?: number;
952
+ // (undocumented)
953
+ id: string;
954
+ // (undocumented)
955
+ occurrenceKey?: string;
956
+ // (undocumented)
957
+ width?: number;
958
+ }
959
+
960
+ // @public
961
+ interface MediaCaptionContent {
962
+ content: [MediaDefinition, CaptionDefinition?];
963
+ }
964
+
965
+ // @public
966
+ export interface MediaDefinition {
967
+ // (undocumented)
968
+ attrs: MediaADFAttrs;
969
+ // (undocumented)
970
+ marks?: Array<BorderMarkDefinition | LinkDefinition>;
971
+ // (undocumented)
972
+ type: 'media';
973
+ }
974
+
975
+ // @public (undocumented)
976
+ export type MediaDisplayType = 'file' | 'thumbnail';
977
+
978
+ // @public (undocumented)
979
+ export const mediaGroup: NodeSpec;
980
+
981
+ // @public
982
+ export interface MediaGroupDefinition {
983
+ content: Array<MediaDefinition>;
984
+ // (undocumented)
985
+ type: 'mediaGroup';
986
+ }
987
+
988
+ // @public (undocumented)
989
+ export const mediaInline: NodeSpec;
990
+
991
+ // @public (undocumented)
992
+ export interface MediaInlineAttributes extends MediaBaseAttributes {
993
+ // (undocumented)
994
+ data?: object;
995
+ // (undocumented)
996
+ type?: 'file' | 'link';
997
+ }
998
+
999
+ // @public
1000
+ export interface MediaInlineDefinition {
1001
+ // (undocumented)
1002
+ attrs: MediaInlineAttributes;
1003
+ // (undocumented)
1004
+ marks?: Array<LinkDefinition>;
1005
+ // (undocumented)
1006
+ type: 'mediaInline';
1007
+ }
1008
+
1009
+ // @public (undocumented)
1010
+ export const mediaSingle: NodeSpec;
1011
+
1012
+ // @public
1013
+ interface MediaSingleBaseDefinition {
1014
+ // (undocumented)
1015
+ attrs?: RichMediaAttributes;
1016
+ // (undocumented)
1017
+ marks?: Array<LinkDefinition>;
1018
+ // (undocumented)
1019
+ type: 'mediaSingle';
1020
+ }
1021
+
1022
+ // @public (undocumented)
1023
+ export type MediaSingleDefinition = MediaSingleFullDefinition | MediaSingleWithCaptionDefinition;
1024
+
1025
+ // @public
1026
+ interface MediaSingleFullContent {
1027
+ content: Array<MediaDefinition>;
1028
+ }
1029
+
1030
+ // @public
1031
+ type MediaSingleFullDefinition = MediaSingleBaseDefinition & MediaSingleFullContent;
1032
+
1033
+ // @public (undocumented)
1034
+ export const mediaSingleToJSON: (node: Node_2) => {
1035
+ attrs: any;
1036
+ };
1037
+
1038
+ // @public (undocumented)
1039
+ export const mediaSingleWithCaption: NodeSpec;
1040
+
1041
+ // @public
1042
+ type MediaSingleWithCaptionDefinition = MediaSingleBaseDefinition & MediaCaptionContent;
1043
+
1044
+ // @public (undocumented)
1045
+ export const mediaToJSON: (node: Node_2) => {
1046
+ attrs: Record<string, any>;
1047
+ };
1048
+
1049
+ // @public (undocumented)
1050
+ export type MediaType = 'external' | 'file' | 'link';
1051
+
1052
+ // @public (undocumented)
1053
+ export const mention: NodeSpec;
1054
+
1055
+ // @public (undocumented)
1056
+ export interface MentionAttributes {
1057
+ // (undocumented)
1058
+ accessLevel?: string;
1059
+ // (undocumented)
1060
+ id: string;
1061
+ // (undocumented)
1062
+ text?: string;
1063
+ // (undocumented)
1064
+ userType?: MentionUserType;
1065
+ }
1066
+
1067
+ // @public
1068
+ export interface MentionDefinition {
1069
+ // (undocumented)
1070
+ attrs: MentionAttributes;
1071
+ // (undocumented)
1072
+ type: 'mention';
1073
+ }
1074
+
1075
+ // @public (undocumented)
1076
+ export const mentionToJSON: (node: Node_2) => {
1077
+ attrs: {
1078
+ [key: string]: any;
1079
+ };
1080
+ };
1081
+
1082
+ // @public (undocumented)
1083
+ export type MentionUserType = keyof typeof USER_TYPES;
1084
+
1085
+ // @public (undocumented)
1086
+ export const N0 = "#FFFFFF";
1087
+
1088
+ // @public (undocumented)
1089
+ export const N20 = "#F4F5F7";
1090
+
1091
+ // @public (undocumented)
1092
+ export const N200 = "#6B778C";
1093
+
1094
+ // @public (undocumented)
1095
+ export const N30 = "#EBECF0";
1096
+
1097
+ // @public (undocumented)
1098
+ export const N300 = "#5E6C84";
1099
+
1100
+ // @public (undocumented)
1101
+ export const N40 = "#DFE1E6";
1102
+
1103
+ // @public (undocumented)
1104
+ export const N50 = "#C1C7D0";
1105
+
1106
+ // @public (undocumented)
1107
+ export const N500 = "#42526E";
1108
+
1109
+ // @public (undocumented)
1110
+ export const N60 = "#B3BAC5";
1111
+
1112
+ // @public (undocumented)
1113
+ export const N80 = "#97A0AF";
1114
+
1115
+ // @public (undocumented)
1116
+ export const N800 = "#172B4D";
1117
+
1118
+ // @public (undocumented)
1119
+ export const N90 = "#8993A4";
1120
+
1121
+ // @public (undocumented)
1122
+ export type NameToEmoji = keyof typeof acNameToEmojiMap;
1123
+
1124
+ // @public (undocumented)
1125
+ export const nestedExpand: NodeSpec;
1126
+
1127
+ // @public
1128
+ interface NestedExpandBaseDefinition {
1129
+ // (undocumented)
1130
+ attrs: {
1131
+ title?: string;
1132
+ };
1133
+ // (undocumented)
1134
+ content: NestedExpandContent;
1135
+ // (undocumented)
1136
+ type: 'nestedExpand';
1137
+ }
1138
+
1139
+ // @public
1140
+ export type NestedExpandContent = Array<HeadingDefinition | MediaGroupDefinition | MediaSingleDefinition | ParagraphDefinition>;
1141
+
1142
+ // @public
1143
+ export type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark;
1144
+
1145
+ // @public
1146
+ export interface NoMark {
1147
+ // (undocumented)
1148
+ marks?: Array<any>;
1149
+ }
1150
+
1151
+ // @public
1152
+ export type NonNestableBlockContent = BlockCardDefinition | BlockQuoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | HeadingDefinition | MediaGroupDefinition | MediaSingleDefinition | OrderedListDefinition | PanelDefinition | ParagraphDefinition | RuleDefinition | TableDefinition | TaskListDefinition;
1153
+
1154
+ // @public
1155
+ export function normalizeHexColor(color: null | string, defaultColor?: string): null | string;
1156
+
1157
+ // @public
1158
+ export function normalizeUrl(url?: string): string;
1159
+
1160
+ // @public (undocumented)
1161
+ export const orderedList: NodeSpec;
1162
+
1163
+ // @public
1164
+ export interface OrderedListDefinition {
1165
+ // (undocumented)
1166
+ attrs?: {
1167
+ order?: number;
1168
+ };
1169
+ // (undocumented)
1170
+ content: Array<ListItemDefinition>;
1171
+ // (undocumented)
1172
+ type: 'orderedList';
1173
+ }
1174
+
1175
+ // @public (undocumented)
1176
+ export const orderedListSelector = ".ak-ol";
1177
+
1178
+ // @public (undocumented)
1179
+ export const orderedListWithOrder: NodeSpec;
1180
+
1181
+ // @public (undocumented)
1182
+ export const P100 = "#998DD9";
1183
+
1184
+ // @public (undocumented)
1185
+ export const P300 = "#6554C0";
1186
+
1187
+ // @public (undocumented)
1188
+ export const P400 = "#5243AA";
1189
+
1190
+ // @public (undocumented)
1191
+ export const P50 = "#EAE6FF";
1192
+
1193
+ // @public (undocumented)
1194
+ export const P500 = "#403294";
1195
+
1196
+ // @public (undocumented)
1197
+ export const P75 = "#C0B6F2";
1198
+
1199
+ // @public (undocumented)
1200
+ export const panel: (allowCustomPanel: boolean) => NodeSpec;
1201
+
1202
+ // @public (undocumented)
1203
+ export interface PanelAttributes {
1204
+ // (undocumented)
1205
+ panelColor?: string;
1206
+ // (undocumented)
1207
+ panelIcon?: string;
1208
+ // (undocumented)
1209
+ panelIconId?: string;
1210
+ // (undocumented)
1211
+ panelIconText?: string;
1212
+ // (undocumented)
1213
+ panelType: PanelType;
1214
+ }
1215
+
1216
+ // @public
1217
+ export interface PanelDefinition {
1218
+ // (undocumented)
1219
+ attrs: PanelAttributes;
1220
+ content: Array<BlockCardDefinition | BulletListDefinition | HeadingDefinition | OrderedListDefinition | ParagraphDefinition>;
1221
+ // (undocumented)
1222
+ type: 'panel';
1223
+ }
1224
+
1225
+ // @public (undocumented)
1226
+ export enum PanelType {
1227
+ // (undocumented)
1228
+ CUSTOM = "custom",
1229
+ // (undocumented)
1230
+ ERROR = "error",
1231
+ // (undocumented)
1232
+ INFO = "info",
1233
+ // (undocumented)
1234
+ NOTE = "note",
1235
+ // (undocumented)
1236
+ SUCCESS = "success",
1237
+ // (undocumented)
1238
+ TIP = "tip",
1239
+ // (undocumented)
1240
+ WARNING = "warning"
1241
+ }
1242
+
1243
+ // @public (undocumented)
1244
+ export const paragraph: NodeSpec;
1245
+
1246
+ // @public
1247
+ export interface ParagraphBaseDefinition {
1248
+ content?: Array<Inline>;
1249
+ // (undocumented)
1250
+ marks?: Array<any>;
1251
+ // (undocumented)
1252
+ type: 'paragraph';
1253
+ }
1254
+
1255
+ // @public
1256
+ export type ParagraphDefinition = ParagraphBaseDefinition & NoMark;
1257
+
1258
+ // @public
1259
+ export type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition & MarksObject<AlignmentMarkDefinition>;
1260
+
1261
+ // @public
1262
+ export type ParagraphWithIndentationDefinition = ParagraphBaseDefinition & MarksObject<IndentationMarkDefinition>;
1263
+
1264
+ // @public (undocumented)
1265
+ export type ParagraphWithMarksDefinition = ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition;
1266
+
1267
+ // @public (undocumented)
1268
+ export const placeholder: NodeSpec;
1269
+
1270
+ // @public
1271
+ export interface PlaceholderDefinition {
1272
+ // (undocumented)
1273
+ attrs: {
1274
+ text: string;
1275
+ };
1276
+ // (undocumented)
1277
+ type: 'placeholder';
1278
+ }
1279
+
1280
+ // @public (undocumented)
1281
+ export const R100 = "#FF8F73";
1282
+
1283
+ // @public (undocumented)
1284
+ export const R300 = "#FF5630";
1285
+
1286
+ // @public (undocumented)
1287
+ export const R400 = "#DE350B";
1288
+
1289
+ // @public
1290
+ export const R50 = "#FFEBE6";
1291
+
1292
+ // @public (undocumented)
1293
+ export const R500 = "#BF2600";
1294
+
1295
+ // @public (undocumented)
1296
+ export const R75 = "#FFBDAD";
1297
+
1298
+ // @public (undocumented)
1299
+ export function rgbToHex(value: string): null | string;
1300
+
1301
+ // @public (undocumented)
1302
+ export interface RichMediaAttributes {
1303
+ // (undocumented)
1304
+ layout: RichMediaLayout;
1305
+ width?: number;
1306
+ }
1307
+
1308
+ // @public (undocumented)
1309
+ export type RichMediaLayout = 'align-end' | 'align-start' | 'center' | 'full-width' | 'wide' | 'wrap-left' | 'wrap-right';
1310
+
1311
+ // @public (undocumented)
1312
+ export const rule: NodeSpec;
1313
+
1314
+ // @public
1315
+ export interface RuleDefinition {
1316
+ // (undocumented)
1317
+ type: 'rule';
1318
+ }
1319
+
1320
+ // @public (undocumented)
1321
+ export function sanitizeNodes(nodes: {
1322
+ [key: string]: NodeSpec;
1323
+ }, supportedMarks: {
1324
+ [key: string]: MarkSpec;
1325
+ }): {
1326
+ [key: string]: NodeSpec;
1327
+ };
1328
+
1329
+ // @public (undocumented)
1330
+ interface SchemaConfig<N = string, M = string> {
1331
+ // (undocumented)
1332
+ customMarkSpecs?: SchemaCustomMarkSpecs;
1333
+ // (undocumented)
1334
+ customNodeSpecs?: SchemaCustomNodeSpecs;
1335
+ // (undocumented)
1336
+ marks?: M[];
1337
+ // (undocumented)
1338
+ nodes: N[];
1339
+ }
1340
+
1341
+ // @public (undocumented)
1342
+ interface SchemaCustomMarkSpecs {
1343
+ // (undocumented)
1344
+ [name: string]: MarkSpec;
1345
+ }
1346
+
1347
+ // @public (undocumented)
1348
+ interface SchemaCustomNodeSpecs {
1349
+ // (undocumented)
1350
+ [name: string]: NodeSpec;
1351
+ }
1352
+
1353
+ // @public (undocumented)
1354
+ const status_2: NodeSpec;
1355
+ export { status_2 as status }
1356
+
1357
+ // @public
1358
+ export interface StatusDefinition {
1359
+ // (undocumented)
1360
+ attrs: {
1361
+ text: string;
1362
+ color: 'blue' | 'green' | 'neutral' | 'purple' | 'red' | 'yellow';
1363
+ localId?: string;
1364
+ style?: string;
1365
+ };
1366
+ // (undocumented)
1367
+ type: 'status';
1368
+ }
1369
+
1370
+ // @public (undocumented)
1371
+ export const strike: MarkSpec;
1372
+
1373
+ // @public
1374
+ export interface StrikeDefinition {
1375
+ // (undocumented)
1376
+ type: 'strike';
1377
+ }
1378
+
1379
+ // @public (undocumented)
1380
+ export const strong: MarkSpec;
1381
+
1382
+ // @public
1383
+ export interface StrongDefinition {
1384
+ // (undocumented)
1385
+ type: 'strong';
1386
+ }
1387
+
1388
+ // @public (undocumented)
1389
+ export const subsup: MarkSpec;
1390
+
1391
+ // @public (undocumented)
1392
+ export interface SubSupAttributes {
1393
+ // (undocumented)
1394
+ type: 'sub' | 'sup';
1395
+ }
1396
+
1397
+ // @public
1398
+ export interface SubSupDefinition {
1399
+ // (undocumented)
1400
+ attrs: SubSupAttributes;
1401
+ // (undocumented)
1402
+ type: 'subsup';
1403
+ }
1404
+
1405
+ // @public (undocumented)
1406
+ export const T100 = "#79E2F2";
1407
+
1408
+ // @public (undocumented)
1409
+ export const T300 = "#00B8D9";
1410
+
1411
+ // @public (undocumented)
1412
+ export const T50 = "#E6FCFF";
1413
+
1414
+ // @public (undocumented)
1415
+ export const T500 = "#008DA6";
1416
+
1417
+ // @public (undocumented)
1418
+ export const T75 = "#B3F5FF";
1419
+
1420
+ // @public (undocumented)
1421
+ export const table: NodeSpec;
1422
+
1423
+ // @public (undocumented)
1424
+ export interface TableAttributes {
1425
+ // (undocumented)
1426
+ __autoSize?: boolean;
1427
+ // (undocumented)
1428
+ isNumberColumnEnabled?: boolean;
1429
+ // (undocumented)
1430
+ layout?: TableLayout;
1431
+ // (undocumented)
1432
+ localId?: string;
1433
+ // (undocumented)
1434
+ width?: number;
1435
+ }
1436
+
1437
+ // @public (undocumented)
1438
+ export const tableBackgroundBorderColor: string;
1439
+
1440
+ // @public (undocumented)
1441
+ export const tableBackgroundColorNames: Map<string, string>;
1442
+
1443
+ // @public (undocumented)
1444
+ export const tableBackgroundColorPalette: Map<string, string>;
1445
+
1446
+ // @public (undocumented)
1447
+ export const tableCell: NodeSpec;
1448
+
1449
+ // @public
1450
+ type TableCellContent = Array<BlockCardDefinition | BlockQuoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | HeadingDefinition | HeadingWithMarksDefinition | MediaGroupDefinition | MediaSingleDefinition | NestedExpandDefinition | OrderedListDefinition | PanelDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | RuleDefinition | TaskListDefinition>;
1451
+
1452
+ // @public (undocumented)
1453
+ export const tableCellContentDomSelector: string;
1454
+
1455
+ // @public (undocumented)
1456
+ export const tableCellContentWrapperSelector: string;
1457
+
1458
+ // @public
1459
+ export interface TableCellDefinition {
1460
+ // (undocumented)
1461
+ attrs?: CellAttributes;
1462
+ // (undocumented)
1463
+ content: TableCellContent;
1464
+ // (undocumented)
1465
+ type: 'tableCell';
1466
+ }
1467
+
1468
+ // @public (undocumented)
1469
+ export const tableCellSelector: string;
1470
+
1471
+ // @public
1472
+ export interface TableDefinition {
1473
+ // (undocumented)
1474
+ attrs?: TableAttributes;
1475
+ // (undocumented)
1476
+ content: Array<TableRowDefinition>;
1477
+ // (undocumented)
1478
+ marks?: Array<FragmentDefinition>;
1479
+ // (undocumented)
1480
+ type: 'table';
1481
+ }
1482
+
1483
+ // @public (undocumented)
1484
+ export const tableHeader: NodeSpec;
1485
+
1486
+ // @public
1487
+ export interface TableHeaderDefinition {
1488
+ // (undocumented)
1489
+ attrs?: CellAttributes;
1490
+ // (undocumented)
1491
+ content: TableCellContent;
1492
+ // (undocumented)
1493
+ type: 'tableHeader';
1494
+ }
1495
+
1496
+ // @public (undocumented)
1497
+ export const tableHeaderSelector: string;
1498
+
1499
+ // @public (undocumented)
1500
+ export type TableLayout = 'default' | 'full-width' | 'wide';
1501
+
1502
+ // @public (undocumented)
1503
+ export const tablePrefixSelector = "pm-table";
1504
+
1505
+ // @public (undocumented)
1506
+ export const tableRow: NodeSpec;
1507
+
1508
+ // @public
1509
+ export interface TableRowDefinition {
1510
+ // (undocumented)
1511
+ content: Array<TableCellDefinition | TableHeaderDefinition>;
1512
+ // (undocumented)
1513
+ type: 'tableRow';
1514
+ }
1515
+
1516
+ // @public (undocumented)
1517
+ export const tableToJSON: (node: Node_2) => {
1518
+ attrs: {
1519
+ [key: string]: any;
1520
+ };
1521
+ };
1522
+
1523
+ // @public (undocumented)
1524
+ export const tableWithCustomWidth: NodeSpec;
1525
+
1526
+ // @public (undocumented)
1527
+ export const taskItem: NodeSpec;
1528
+
1529
+ // @public
1530
+ export interface TaskItemDefinition {
1531
+ // (undocumented)
1532
+ attrs: {
1533
+ localId: string;
1534
+ state: 'DONE' | 'TODO';
1535
+ };
1536
+ content?: Array<Inline>;
1537
+ // (undocumented)
1538
+ type: 'taskItem';
1539
+ }
1540
+
1541
+ // @public (undocumented)
1542
+ export const taskList: NodeSpec;
1543
+
1544
+ // @public (undocumented)
1545
+ export interface TaskListContent extends Array<TaskItemDefinition | TaskListDefinition> {
1546
+ // (undocumented)
1547
+ 0: TaskItemDefinition;
1548
+ }
1549
+
1550
+ // @public
1551
+ export interface TaskListDefinition {
1552
+ // (undocumented)
1553
+ attrs: {
1554
+ localId: string;
1555
+ };
1556
+ content: TaskListContent;
1557
+ // (undocumented)
1558
+ type: 'taskList';
1559
+ }
1560
+
1561
+ // @public (undocumented)
1562
+ export const taskListSelector: string;
1563
+
1564
+ // @public (undocumented)
1565
+ export const text: NodeSpec & {
1566
+ toDebugString?: () => string;
1567
+ };
1568
+
1569
+ // @public (undocumented)
1570
+ export const textColor: MarkSpec;
1571
+
1572
+ // @public (undocumented)
1573
+ export interface TextColorAttributes {
1574
+ color: string;
1575
+ }
1576
+
1577
+ // @public
1578
+ export interface TextColorDefinition {
1579
+ // (undocumented)
1580
+ attrs: TextColorAttributes;
1581
+ // (undocumented)
1582
+ type: 'textColor';
1583
+ }
1584
+
1585
+ // @public (undocumented)
1586
+ type TextColorKey = 'Blue' | 'Dark blue' | 'Dark gray' | 'Dark green' | 'Dark purple' | 'Dark red' | 'Dark teal' | 'Green' | 'Light blue' | 'Light gray' | 'Light green' | 'Light purple' | 'Light red' | 'Light teal' | 'Light yellow' | 'Orange' | 'Purple' | 'Red' | 'Teal' | 'White' | 'Yellow';
1587
+
1588
+ // @public
1589
+ export interface TextDefinition {
1590
+ // (undocumented)
1591
+ marks?: Array<any>;
1592
+ // (undocumented)
1593
+ text: string;
1594
+ // (undocumented)
1595
+ type: 'text';
1596
+ }
1597
+
1598
+ // @public (undocumented)
1599
+ export const toJSONTableCell: (node: Node_2) => {
1600
+ attrs: Record<string, any>;
1601
+ };
1602
+
1603
+ // @public (undocumented)
1604
+ export const toJSONTableHeader: (node: Node_2) => {
1605
+ attrs: Record<string, any>;
1606
+ };
1607
+
1608
+ // @public (undocumented)
1609
+ export const typeAheadQuery: MarkSpec;
1610
+
1611
+ // @public (undocumented)
1612
+ export const underline: MarkSpec;
1613
+
1614
+ // @public
1615
+ export interface UnderlineDefinition {
1616
+ // (undocumented)
1617
+ type: 'underline';
1618
+ }
1619
+
1620
+ // @public (undocumented)
1621
+ export const unknownBlock: NodeSpec;
1622
+
1623
+ // @public (undocumented)
1624
+ export const unsupportedBlock: NodeSpec;
1625
+
1626
+ // @public (undocumented)
1627
+ export const unsupportedInline: NodeSpec;
1628
+
1629
+ // @public (undocumented)
1630
+ export const unsupportedMark: MarkSpec;
1631
+
1632
+ // @public (undocumented)
1633
+ export const unsupportedNodeAttribute: MarkSpec;
1634
+
1635
+ // @public (undocumented)
1636
+ export const unsupportedNodeTypesForMediaCards: Set<string>;
1637
+
1638
+ // @public (undocumented)
1639
+ export interface UrlType {
1640
+ url: string;
1641
+ }
1642
+
1643
+ // @public (undocumented)
1644
+ enum USER_TYPES {
1645
+ // (undocumented)
1646
+ APP = "APP",
1647
+ // (undocumented)
1648
+ DEFAULT = "DEFAULT",
1649
+ // (undocumented)
1650
+ SPECIAL = "SPECIAL"
1651
+ }
1652
+
1653
+ // @public (undocumented)
1654
+ export const uuid: {
1655
+ setStatic(value: false | string): void;
1656
+ generate(): string;
1657
+ };
1658
+
1659
+ // @public (undocumented)
1660
+ export const Y200 = "#FFC400";
1661
+
1662
+ // @public (undocumented)
1663
+ export const Y400 = "#FF991F";
1664
+
1665
+ // @public (undocumented)
1666
+ export const Y50 = "#FFFAE6";
1667
+
1668
+ // @public (undocumented)
1669
+ export const Y500 = "#FF8B00";
1670
+
1671
+ // @public (undocumented)
1672
+ export const Y75 = "#FFF0B3";
1673
+
1674
+ // (No @packageDocumentation comment for this package)
1675
+
1676
+ ```