markstream-vue2 0.0.17 → 0.0.19-beta.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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as vue from 'vue';
2
- import { BaseNode, ParseOptions, MarkdownIt } from 'stream-markdown-parser';
2
+ import { BaseNode, ParseOptions, MarkdownIt, CodeBlockNode } from 'stream-markdown-parser';
3
3
  export * from 'stream-markdown-parser';
4
4
  export { KATEX_COMMANDS, MathOptions, normalizeStandaloneBackslashT, setDefaultMathOptions } from 'stream-markdown-parser';
5
5
 
@@ -23,76 +23,76 @@ interface AdmonitionNode {
23
23
  collapsible?: boolean;
24
24
  open?: boolean;
25
25
  }
26
- type __VLS_Props$n = {
26
+ type __VLS_Props$r = {
27
27
  node: AdmonitionNode;
28
28
  indexKey: number | string;
29
29
  isDark?: boolean;
30
30
  typewriter?: boolean;
31
31
  customId?: string;
32
32
  };
33
- declare const _default$y: vue.DefineComponent<__VLS_TypePropsToOption$v<__VLS_Props$n>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
+ declare const _default$D: vue.DefineComponent<__VLS_TypePropsToOption$A<__VLS_Props$r>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
34
34
  copy: (...args: any[]) => void;
35
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$v<__VLS_Props$n>>>, {}>;
35
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$A<__VLS_Props$r>>>, {}>;
36
36
 
37
- type __VLS_NonUndefinedable$v<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption$v<T> = {
37
+ type __VLS_NonUndefinedable$A<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToOption$A<T> = {
39
39
  [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: vue.PropType<__VLS_NonUndefinedable$v<T[K]>>;
40
+ type: vue.PropType<__VLS_NonUndefinedable$A<T[K]>>;
41
41
  } : {
42
42
  type: vue.PropType<T[K]>;
43
43
  required: true;
44
44
  };
45
45
  };
46
46
 
47
- interface NodeChild$a {
47
+ interface NodeChild$b {
48
48
  type: string;
49
49
  raw: string;
50
50
  [key: string]: unknown;
51
51
  }
52
52
  interface BlockquoteNode {
53
53
  type: 'blockquote';
54
- children: NodeChild$a[];
54
+ children: NodeChild$b[];
55
55
  raw: string;
56
56
  cite?: string;
57
57
  }
58
- type __VLS_Props$m = {
58
+ type __VLS_Props$q = {
59
59
  node: BlockquoteNode;
60
60
  indexKey: string | number;
61
61
  typewriter?: boolean;
62
62
  customId?: string;
63
63
  };
64
- declare const _default$x: vue.DefineComponent<__VLS_TypePropsToOption$u<__VLS_Props$m>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$u<__VLS_Props$m>>>, {}>;
64
+ declare const _default$C: vue.DefineComponent<__VLS_TypePropsToOption$z<__VLS_Props$q>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$z<__VLS_Props$q>>>, {}>;
65
65
 
66
- type __VLS_NonUndefinedable$u<T> = T extends undefined ? never : T;
67
- type __VLS_TypePropsToOption$u<T> = {
66
+ type __VLS_NonUndefinedable$z<T> = T extends undefined ? never : T;
67
+ type __VLS_TypePropsToOption$z<T> = {
68
68
  [K in keyof T]-?: {} extends Pick<T, K> ? {
69
- type: vue.PropType<__VLS_NonUndefinedable$u<T[K]>>;
69
+ type: vue.PropType<__VLS_NonUndefinedable$z<T[K]>>;
70
70
  } : {
71
71
  type: vue.PropType<T[K]>;
72
72
  required: true;
73
73
  };
74
74
  };
75
75
 
76
- type __VLS_Props$l = {
76
+ type __VLS_Props$p = {
77
77
  node: {
78
78
  type: 'checkbox';
79
79
  checked: boolean;
80
80
  raw: string;
81
81
  };
82
82
  };
83
- declare const _default$w: vue.DefineComponent<__VLS_TypePropsToOption$t<__VLS_Props$l>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$t<__VLS_Props$l>>>, {}>;
83
+ declare const _default$B: vue.DefineComponent<__VLS_TypePropsToOption$y<__VLS_Props$p>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$y<__VLS_Props$p>>>, {}>;
84
84
 
85
- type __VLS_NonUndefinedable$t<T> = T extends undefined ? never : T;
86
- type __VLS_TypePropsToOption$t<T> = {
85
+ type __VLS_NonUndefinedable$y<T> = T extends undefined ? never : T;
86
+ type __VLS_TypePropsToOption$y<T> = {
87
87
  [K in keyof T]-?: {} extends Pick<T, K> ? {
88
- type: vue.PropType<__VLS_NonUndefinedable$t<T[K]>>;
88
+ type: vue.PropType<__VLS_NonUndefinedable$y<T[K]>>;
89
89
  } : {
90
90
  type: vue.PropType<T[K]>;
91
91
  required: true;
92
92
  };
93
93
  };
94
94
 
95
- declare function __VLS_template$6(): {
95
+ declare function __VLS_template$7(): {
96
96
  attrs: Partial<{}>;
97
97
  slots: {
98
98
  'header-left'?(_: {}): any;
@@ -108,8 +108,8 @@ declare function __VLS_template$6(): {
108
108
  };
109
109
  rootEl: any;
110
110
  };
111
- type __VLS_TemplateResult$6 = ReturnType<typeof __VLS_template$6>;
112
- declare const __VLS_component$6: vue.DefineComponent<{
111
+ type __VLS_TemplateResult$7 = ReturnType<typeof __VLS_template$7>;
112
+ declare const __VLS_component$7: vue.DefineComponent<{
113
113
  node: {
114
114
  type: ObjectConstructor;
115
115
  required: true;
@@ -277,9 +277,9 @@ declare const __VLS_component$6: vue.DefineComponent<{
277
277
  showPreviewButton: boolean;
278
278
  showFontSizeButtons: boolean;
279
279
  }>;
280
- declare const _default$v: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
280
+ declare const _default$A: __VLS_WithTemplateSlots$7<typeof __VLS_component$7, __VLS_TemplateResult$7["slots"]>;
281
281
 
282
- type __VLS_WithTemplateSlots$6<T, S> = T & {
282
+ type __VLS_WithTemplateSlots$7<T, S> = T & {
283
283
  new (): {
284
284
  $scopedSlots: S;
285
285
  };
@@ -302,27 +302,27 @@ interface DefinitionListNode {
302
302
  items: DefinitionItemNode[];
303
303
  raw: string;
304
304
  }
305
- type __VLS_Props$k = {
305
+ type __VLS_Props$o = {
306
306
  node: DefinitionListNode;
307
307
  indexKey: string | number;
308
308
  typewriter?: boolean;
309
309
  customId?: string;
310
310
  };
311
- declare const _default$u: vue.DefineComponent<__VLS_TypePropsToOption$s<__VLS_Props$k>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
311
+ declare const _default$z: vue.DefineComponent<__VLS_TypePropsToOption$x<__VLS_Props$o>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
312
312
  copy: (...args: any[]) => void;
313
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$s<__VLS_Props$k>>>, {}>;
313
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$x<__VLS_Props$o>>>, {}>;
314
314
 
315
- type __VLS_NonUndefinedable$s<T> = T extends undefined ? never : T;
316
- type __VLS_TypePropsToOption$s<T> = {
315
+ type __VLS_NonUndefinedable$x<T> = T extends undefined ? never : T;
316
+ type __VLS_TypePropsToOption$x<T> = {
317
317
  [K in keyof T]-?: {} extends Pick<T, K> ? {
318
- type: vue.PropType<__VLS_NonUndefinedable$s<T[K]>>;
318
+ type: vue.PropType<__VLS_NonUndefinedable$x<T[K]>>;
319
319
  } : {
320
320
  type: vue.PropType<T[K]>;
321
321
  required: true;
322
322
  };
323
323
  };
324
324
 
325
- type __VLS_Props$j = {
325
+ type __VLS_Props$n = {
326
326
  node: {
327
327
  type: 'emoji';
328
328
  name: string;
@@ -330,31 +330,57 @@ type __VLS_Props$j = {
330
330
  raw: string;
331
331
  };
332
332
  };
333
- declare const _default$t: vue.DefineComponent<__VLS_TypePropsToOption$r<__VLS_Props$j>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$r<__VLS_Props$j>>>, {}>;
333
+ declare const _default$y: vue.DefineComponent<__VLS_TypePropsToOption$w<__VLS_Props$n>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$w<__VLS_Props$n>>>, {}>;
334
334
 
335
- type __VLS_NonUndefinedable$r<T> = T extends undefined ? never : T;
336
- type __VLS_TypePropsToOption$r<T> = {
335
+ type __VLS_NonUndefinedable$w<T> = T extends undefined ? never : T;
336
+ type __VLS_TypePropsToOption$w<T> = {
337
337
  [K in keyof T]-?: {} extends Pick<T, K> ? {
338
- type: vue.PropType<__VLS_NonUndefinedable$r<T[K]>>;
338
+ type: vue.PropType<__VLS_NonUndefinedable$w<T[K]>>;
339
339
  } : {
340
340
  type: vue.PropType<T[K]>;
341
341
  required: true;
342
342
  };
343
343
  };
344
344
 
345
- type __VLS_Props$i = {
345
+ interface NodeChild$a {
346
+ type: string;
347
+ raw: string;
348
+ [key: string]: unknown;
349
+ }
350
+ type __VLS_Props$m = {
351
+ node: {
352
+ type: 'emphasis';
353
+ children: NodeChild$a[];
354
+ raw: string;
355
+ };
356
+ customId?: string;
357
+ indexKey?: number | string;
358
+ };
359
+ declare const _default$x: vue.DefineComponent<__VLS_TypePropsToOption$v<__VLS_Props$m>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$v<__VLS_Props$m>>>, {}>;
360
+
361
+ type __VLS_NonUndefinedable$v<T> = T extends undefined ? never : T;
362
+ type __VLS_TypePropsToOption$v<T> = {
363
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
364
+ type: vue.PropType<__VLS_NonUndefinedable$v<T[K]>>;
365
+ } : {
366
+ type: vue.PropType<T[K]>;
367
+ required: true;
368
+ };
369
+ };
370
+
371
+ type __VLS_Props$l = {
346
372
  node: {
347
373
  type: 'footnote_anchor';
348
374
  id: string;
349
375
  raw?: string;
350
376
  };
351
377
  };
352
- declare const _default$s: vue.DefineComponent<__VLS_TypePropsToOption$q<__VLS_Props$i>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$q<__VLS_Props$i>>>, {}>;
378
+ declare const _default$w: vue.DefineComponent<__VLS_TypePropsToOption$u<__VLS_Props$l>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$u<__VLS_Props$l>>>, {}>;
353
379
 
354
- type __VLS_NonUndefinedable$q<T> = T extends undefined ? never : T;
355
- type __VLS_TypePropsToOption$q<T> = {
380
+ type __VLS_NonUndefinedable$u<T> = T extends undefined ? never : T;
381
+ type __VLS_TypePropsToOption$u<T> = {
356
382
  [K in keyof T]-?: {} extends Pick<T, K> ? {
357
- type: vue.PropType<__VLS_NonUndefinedable$q<T[K]>>;
383
+ type: vue.PropType<__VLS_NonUndefinedable$u<T[K]>>;
358
384
  } : {
359
385
  type: vue.PropType<T[K]>;
360
386
  required: true;
@@ -370,20 +396,20 @@ interface FootnoteNode {
370
396
  }[];
371
397
  raw: string;
372
398
  }
373
- type __VLS_Props$h = {
399
+ type __VLS_Props$k = {
374
400
  node: FootnoteNode;
375
401
  indexKey: string | number;
376
402
  typewriter?: boolean;
377
403
  customId?: string;
378
404
  };
379
- declare const _default$r: vue.DefineComponent<__VLS_TypePropsToOption$p<__VLS_Props$h>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
405
+ declare const _default$v: vue.DefineComponent<__VLS_TypePropsToOption$t<__VLS_Props$k>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
380
406
  copy: (...args: any[]) => void;
381
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$p<__VLS_Props$h>>>, {}>;
407
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$t<__VLS_Props$k>>>, {}>;
382
408
 
383
- type __VLS_NonUndefinedable$p<T> = T extends undefined ? never : T;
384
- type __VLS_TypePropsToOption$p<T> = {
409
+ type __VLS_NonUndefinedable$t<T> = T extends undefined ? never : T;
410
+ type __VLS_TypePropsToOption$t<T> = {
385
411
  [K in keyof T]-?: {} extends Pick<T, K> ? {
386
- type: vue.PropType<__VLS_NonUndefinedable$p<T[K]>>;
412
+ type: vue.PropType<__VLS_NonUndefinedable$t<T[K]>>;
387
413
  } : {
388
414
  type: vue.PropType<T[K]>;
389
415
  required: true;
@@ -395,15 +421,15 @@ interface FootnoteReferenceNode {
395
421
  id: string;
396
422
  raw: string;
397
423
  }
398
- type __VLS_Props$g = {
424
+ type __VLS_Props$j = {
399
425
  node: FootnoteReferenceNode;
400
426
  };
401
- declare const _default$q: vue.DefineComponent<__VLS_TypePropsToOption$o<__VLS_Props$g>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$o<__VLS_Props$g>>>, {}>;
427
+ declare const _default$u: vue.DefineComponent<__VLS_TypePropsToOption$s<__VLS_Props$j>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$s<__VLS_Props$j>>>, {}>;
402
428
 
403
- type __VLS_NonUndefinedable$o<T> = T extends undefined ? never : T;
404
- type __VLS_TypePropsToOption$o<T> = {
429
+ type __VLS_NonUndefinedable$s<T> = T extends undefined ? never : T;
430
+ type __VLS_TypePropsToOption$s<T> = {
405
431
  [K in keyof T]-?: {} extends Pick<T, K> ? {
406
- type: vue.PropType<__VLS_NonUndefinedable$o<T[K]>>;
432
+ type: vue.PropType<__VLS_NonUndefinedable$s<T[K]>>;
407
433
  } : {
408
434
  type: vue.PropType<T[K]>;
409
435
  required: true;
@@ -414,15 +440,15 @@ interface HardBreakNode {
414
440
  type: 'hardbreak';
415
441
  raw: string;
416
442
  }
417
- type __VLS_Props$f = {
443
+ type __VLS_Props$i = {
418
444
  node: HardBreakNode;
419
445
  };
420
- declare const _default$p: vue.DefineComponent<__VLS_TypePropsToOption$n<__VLS_Props$f>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$n<__VLS_Props$f>>>, {}>;
446
+ declare const _default$t: vue.DefineComponent<__VLS_TypePropsToOption$r<__VLS_Props$i>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$r<__VLS_Props$i>>>, {}>;
421
447
 
422
- type __VLS_NonUndefinedable$n<T> = T extends undefined ? never : T;
423
- type __VLS_TypePropsToOption$n<T> = {
448
+ type __VLS_NonUndefinedable$r<T> = T extends undefined ? never : T;
449
+ type __VLS_TypePropsToOption$r<T> = {
424
450
  [K in keyof T]-?: {} extends Pick<T, K> ? {
425
- type: vue.PropType<__VLS_NonUndefinedable$n<T[K]>>;
451
+ type: vue.PropType<__VLS_NonUndefinedable$r<T[K]>>;
426
452
  } : {
427
453
  type: vue.PropType<T[K]>;
428
454
  required: true;
@@ -434,7 +460,7 @@ interface NodeChild$9 {
434
460
  raw: string;
435
461
  [key: string]: unknown;
436
462
  }
437
- type __VLS_Props$e = {
463
+ type __VLS_Props$h = {
438
464
  node: {
439
465
  type: 'heading';
440
466
  level: number;
@@ -446,12 +472,12 @@ type __VLS_Props$e = {
446
472
  customId?: string;
447
473
  indexKey?: number | string;
448
474
  };
449
- declare const _default$o: vue.DefineComponent<__VLS_TypePropsToOption$m<__VLS_Props$e>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$m<__VLS_Props$e>>>, {}>;
475
+ declare const _default$s: vue.DefineComponent<__VLS_TypePropsToOption$q<__VLS_Props$h>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$q<__VLS_Props$h>>>, {}>;
450
476
 
451
- type __VLS_NonUndefinedable$m<T> = T extends undefined ? never : T;
452
- type __VLS_TypePropsToOption$m<T> = {
477
+ type __VLS_NonUndefinedable$q<T> = T extends undefined ? never : T;
478
+ type __VLS_TypePropsToOption$q<T> = {
453
479
  [K in keyof T]-?: {} extends Pick<T, K> ? {
454
- type: vue.PropType<__VLS_NonUndefinedable$m<T[K]>>;
480
+ type: vue.PropType<__VLS_NonUndefinedable$q<T[K]>>;
455
481
  } : {
456
482
  type: vue.PropType<T[K]>;
457
483
  required: true;
@@ -463,7 +489,7 @@ interface NodeChild$8 {
463
489
  raw: string;
464
490
  [key: string]: unknown;
465
491
  }
466
- type __VLS_Props$d = {
492
+ type __VLS_Props$g = {
467
493
  node: {
468
494
  type: 'highlight';
469
495
  children: NodeChild$8[];
@@ -472,19 +498,62 @@ type __VLS_Props$d = {
472
498
  customId?: string;
473
499
  indexKey?: number | string;
474
500
  };
475
- declare const _default$n: vue.DefineComponent<__VLS_TypePropsToOption$l<__VLS_Props$d>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$l<__VLS_Props$d>>>, {}>;
501
+ declare const _default$r: vue.DefineComponent<__VLS_TypePropsToOption$p<__VLS_Props$g>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$p<__VLS_Props$g>>>, {}>;
476
502
 
477
- type __VLS_NonUndefinedable$l<T> = T extends undefined ? never : T;
478
- type __VLS_TypePropsToOption$l<T> = {
503
+ type __VLS_NonUndefinedable$p<T> = T extends undefined ? never : T;
504
+ type __VLS_TypePropsToOption$p<T> = {
479
505
  [K in keyof T]-?: {} extends Pick<T, K> ? {
480
- type: vue.PropType<__VLS_NonUndefinedable$l<T[K]>>;
506
+ type: vue.PropType<__VLS_NonUndefinedable$p<T[K]>>;
481
507
  } : {
482
508
  type: vue.PropType<T[K]>;
483
509
  required: true;
484
510
  };
485
511
  };
486
512
 
487
- type __VLS_Props$c = {
513
+ type __VLS_Props$f = {
514
+ node: {
515
+ content: string;
516
+ attrs?: [string, string][] | null;
517
+ loading?: boolean;
518
+ };
519
+ customId?: string;
520
+ };
521
+ declare function __VLS_template$6(): {
522
+ attrs: Partial<{}>;
523
+ slots: {
524
+ placeholder?(_: {
525
+ node: {
526
+ content: string;
527
+ attrs?: [string, string][] | null;
528
+ loading?: boolean;
529
+ };
530
+ }): any;
531
+ };
532
+ refs: {
533
+ htmlRef: HTMLDivElement;
534
+ };
535
+ rootEl: HTMLDivElement;
536
+ };
537
+ type __VLS_TemplateResult$6 = ReturnType<typeof __VLS_template$6>;
538
+ declare const __VLS_component$6: vue.DefineComponent<__VLS_TypePropsToOption$o<__VLS_Props$f>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$o<__VLS_Props$f>>>, {}>;
539
+ declare const _default$q: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
540
+
541
+ type __VLS_NonUndefinedable$o<T> = T extends undefined ? never : T;
542
+ type __VLS_TypePropsToOption$o<T> = {
543
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
544
+ type: vue.PropType<__VLS_NonUndefinedable$o<T[K]>>;
545
+ } : {
546
+ type: vue.PropType<T[K]>;
547
+ required: true;
548
+ };
549
+ };
550
+ type __VLS_WithTemplateSlots$6<T, S> = T & {
551
+ new (): {
552
+ $scopedSlots: S;
553
+ };
554
+ };
555
+
556
+ type __VLS_Props$e = {
488
557
  node: {
489
558
  type: 'html_inline';
490
559
  tag?: string;
@@ -494,19 +563,19 @@ type __VLS_Props$c = {
494
563
  };
495
564
  customId?: string;
496
565
  };
497
- declare const _default$m: vue.DefineComponent<__VLS_TypePropsToOption$k<__VLS_Props$c>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$k<__VLS_Props$c>>>, {}>;
566
+ declare const _default$p: vue.DefineComponent<__VLS_TypePropsToOption$n<__VLS_Props$e>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$n<__VLS_Props$e>>>, {}>;
498
567
 
499
- type __VLS_NonUndefinedable$k<T> = T extends undefined ? never : T;
500
- type __VLS_TypePropsToOption$k<T> = {
568
+ type __VLS_NonUndefinedable$n<T> = T extends undefined ? never : T;
569
+ type __VLS_TypePropsToOption$n<T> = {
501
570
  [K in keyof T]-?: {} extends Pick<T, K> ? {
502
- type: vue.PropType<__VLS_NonUndefinedable$k<T[K]>>;
571
+ type: vue.PropType<__VLS_NonUndefinedable$n<T[K]>>;
503
572
  } : {
504
573
  type: vue.PropType<T[K]>;
505
574
  required: true;
506
575
  };
507
576
  };
508
577
 
509
- interface ImageNodeProps {
578
+ interface ImageNodeProps$1 {
510
579
  node: {
511
580
  type: 'image';
512
581
  src: string;
@@ -563,7 +632,7 @@ declare function __VLS_template$5(): {
563
632
  rootEl: HTMLElement;
564
633
  };
565
634
  type __VLS_TemplateResult$5 = ReturnType<typeof __VLS_template$5>;
566
- declare const __VLS_component$5: vue.DefineComponent<__VLS_WithDefaults$4<__VLS_TypePropsToOption$j<ImageNodeProps>, {
635
+ declare const __VLS_component$5: vue.DefineComponent<__VLS_WithDefaults$5<__VLS_TypePropsToOption$m<ImageNodeProps$1>, {
567
636
  fallbackSrc: string;
568
637
  showCaption: boolean;
569
638
  lazy: boolean;
@@ -573,7 +642,7 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_WithDefaults$4<__VLS_
573
642
  load: (src: string) => void;
574
643
  error: (src: string) => void;
575
644
  click: (payload: [Event, string]) => void;
576
- }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$4<__VLS_TypePropsToOption$j<ImageNodeProps>, {
645
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$5<__VLS_TypePropsToOption$m<ImageNodeProps$1>, {
577
646
  fallbackSrc: string;
578
647
  showCaption: boolean;
579
648
  lazy: boolean;
@@ -586,17 +655,17 @@ declare const __VLS_component$5: vue.DefineComponent<__VLS_WithDefaults$4<__VLS_
586
655
  svgMinHeight: string;
587
656
  usePlaceholder: boolean;
588
657
  }>;
589
- declare const _default$l: __VLS_WithTemplateSlots$5<typeof __VLS_component$5, __VLS_TemplateResult$5["slots"]>;
658
+ declare const _default$o: __VLS_WithTemplateSlots$5<typeof __VLS_component$5, __VLS_TemplateResult$5["slots"]>;
590
659
 
591
- type __VLS_WithDefaults$4<P, D> = {
592
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal$4<P[K] & {
660
+ type __VLS_WithDefaults$5<P, D> = {
661
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal$5<P[K] & {
593
662
  default: D[K];
594
663
  }> : P[K];
595
664
  };
596
- type __VLS_NonUndefinedable$j<T> = T extends undefined ? never : T;
597
- type __VLS_TypePropsToOption$j<T> = {
665
+ type __VLS_NonUndefinedable$m<T> = T extends undefined ? never : T;
666
+ type __VLS_TypePropsToOption$m<T> = {
598
667
  [K in keyof T]-?: {} extends Pick<T, K> ? {
599
- type: vue.PropType<__VLS_NonUndefinedable$j<T[K]>>;
668
+ type: vue.PropType<__VLS_NonUndefinedable$m<T[K]>>;
600
669
  } : {
601
670
  type: vue.PropType<T[K]>;
602
671
  required: true;
@@ -607,11 +676,78 @@ type __VLS_WithTemplateSlots$5<T, S> = T & {
607
676
  $scopedSlots: S;
608
677
  };
609
678
  };
679
+ type __VLS_PrettifyLocal$5<T> = {
680
+ [K in keyof T]: T[K];
681
+ } & {};
682
+
683
+ interface D2BlockNodeProps$1 {
684
+ node: {
685
+ code?: string;
686
+ };
687
+ maxHeight?: string | number | null;
688
+ loading?: boolean;
689
+ isDark?: boolean;
690
+ progressiveRender?: boolean;
691
+ progressiveIntervalMs?: number;
692
+ themeId?: number | null;
693
+ darkThemeId?: number | null;
694
+ showHeader?: boolean;
695
+ showModeToggle?: boolean;
696
+ showCopyButton?: boolean;
697
+ showExportButton?: boolean;
698
+ showCollapseButton?: boolean;
699
+ }
700
+ declare const _default$n: vue.DefineComponent<__VLS_WithDefaults$4<__VLS_TypePropsToOption$l<D2BlockNodeProps$1>, {
701
+ maxHeight: string;
702
+ loading: boolean;
703
+ progressiveRender: boolean;
704
+ progressiveIntervalMs: number;
705
+ showHeader: boolean;
706
+ showModeToggle: boolean;
707
+ showCopyButton: boolean;
708
+ showExportButton: boolean;
709
+ showCollapseButton: boolean;
710
+ }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$4<__VLS_TypePropsToOption$l<D2BlockNodeProps$1>, {
711
+ maxHeight: string;
712
+ loading: boolean;
713
+ progressiveRender: boolean;
714
+ progressiveIntervalMs: number;
715
+ showHeader: boolean;
716
+ showModeToggle: boolean;
717
+ showCopyButton: boolean;
718
+ showExportButton: boolean;
719
+ showCollapseButton: boolean;
720
+ }>>>, {
721
+ maxHeight: string | number | null;
722
+ loading: boolean;
723
+ showHeader: boolean;
724
+ showCopyButton: boolean;
725
+ showModeToggle: boolean;
726
+ showExportButton: boolean;
727
+ showCollapseButton: boolean;
728
+ progressiveRender: boolean;
729
+ progressiveIntervalMs: number;
730
+ }>;
731
+
732
+ type __VLS_WithDefaults$4<P, D> = {
733
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal$4<P[K] & {
734
+ default: D[K];
735
+ }> : P[K];
736
+ };
737
+ type __VLS_NonUndefinedable$l<T> = T extends undefined ? never : T;
738
+ type __VLS_TypePropsToOption$l<T> = {
739
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
740
+ type: vue.PropType<__VLS_NonUndefinedable$l<T[K]>>;
741
+ } : {
742
+ type: vue.PropType<T[K]>;
743
+ required: true;
744
+ };
745
+ };
610
746
  type __VLS_PrettifyLocal$4<T> = {
611
747
  [K in keyof T]: T[K];
612
748
  } & {};
613
749
 
614
- interface InfographicBlockNodeProps {
750
+ interface InfographicBlockNodeProps$1 {
615
751
  node: any;
616
752
  maxHeight?: string | null;
617
753
  loading?: boolean;
@@ -638,7 +774,7 @@ declare function __VLS_template$4(): {
638
774
  rootEl: HTMLDivElement;
639
775
  };
640
776
  type __VLS_TemplateResult$4 = ReturnType<typeof __VLS_template$4>;
641
- declare const __VLS_component$4: vue.DefineComponent<__VLS_WithDefaults$3<__VLS_TypePropsToOption$i<InfographicBlockNodeProps>, {
777
+ declare const __VLS_component$4: vue.DefineComponent<__VLS_WithDefaults$3<__VLS_TypePropsToOption$k<InfographicBlockNodeProps$1>, {
642
778
  maxHeight: string;
643
779
  loading: boolean;
644
780
  showHeader: boolean;
@@ -652,7 +788,7 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_WithDefaults$3<__VLS_
652
788
  copy: (...args: any[]) => void;
653
789
  export: (...args: any[]) => void;
654
790
  openModal: (...args: any[]) => void;
655
- }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$3<__VLS_TypePropsToOption$i<InfographicBlockNodeProps>, {
791
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$3<__VLS_TypePropsToOption$k<InfographicBlockNodeProps$1>, {
656
792
  maxHeight: string;
657
793
  loading: boolean;
658
794
  showHeader: boolean;
@@ -673,17 +809,17 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_WithDefaults$3<__VLS_
673
809
  showCollapseButton: boolean;
674
810
  showZoomControls: boolean;
675
811
  }>;
676
- declare const _default$k: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
812
+ declare const _default$m: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
677
813
 
678
814
  type __VLS_WithDefaults$3<P, D> = {
679
815
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal$3<P[K] & {
680
816
  default: D[K];
681
817
  }> : P[K];
682
818
  };
683
- type __VLS_NonUndefinedable$i<T> = T extends undefined ? never : T;
684
- type __VLS_TypePropsToOption$i<T> = {
819
+ type __VLS_NonUndefinedable$k<T> = T extends undefined ? never : T;
820
+ type __VLS_TypePropsToOption$k<T> = {
685
821
  [K in keyof T]-?: {} extends Pick<T, K> ? {
686
- type: vue.PropType<__VLS_NonUndefinedable$i<T[K]>>;
822
+ type: vue.PropType<__VLS_NonUndefinedable$k<T[K]>>;
687
823
  } : {
688
824
  type: vue.PropType<T[K]>;
689
825
  required: true;
@@ -698,19 +834,19 @@ type __VLS_PrettifyLocal$3<T> = {
698
834
  [K in keyof T]: T[K];
699
835
  } & {};
700
836
 
701
- type __VLS_Props$b = {
837
+ type __VLS_Props$d = {
702
838
  node: {
703
839
  type: 'inline_code';
704
840
  code: string;
705
841
  raw: string;
706
842
  };
707
843
  };
708
- declare const _default$j: vue.DefineComponent<__VLS_TypePropsToOption$h<__VLS_Props$b>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$h<__VLS_Props$b>>>, {}>;
844
+ declare const _default$l: vue.DefineComponent<__VLS_TypePropsToOption$j<__VLS_Props$d>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$j<__VLS_Props$d>>>, {}>;
709
845
 
710
- type __VLS_NonUndefinedable$h<T> = T extends undefined ? never : T;
711
- type __VLS_TypePropsToOption$h<T> = {
846
+ type __VLS_NonUndefinedable$j<T> = T extends undefined ? never : T;
847
+ type __VLS_TypePropsToOption$j<T> = {
712
848
  [K in keyof T]-?: {} extends Pick<T, K> ? {
713
- type: vue.PropType<__VLS_NonUndefinedable$h<T[K]>>;
849
+ type: vue.PropType<__VLS_NonUndefinedable$j<T[K]>>;
714
850
  } : {
715
851
  type: vue.PropType<T[K]>;
716
852
  required: true;
@@ -722,7 +858,7 @@ interface NodeChild$7 {
722
858
  raw: string;
723
859
  [key: string]: unknown;
724
860
  }
725
- type __VLS_Props$a = {
861
+ type __VLS_Props$c = {
726
862
  node: {
727
863
  type: 'insert';
728
864
  children: NodeChild$7[];
@@ -731,19 +867,19 @@ type __VLS_Props$a = {
731
867
  customId?: string;
732
868
  indexKey?: number | string;
733
869
  };
734
- declare const _default$i: vue.DefineComponent<__VLS_TypePropsToOption$g<__VLS_Props$a>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$g<__VLS_Props$a>>>, {}>;
870
+ declare const _default$k: vue.DefineComponent<__VLS_TypePropsToOption$i<__VLS_Props$c>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$i<__VLS_Props$c>>>, {}>;
735
871
 
736
- type __VLS_NonUndefinedable$g<T> = T extends undefined ? never : T;
737
- type __VLS_TypePropsToOption$g<T> = {
872
+ type __VLS_NonUndefinedable$i<T> = T extends undefined ? never : T;
873
+ type __VLS_TypePropsToOption$i<T> = {
738
874
  [K in keyof T]-?: {} extends Pick<T, K> ? {
739
- type: vue.PropType<__VLS_NonUndefinedable$g<T[K]>>;
875
+ type: vue.PropType<__VLS_NonUndefinedable$i<T[K]>>;
740
876
  } : {
741
877
  type: vue.PropType<T[K]>;
742
878
  required: true;
743
879
  };
744
880
  };
745
881
 
746
- interface LinkNodeProps {
882
+ interface LinkNodeProps$1 {
747
883
  node: {
748
884
  type: 'link';
749
885
  href: string;
@@ -767,9 +903,9 @@ interface LinkNodeProps {
767
903
  animationTiming?: string;
768
904
  animationIteration?: string | number;
769
905
  }
770
- declare const _default$h: vue.DefineComponent<__VLS_WithDefaults$2<__VLS_TypePropsToOption$f<LinkNodeProps>, {
906
+ declare const _default$j: vue.DefineComponent<__VLS_WithDefaults$2<__VLS_TypePropsToOption$h<LinkNodeProps$1>, {
771
907
  showTooltip: boolean;
772
- }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$2<__VLS_TypePropsToOption$f<LinkNodeProps>, {
908
+ }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$2<__VLS_TypePropsToOption$h<LinkNodeProps$1>, {
773
909
  showTooltip: boolean;
774
910
  }>>>, {
775
911
  showTooltip: boolean;
@@ -780,10 +916,10 @@ type __VLS_WithDefaults$2<P, D> = {
780
916
  default: D[K];
781
917
  }> : P[K];
782
918
  };
783
- type __VLS_NonUndefinedable$f<T> = T extends undefined ? never : T;
784
- type __VLS_TypePropsToOption$f<T> = {
919
+ type __VLS_NonUndefinedable$h<T> = T extends undefined ? never : T;
920
+ type __VLS_TypePropsToOption$h<T> = {
785
921
  [K in keyof T]-?: {} extends Pick<T, K> ? {
786
- type: vue.PropType<__VLS_NonUndefinedable$f<T[K]>>;
922
+ type: vue.PropType<__VLS_NonUndefinedable$h<T[K]>>;
787
923
  } : {
788
924
  type: vue.PropType<T[K]>;
789
925
  required: true;
@@ -803,7 +939,7 @@ interface ListItem$1 {
803
939
  children: NodeChild$6[];
804
940
  raw: string;
805
941
  }
806
- type __VLS_Props$9 = {
942
+ type __VLS_Props$b = {
807
943
  /**
808
944
  * Preferred prop name for consistency with other node components.
809
945
  * `item` is kept for backward compatibility.
@@ -816,12 +952,12 @@ type __VLS_Props$9 = {
816
952
  /** Forwarded flag to enable/disable non-code node enter transition */
817
953
  typewriter?: boolean;
818
954
  };
819
- declare const _default$g: vue.DefineComponent<__VLS_TypePropsToOption$e<__VLS_Props$9>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$e<__VLS_Props$9>>>, {}>;
955
+ declare const _default$i: vue.DefineComponent<__VLS_TypePropsToOption$g<__VLS_Props$b>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$g<__VLS_Props$b>>>, {}>;
820
956
 
821
- type __VLS_NonUndefinedable$e<T> = T extends undefined ? never : T;
822
- type __VLS_TypePropsToOption$e<T> = {
957
+ type __VLS_NonUndefinedable$g<T> = T extends undefined ? never : T;
958
+ type __VLS_TypePropsToOption$g<T> = {
823
959
  [K in keyof T]-?: {} extends Pick<T, K> ? {
824
- type: vue.PropType<__VLS_NonUndefinedable$e<T[K]>>;
960
+ type: vue.PropType<__VLS_NonUndefinedable$g<T[K]>>;
825
961
  } : {
826
962
  type: vue.PropType<T[K]>;
827
963
  required: true;
@@ -838,7 +974,7 @@ interface ListItem {
838
974
  children: NodeChild$5[];
839
975
  raw: string;
840
976
  }
841
- type __VLS_Props$8 = {
977
+ type __VLS_Props$a = {
842
978
  node: {
843
979
  type: 'list';
844
980
  ordered: boolean;
@@ -850,14 +986,14 @@ type __VLS_Props$8 = {
850
986
  indexKey?: number | string;
851
987
  typewriter?: boolean;
852
988
  };
853
- declare const _default$f: vue.DefineComponent<__VLS_TypePropsToOption$d<__VLS_Props$8>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
989
+ declare const _default$h: vue.DefineComponent<__VLS_TypePropsToOption$f<__VLS_Props$a>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
854
990
  copy: (...args: any[]) => void;
855
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$d<__VLS_Props$8>>>, {}>;
991
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$f<__VLS_Props$a>>>, {}>;
856
992
 
857
- type __VLS_NonUndefinedable$d<T> = T extends undefined ? never : T;
858
- type __VLS_TypePropsToOption$d<T> = {
993
+ type __VLS_NonUndefinedable$f<T> = T extends undefined ? never : T;
994
+ type __VLS_TypePropsToOption$f<T> = {
859
995
  [K in keyof T]-?: {} extends Pick<T, K> ? {
860
- type: vue.PropType<__VLS_NonUndefinedable$d<T[K]>>;
996
+ type: vue.PropType<__VLS_NonUndefinedable$f<T[K]>>;
861
997
  } : {
862
998
  type: vue.PropType<T[K]>;
863
999
  required: true;
@@ -1031,7 +1167,7 @@ declare const __VLS_component$3: vue.DefineComponent<{
1031
1167
  showPreviewButton: boolean;
1032
1168
  showFontSizeButtons: boolean;
1033
1169
  }>;
1034
- declare const _default$e: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
1170
+ declare const _default$g: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
1035
1171
 
1036
1172
  type __VLS_WithTemplateSlots$3<T, S> = T & {
1037
1173
  new (): {
@@ -1039,7 +1175,7 @@ type __VLS_WithTemplateSlots$3<T, S> = T & {
1039
1175
  };
1040
1176
  };
1041
1177
 
1042
- interface MathBlockNodeProps {
1178
+ interface MathBlockNodeProps$1 {
1043
1179
  node: {
1044
1180
  type: 'math_block';
1045
1181
  content: string;
@@ -1047,19 +1183,19 @@ interface MathBlockNodeProps {
1047
1183
  loading?: boolean;
1048
1184
  };
1049
1185
  }
1050
- declare const _default$d: vue.DefineComponent<__VLS_TypePropsToOption$c<MathBlockNodeProps>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$c<MathBlockNodeProps>>>, {}>;
1186
+ declare const _default$f: vue.DefineComponent<__VLS_TypePropsToOption$e<MathBlockNodeProps$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$e<MathBlockNodeProps$1>>>, {}>;
1051
1187
 
1052
- type __VLS_NonUndefinedable$c<T> = T extends undefined ? never : T;
1053
- type __VLS_TypePropsToOption$c<T> = {
1188
+ type __VLS_NonUndefinedable$e<T> = T extends undefined ? never : T;
1189
+ type __VLS_TypePropsToOption$e<T> = {
1054
1190
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1055
- type: vue.PropType<__VLS_NonUndefinedable$c<T[K]>>;
1191
+ type: vue.PropType<__VLS_NonUndefinedable$e<T[K]>>;
1056
1192
  } : {
1057
1193
  type: vue.PropType<T[K]>;
1058
1194
  required: true;
1059
1195
  };
1060
1196
  };
1061
1197
 
1062
- interface MathInlineNodeProps {
1198
+ interface MathInlineNodeProps$1 {
1063
1199
  node: {
1064
1200
  type: 'math_inline';
1065
1201
  content: string;
@@ -1082,13 +1218,13 @@ declare function __VLS_template$2(): {
1082
1218
  rootEl: HTMLSpanElement;
1083
1219
  };
1084
1220
  type __VLS_TemplateResult$2 = ReturnType<typeof __VLS_template$2>;
1085
- declare const __VLS_component$2: vue.DefineComponent<__VLS_TypePropsToOption$b<MathInlineNodeProps>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$b<MathInlineNodeProps>>>, {}>;
1086
- declare const _default$c: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
1221
+ declare const __VLS_component$2: vue.DefineComponent<__VLS_TypePropsToOption$d<MathInlineNodeProps$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$d<MathInlineNodeProps$1>>>, {}>;
1222
+ declare const _default$e: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
1087
1223
 
1088
- type __VLS_NonUndefinedable$b<T> = T extends undefined ? never : T;
1089
- type __VLS_TypePropsToOption$b<T> = {
1224
+ type __VLS_NonUndefinedable$d<T> = T extends undefined ? never : T;
1225
+ type __VLS_TypePropsToOption$d<T> = {
1090
1226
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1091
- type: vue.PropType<__VLS_NonUndefinedable$b<T[K]>>;
1227
+ type: vue.PropType<__VLS_NonUndefinedable$d<T[K]>>;
1092
1228
  } : {
1093
1229
  type: vue.PropType<T[K]>;
1094
1230
  required: true;
@@ -1100,13 +1236,19 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
1100
1236
  };
1101
1237
  };
1102
1238
 
1239
+ type D2Loader = () => Promise<any> | any;
1240
+ declare function setD2Loader(loader: D2Loader | null): void;
1241
+ declare function enableD2(loader?: D2Loader): void;
1242
+ declare function disableD2(): void;
1243
+ declare function isD2Enabled(): boolean;
1244
+
1103
1245
  type KatexLoader = () => Promise<any> | any;
1104
1246
  declare function setKatexLoader(loader: KatexLoader | null): void;
1105
1247
  declare function enableKatex(loader?: KatexLoader): void;
1106
1248
  declare function disableKatex(): void;
1107
1249
  declare function isKatexEnabled(): boolean;
1108
1250
 
1109
- interface MermaidBlockNodeProps {
1251
+ interface MermaidBlockNodeProps$1 {
1110
1252
  node: any;
1111
1253
  maxHeight?: string | null;
1112
1254
  loading?: boolean;
@@ -1141,7 +1283,7 @@ declare function __VLS_template$1(): {
1141
1283
  rootEl: HTMLDivElement;
1142
1284
  };
1143
1285
  type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
1144
- declare const __VLS_component$1: vue.DefineComponent<__VLS_WithDefaults$1<__VLS_TypePropsToOption$a<MermaidBlockNodeProps>, {
1286
+ declare const __VLS_component$1: vue.DefineComponent<__VLS_WithDefaults$1<__VLS_TypePropsToOption$c<MermaidBlockNodeProps$1>, {
1145
1287
  maxHeight: string;
1146
1288
  loading: boolean;
1147
1289
  workerTimeoutMs: number;
@@ -1162,7 +1304,7 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_WithDefaults$1<__VLS_
1162
1304
  export: (...args: any[]) => void;
1163
1305
  openModal: (...args: any[]) => void;
1164
1306
  toggleMode: (...args: any[]) => void;
1165
- }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$1<__VLS_TypePropsToOption$a<MermaidBlockNodeProps>, {
1307
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults$1<__VLS_TypePropsToOption$c<MermaidBlockNodeProps$1>, {
1166
1308
  maxHeight: string;
1167
1309
  loading: boolean;
1168
1310
  workerTimeoutMs: number;
@@ -1195,17 +1337,17 @@ declare const __VLS_component$1: vue.DefineComponent<__VLS_WithDefaults$1<__VLS_
1195
1337
  enableWheelZoom: boolean;
1196
1338
  isStrict: boolean;
1197
1339
  }>;
1198
- declare const _default$b: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
1340
+ declare const _default$d: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
1199
1341
 
1200
1342
  type __VLS_WithDefaults$1<P, D> = {
1201
1343
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal$1<P[K] & {
1202
1344
  default: D[K];
1203
1345
  }> : P[K];
1204
1346
  };
1205
- type __VLS_NonUndefinedable$a<T> = T extends undefined ? never : T;
1206
- type __VLS_TypePropsToOption$a<T> = {
1347
+ type __VLS_NonUndefinedable$c<T> = T extends undefined ? never : T;
1348
+ type __VLS_TypePropsToOption$c<T> = {
1207
1349
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1208
- type: vue.PropType<__VLS_NonUndefinedable$a<T[K]>>;
1350
+ type: vue.PropType<__VLS_NonUndefinedable$c<T[K]>>;
1209
1351
  } : {
1210
1352
  type: vue.PropType<T[K]>;
1211
1353
  required: true;
@@ -1288,7 +1430,7 @@ interface NodeRendererProps {
1288
1430
  /** Number of nodes to keep before/after focus. Default: 60 */
1289
1431
  liveNodeBuffer?: number;
1290
1432
  }
1291
- declare const _default$a: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption$9<NodeRendererProps>, {
1433
+ declare const _default$c: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption$b<NodeRendererProps>, {
1292
1434
  codeBlockStream: boolean;
1293
1435
  typewriter: boolean;
1294
1436
  batchRendering: boolean;
@@ -1307,7 +1449,7 @@ declare const _default$a: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
1307
1449
  click: (...args: any[]) => void;
1308
1450
  mouseover: (...args: any[]) => void;
1309
1451
  mouseout: (...args: any[]) => void;
1310
- }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption$9<NodeRendererProps>, {
1452
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption$b<NodeRendererProps>, {
1311
1453
  codeBlockStream: boolean;
1312
1454
  typewriter: boolean;
1313
1455
  batchRendering: boolean;
@@ -1340,10 +1482,10 @@ type __VLS_WithDefaults<P, D> = {
1340
1482
  default: D[K];
1341
1483
  }> : P[K];
1342
1484
  };
1343
- type __VLS_NonUndefinedable$9<T> = T extends undefined ? never : T;
1344
- type __VLS_TypePropsToOption$9<T> = {
1485
+ type __VLS_NonUndefinedable$b<T> = T extends undefined ? never : T;
1486
+ type __VLS_TypePropsToOption$b<T> = {
1345
1487
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1346
- type: vue.PropType<__VLS_NonUndefinedable$9<T[K]>>;
1488
+ type: vue.PropType<__VLS_NonUndefinedable$b<T[K]>>;
1347
1489
  } : {
1348
1490
  type: vue.PropType<T[K]>;
1349
1491
  required: true;
@@ -1358,7 +1500,7 @@ interface NodeChild$4 {
1358
1500
  raw: string;
1359
1501
  [key: string]: unknown;
1360
1502
  }
1361
- type __VLS_Props$7 = {
1503
+ type __VLS_Props$9 = {
1362
1504
  node: {
1363
1505
  type: 'paragraph';
1364
1506
  children: NodeChild$4[];
@@ -1367,34 +1509,34 @@ type __VLS_Props$7 = {
1367
1509
  customId?: string;
1368
1510
  indexKey?: number | string;
1369
1511
  };
1370
- declare const _default$9: vue.DefineComponent<__VLS_TypePropsToOption$8<__VLS_Props$7>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$8<__VLS_Props$7>>>, {}>;
1512
+ declare const _default$b: vue.DefineComponent<__VLS_TypePropsToOption$a<__VLS_Props$9>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$a<__VLS_Props$9>>>, {}>;
1371
1513
 
1372
- type __VLS_NonUndefinedable$8<T> = T extends undefined ? never : T;
1373
- type __VLS_TypePropsToOption$8<T> = {
1514
+ type __VLS_NonUndefinedable$a<T> = T extends undefined ? never : T;
1515
+ type __VLS_TypePropsToOption$a<T> = {
1374
1516
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1375
- type: vue.PropType<__VLS_NonUndefinedable$8<T[K]>>;
1517
+ type: vue.PropType<__VLS_NonUndefinedable$a<T[K]>>;
1376
1518
  } : {
1377
1519
  type: vue.PropType<T[K]>;
1378
1520
  required: true;
1379
1521
  };
1380
1522
  };
1381
1523
 
1382
- interface PreCodeNodeProps {
1524
+ interface PreCodeNodeProps$1 {
1383
1525
  node: any;
1384
1526
  }
1385
- declare const _default$8: vue.DefineComponent<__VLS_TypePropsToOption$7<PreCodeNodeProps>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$7<PreCodeNodeProps>>>, {}>;
1527
+ declare const _default$a: vue.DefineComponent<__VLS_TypePropsToOption$9<PreCodeNodeProps$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$9<PreCodeNodeProps$1>>>, {}>;
1386
1528
 
1387
- type __VLS_NonUndefinedable$7<T> = T extends undefined ? never : T;
1388
- type __VLS_TypePropsToOption$7<T> = {
1529
+ type __VLS_NonUndefinedable$9<T> = T extends undefined ? never : T;
1530
+ type __VLS_TypePropsToOption$9<T> = {
1389
1531
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1390
- type: vue.PropType<__VLS_NonUndefinedable$7<T[K]>>;
1532
+ type: vue.PropType<__VLS_NonUndefinedable$9<T[K]>>;
1391
1533
  } : {
1392
1534
  type: vue.PropType<T[K]>;
1393
1535
  required: true;
1394
1536
  };
1395
1537
  };
1396
1538
 
1397
- type __VLS_Props$6 = {
1539
+ type __VLS_Props$8 = {
1398
1540
  node: {
1399
1541
  type: 'reference';
1400
1542
  id: string;
@@ -1403,16 +1545,16 @@ type __VLS_Props$6 = {
1403
1545
  messageId?: string;
1404
1546
  threadId?: string;
1405
1547
  };
1406
- declare const _default$7: vue.DefineComponent<__VLS_TypePropsToOption$6<__VLS_Props$6>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1548
+ declare const _default$9: vue.DefineComponent<__VLS_TypePropsToOption$8<__VLS_Props$8>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1407
1549
  click: (...args: any[]) => void;
1408
1550
  mouseEnter: (...args: any[]) => void;
1409
1551
  mouseLeave: (...args: any[]) => void;
1410
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$6<__VLS_Props$6>>>, {}>;
1552
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$8<__VLS_Props$8>>>, {}>;
1411
1553
 
1412
- type __VLS_NonUndefinedable$6<T> = T extends undefined ? never : T;
1413
- type __VLS_TypePropsToOption$6<T> = {
1554
+ type __VLS_NonUndefinedable$8<T> = T extends undefined ? never : T;
1555
+ type __VLS_TypePropsToOption$8<T> = {
1414
1556
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1415
- type: vue.PropType<__VLS_NonUndefinedable$6<T[K]>>;
1557
+ type: vue.PropType<__VLS_NonUndefinedable$8<T[K]>>;
1416
1558
  } : {
1417
1559
  type: vue.PropType<T[K]>;
1418
1560
  required: true;
@@ -1424,7 +1566,7 @@ interface NodeChild$3 {
1424
1566
  raw: string;
1425
1567
  [key: string]: unknown;
1426
1568
  }
1427
- type __VLS_Props$5 = {
1569
+ type __VLS_Props$7 = {
1428
1570
  node: {
1429
1571
  type: 'strikethrough';
1430
1572
  children: NodeChild$3[];
@@ -1433,12 +1575,12 @@ type __VLS_Props$5 = {
1433
1575
  customId?: string;
1434
1576
  indexKey?: string | number;
1435
1577
  };
1436
- declare const _default$6: vue.DefineComponent<__VLS_TypePropsToOption$5<__VLS_Props$5>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$5<__VLS_Props$5>>>, {}>;
1578
+ declare const _default$8: vue.DefineComponent<__VLS_TypePropsToOption$7<__VLS_Props$7>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$7<__VLS_Props$7>>>, {}>;
1437
1579
 
1438
- type __VLS_NonUndefinedable$5<T> = T extends undefined ? never : T;
1439
- type __VLS_TypePropsToOption$5<T> = {
1580
+ type __VLS_NonUndefinedable$7<T> = T extends undefined ? never : T;
1581
+ type __VLS_TypePropsToOption$7<T> = {
1440
1582
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1441
- type: vue.PropType<__VLS_NonUndefinedable$5<T[K]>>;
1583
+ type: vue.PropType<__VLS_NonUndefinedable$7<T[K]>>;
1442
1584
  } : {
1443
1585
  type: vue.PropType<T[K]>;
1444
1586
  required: true;
@@ -1450,7 +1592,7 @@ interface NodeChild$2 {
1450
1592
  raw: string;
1451
1593
  [key: string]: unknown;
1452
1594
  }
1453
- type __VLS_Props$4 = {
1595
+ type __VLS_Props$6 = {
1454
1596
  node: {
1455
1597
  type: 'strong';
1456
1598
  children: NodeChild$2[];
@@ -1459,12 +1601,12 @@ type __VLS_Props$4 = {
1459
1601
  customId?: string;
1460
1602
  indexKey?: number | string;
1461
1603
  };
1462
- declare const _default$5: vue.DefineComponent<__VLS_TypePropsToOption$4<__VLS_Props$4>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$4<__VLS_Props$4>>>, {}>;
1604
+ declare const _default$7: vue.DefineComponent<__VLS_TypePropsToOption$6<__VLS_Props$6>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$6<__VLS_Props$6>>>, {}>;
1463
1605
 
1464
- type __VLS_NonUndefinedable$4<T> = T extends undefined ? never : T;
1465
- type __VLS_TypePropsToOption$4<T> = {
1606
+ type __VLS_NonUndefinedable$6<T> = T extends undefined ? never : T;
1607
+ type __VLS_TypePropsToOption$6<T> = {
1466
1608
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1467
- type: vue.PropType<__VLS_NonUndefinedable$4<T[K]>>;
1609
+ type: vue.PropType<__VLS_NonUndefinedable$6<T[K]>>;
1468
1610
  } : {
1469
1611
  type: vue.PropType<T[K]>;
1470
1612
  required: true;
@@ -1476,7 +1618,7 @@ interface NodeChild$1 {
1476
1618
  raw: string;
1477
1619
  [key: string]: unknown;
1478
1620
  }
1479
- type __VLS_Props$3 = {
1621
+ type __VLS_Props$5 = {
1480
1622
  node: {
1481
1623
  type: 'subscript';
1482
1624
  children: NodeChild$1[];
@@ -1485,12 +1627,12 @@ type __VLS_Props$3 = {
1485
1627
  customId?: string;
1486
1628
  indexKey?: number | string;
1487
1629
  };
1488
- declare const _default$4: vue.DefineComponent<__VLS_TypePropsToOption$3<__VLS_Props$3>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$3<__VLS_Props$3>>>, {}>;
1630
+ declare const _default$6: vue.DefineComponent<__VLS_TypePropsToOption$5<__VLS_Props$5>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$5<__VLS_Props$5>>>, {}>;
1489
1631
 
1490
- type __VLS_NonUndefinedable$3<T> = T extends undefined ? never : T;
1491
- type __VLS_TypePropsToOption$3<T> = {
1632
+ type __VLS_NonUndefinedable$5<T> = T extends undefined ? never : T;
1633
+ type __VLS_TypePropsToOption$5<T> = {
1492
1634
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1493
- type: vue.PropType<__VLS_NonUndefinedable$3<T[K]>>;
1635
+ type: vue.PropType<__VLS_NonUndefinedable$5<T[K]>>;
1494
1636
  } : {
1495
1637
  type: vue.PropType<T[K]>;
1496
1638
  required: true;
@@ -1502,7 +1644,7 @@ interface NodeChild {
1502
1644
  raw: string;
1503
1645
  [key: string]: unknown;
1504
1646
  }
1505
- type __VLS_Props$2 = {
1647
+ type __VLS_Props$4 = {
1506
1648
  node: {
1507
1649
  type: 'superscript';
1508
1650
  children: NodeChild[];
@@ -1511,12 +1653,12 @@ type __VLS_Props$2 = {
1511
1653
  customId?: string;
1512
1654
  indexKey?: number | string;
1513
1655
  };
1514
- declare const _default$3: vue.DefineComponent<__VLS_TypePropsToOption$2<__VLS_Props$2>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$2<__VLS_Props$2>>>, {}>;
1656
+ declare const _default$5: vue.DefineComponent<__VLS_TypePropsToOption$4<__VLS_Props$4>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$4<__VLS_Props$4>>>, {}>;
1515
1657
 
1516
- type __VLS_NonUndefinedable$2<T> = T extends undefined ? never : T;
1517
- type __VLS_TypePropsToOption$2<T> = {
1658
+ type __VLS_NonUndefinedable$4<T> = T extends undefined ? never : T;
1659
+ type __VLS_TypePropsToOption$4<T> = {
1518
1660
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1519
- type: vue.PropType<__VLS_NonUndefinedable$2<T[K]>>;
1661
+ type: vue.PropType<__VLS_NonUndefinedable$4<T[K]>>;
1520
1662
  } : {
1521
1663
  type: vue.PropType<T[K]>;
1522
1664
  required: true;
@@ -1545,7 +1687,7 @@ interface TableNode {
1545
1687
  raw: string;
1546
1688
  loading: boolean;
1547
1689
  }
1548
- type __VLS_Props$1 = {
1690
+ type __VLS_Props$3 = {
1549
1691
  node: TableNode;
1550
1692
  indexKey: string | number;
1551
1693
  isDark?: boolean;
@@ -1563,15 +1705,15 @@ declare function __VLS_template(): {
1563
1705
  rootEl: HTMLDivElement;
1564
1706
  };
1565
1707
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1566
- declare const __VLS_component: vue.DefineComponent<__VLS_TypePropsToOption$1<__VLS_Props$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1708
+ declare const __VLS_component: vue.DefineComponent<__VLS_TypePropsToOption$3<__VLS_Props$3>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1567
1709
  copy: (...args: any[]) => void;
1568
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$1<__VLS_Props$1>>>, {}>;
1569
- declare const _default$2: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1710
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$3<__VLS_Props$3>>>, {}>;
1711
+ declare const _default$4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1570
1712
 
1571
- type __VLS_NonUndefinedable$1<T> = T extends undefined ? never : T;
1572
- type __VLS_TypePropsToOption$1<T> = {
1713
+ type __VLS_NonUndefinedable$3<T> = T extends undefined ? never : T;
1714
+ type __VLS_TypePropsToOption$3<T> = {
1573
1715
  [K in keyof T]-?: {} extends Pick<T, K> ? {
1574
- type: vue.PropType<__VLS_NonUndefinedable$1<T[K]>>;
1716
+ type: vue.PropType<__VLS_NonUndefinedable$3<T[K]>>;
1575
1717
  } : {
1576
1718
  type: vue.PropType<T[K]>;
1577
1719
  required: true;
@@ -1583,7 +1725,7 @@ type __VLS_WithTemplateSlots<T, S> = T & {
1583
1725
  };
1584
1726
  };
1585
1727
 
1586
- type __VLS_Props = {
1728
+ type __VLS_Props$2 = {
1587
1729
  node: {
1588
1730
  type: 'text';
1589
1731
  content: string;
@@ -1591,9 +1733,63 @@ type __VLS_Props = {
1591
1733
  center?: boolean;
1592
1734
  };
1593
1735
  };
1594
- declare const _default$1: vue.DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1736
+ declare const _default$3: vue.DefineComponent<__VLS_TypePropsToOption$2<__VLS_Props$2>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1595
1737
  copy: (...args: any[]) => void;
1596
- }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}>;
1738
+ }, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$2<__VLS_Props$2>>>, {}>;
1739
+
1740
+ type __VLS_NonUndefinedable$2<T> = T extends undefined ? never : T;
1741
+ type __VLS_TypePropsToOption$2<T> = {
1742
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1743
+ type: vue.PropType<__VLS_NonUndefinedable$2<T[K]>>;
1744
+ } : {
1745
+ type: vue.PropType<T[K]>;
1746
+ required: true;
1747
+ };
1748
+ };
1749
+
1750
+ declare const _default$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1751
+
1752
+ type __VLS_Props$1 = {
1753
+ visible: boolean;
1754
+ anchorEl: HTMLElement | null;
1755
+ content: string;
1756
+ placement?: 'top' | 'bottom' | 'left' | 'right';
1757
+ offset?: number;
1758
+ originX?: number | null;
1759
+ originY?: number | null;
1760
+ id?: string | null;
1761
+ isDark?: boolean | null;
1762
+ };
1763
+ declare const _default$1: vue.DefineComponent<__VLS_TypePropsToOption$1<__VLS_Props$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption$1<__VLS_Props$1>>>, {}>;
1764
+
1765
+ type __VLS_NonUndefinedable$1<T> = T extends undefined ? never : T;
1766
+ type __VLS_TypePropsToOption$1<T> = {
1767
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1768
+ type: vue.PropType<__VLS_NonUndefinedable$1<T[K]>>;
1769
+ } : {
1770
+ type: vue.PropType<T[K]>;
1771
+ required: true;
1772
+ };
1773
+ };
1774
+
1775
+ interface VmrContainerNode {
1776
+ type: 'vmr_container';
1777
+ name: string;
1778
+ attrs?: Record<string, string>;
1779
+ children: {
1780
+ type: string;
1781
+ raw: string;
1782
+ }[];
1783
+ raw: string;
1784
+ }
1785
+ type __VLS_Props = {
1786
+ node: VmrContainerNode;
1787
+ indexKey: number | string;
1788
+ isDark?: boolean;
1789
+ typewriter?: boolean;
1790
+ customId?: string;
1791
+ };
1792
+ declare const _default: vue.DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}>;
1597
1793
 
1598
1794
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
1599
1795
  type __VLS_TypePropsToOption<T> = {
@@ -1605,8 +1801,6 @@ type __VLS_TypePropsToOption<T> = {
1605
1801
  };
1606
1802
  };
1607
1803
 
1608
- declare const _default: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1609
-
1610
1804
  declare const defaultMap: Record<string, string>;
1611
1805
  /**
1612
1806
  * Replace the entire default translation map.
@@ -1646,6 +1840,8 @@ interface CustomComponents {
1646
1840
  html_inline: any;
1647
1841
  reference: any;
1648
1842
  mermaid: any;
1843
+ infographic: any;
1844
+ d2: any;
1649
1845
  [key: string]: any;
1650
1846
  }
1651
1847
 
@@ -1668,6 +1864,142 @@ declare function removeCustomComponents(id: string): void;
1668
1864
  */
1669
1865
  declare function clearGlobalCustomComponents(): void;
1670
1866
 
1867
+ interface CodeBlockNodeProps {
1868
+ node: CodeBlockNode;
1869
+ isDark?: boolean;
1870
+ loading?: boolean;
1871
+ stream?: boolean;
1872
+ darkTheme?: any;
1873
+ lightTheme?: any;
1874
+ isShowPreview?: boolean;
1875
+ monacoOptions?: {
1876
+ [k: string]: any;
1877
+ };
1878
+ enableFontSizeControl?: boolean;
1879
+ minWidth?: string | number;
1880
+ maxWidth?: string | number;
1881
+ themes?: any[];
1882
+ showHeader?: boolean;
1883
+ showCopyButton?: boolean;
1884
+ showExpandButton?: boolean;
1885
+ showPreviewButton?: boolean;
1886
+ showFontSizeButtons?: boolean;
1887
+ customId?: string;
1888
+ }
1889
+ interface ImageNodeProps {
1890
+ node: {
1891
+ type: 'image';
1892
+ src: string;
1893
+ alt: string;
1894
+ title: string | null;
1895
+ raw: string;
1896
+ loading?: boolean;
1897
+ };
1898
+ fallbackSrc?: string;
1899
+ showCaption?: boolean;
1900
+ lazy?: boolean;
1901
+ svgMinHeight?: string;
1902
+ usePlaceholder?: boolean;
1903
+ }
1904
+ interface LinkNodeProps {
1905
+ node: {
1906
+ type: 'link';
1907
+ href: string;
1908
+ title: string | null;
1909
+ text: string;
1910
+ children: {
1911
+ type: string;
1912
+ raw: string;
1913
+ }[];
1914
+ raw: string;
1915
+ loading?: boolean;
1916
+ };
1917
+ indexKey: number | string;
1918
+ customId?: string;
1919
+ showTooltip?: boolean;
1920
+ color?: string;
1921
+ underlineHeight?: number;
1922
+ underlineBottom?: number | string;
1923
+ animationDuration?: number;
1924
+ animationOpacity?: number;
1925
+ animationTiming?: string;
1926
+ animationIteration?: string | number;
1927
+ }
1928
+ interface PreCodeNodeProps {
1929
+ node: CodeBlockNode;
1930
+ }
1931
+ interface MermaidBlockNodeProps {
1932
+ node: CodeBlockNode;
1933
+ maxHeight?: string | null;
1934
+ loading?: boolean;
1935
+ isDark?: boolean;
1936
+ workerTimeoutMs?: number;
1937
+ parseTimeoutMs?: number;
1938
+ renderTimeoutMs?: number;
1939
+ fullRenderTimeoutMs?: number;
1940
+ showHeader?: boolean;
1941
+ showModeToggle?: boolean;
1942
+ showCopyButton?: boolean;
1943
+ showExportButton?: boolean;
1944
+ showFullscreenButton?: boolean;
1945
+ showCollapseButton?: boolean;
1946
+ showZoomControls?: boolean;
1947
+ enableWheelZoom?: boolean;
1948
+ isStrict?: boolean;
1949
+ }
1950
+ interface MermaidBlockEvent<TPayload = any> {
1951
+ payload?: TPayload;
1952
+ defaultPrevented: boolean;
1953
+ preventDefault: () => void;
1954
+ svgElement?: SVGElement | null;
1955
+ svgString?: string | null;
1956
+ }
1957
+ interface D2BlockNodeProps {
1958
+ node: CodeBlockNode;
1959
+ maxHeight?: string | null;
1960
+ loading?: boolean;
1961
+ isDark?: boolean;
1962
+ progressiveRender?: boolean;
1963
+ progressiveIntervalMs?: number;
1964
+ themeId?: number | null;
1965
+ darkThemeId?: number | null;
1966
+ showHeader?: boolean;
1967
+ showModeToggle?: boolean;
1968
+ showCopyButton?: boolean;
1969
+ showExportButton?: boolean;
1970
+ showCollapseButton?: boolean;
1971
+ }
1972
+ interface MathBlockNodeProps {
1973
+ node: {
1974
+ type: 'math_block';
1975
+ content: string;
1976
+ raw: string;
1977
+ loading?: boolean;
1978
+ };
1979
+ }
1980
+ interface MathInlineNodeProps {
1981
+ node: {
1982
+ type: 'math_inline';
1983
+ content: string;
1984
+ raw: string;
1985
+ loading?: boolean;
1986
+ markup?: string;
1987
+ };
1988
+ }
1989
+ interface InfographicBlockNodeProps {
1990
+ node: CodeBlockNode;
1991
+ maxHeight?: string | null;
1992
+ loading?: boolean;
1993
+ isDark?: boolean;
1994
+ showHeader?: boolean;
1995
+ showModeToggle?: boolean;
1996
+ showCopyButton?: boolean;
1997
+ showExportButton?: boolean;
1998
+ showFullscreenButton?: boolean;
1999
+ showCollapseButton?: boolean;
2000
+ showZoomControls?: boolean;
2001
+ }
2002
+
1671
2003
  declare function getUseMonaco(): Promise<any>;
1672
2004
 
1673
2005
  type KaTeXCDNWorkerMode = 'classic' | 'module';
@@ -1835,4 +2167,4 @@ declare const VueRendererMarkdown: {
1835
2167
  }): void;
1836
2168
  };
1837
2169
 
1838
- export { _default$y as AdmonitionNode, BackpressureOptions, _default$x as BlockquoteNode, _default$w as CheckboxNode, _default$v as CodeBlockNode, _default$u as DefinitionListNode, _default$t as EmojiNode, _default$s as FootnoteAnchorNode, _default$r as FootnoteNode, _default$q as FootnoteReferenceNode, _default$p as HardBreakNode, _default$o as HeadingNode, _default$n as HighlightNode, _default$m as HtmlInlineNode, _default$l as ImageNode, _default$k as InfographicBlockNode, _default$j as InlineCodeNode, _default$i as InsertNode, KaTeXCDNWorkerHandle, KaTeXCDNWorkerMode, KaTeXCDNWorkerOptions, KatexLoader, LanguageIconResolver, _default$h as LinkNode, _default$g as ListItemNode, _default$f as ListNode, MERMAID_DISABLED_CODE, MERMAID_WORKER_BUSY_CODE, _default$e as MarkdownCodeBlockNode, _default$a as MarkdownRender, _default$d as MathBlockNode, _default$c as MathInlineNode, _default$b as MermaidBlockNode, MermaidCDNWorkerHandle, MermaidCDNWorkerMode, MermaidCDNWorkerOptions, MermaidLoader, _default$9 as ParagraphNode, _default$8 as PreCodeNode, _default$7 as ReferenceNode, _default$6 as StrikethroughNode, _default$5 as StrongNode, _default$4 as SubscriptNode, _default$3 as SuperscriptNode, _default$2 as TableNode, _default$1 as TextNode, _default as ThematicBreakNode, VueRendererMarkdown, WORKER_BUSY_CODE, buildKaTeXCDNWorkerSource, buildMermaidCDNWorkerSource, canParseOffthread, clearGlobalCustomComponents, clearKaTeXWorker, clearMermaidWorker, createKaTeXWorkerFromCDN, createMermaidWorkerFromCDN, _default$a as default, disableKatex, disableMermaid, enableKatex, enableMermaid, findPrefixOffthread, getCustomNodeComponents, getKaTeXBackpressureDefaults, getKaTeXWorkerLoad, getLanguageIcon, getMermaidWorkerLoad, getUseMonaco, isKaTeXWorkerBusy, isKatexEnabled, isMermaidEnabled, languageMap, normalizeLanguageIdentifier, removeCustomComponents, renderKaTeXInWorker, renderKaTeXWithBackpressure, resolveMonacoLanguageId, setCustomComponents, setDefaultI18nMap, setKaTeXBackpressureDefaults, setKaTeXCache, setKaTeXWorker, setKaTeXWorkerDebug, setKaTeXWorkerMaxConcurrency, setKatexLoader, setLanguageIconResolver, setMermaidLoader, setMermaidWorker, setMermaidWorkerClientDebug, setMermaidWorkerMaxConcurrency, terminateWorker, waitForKaTeXWorkerSlot };
2170
+ export { _default$D as AdmonitionNode, BackpressureOptions, _default$C as BlockquoteNode, _default$B as CheckboxNode, _default$A as CodeBlockNode, CodeBlockNodeProps, _default$n as D2BlockNode, D2BlockNodeProps, D2Loader, _default$z as DefinitionListNode, _default$y as EmojiNode, _default$x as EmphasisNode, _default$w as FootnoteAnchorNode, _default$v as FootnoteNode, _default$u as FootnoteReferenceNode, _default$t as HardBreakNode, _default$s as HeadingNode, _default$r as HighlightNode, _default$q as HtmlBlockNode, _default$p as HtmlInlineNode, _default$o as ImageNode, ImageNodeProps, _default$m as InfographicBlockNode, InfographicBlockNodeProps, _default$l as InlineCodeNode, _default$k as InsertNode, KaTeXCDNWorkerHandle, KaTeXCDNWorkerMode, KaTeXCDNWorkerOptions, KatexLoader, LanguageIconResolver, _default$j as LinkNode, LinkNodeProps, _default$i as ListItemNode, _default$h as ListNode, MERMAID_DISABLED_CODE, MERMAID_WORKER_BUSY_CODE, _default$g as MarkdownCodeBlockNode, _default$c as MarkdownRender, _default$f as MathBlockNode, MathBlockNodeProps, _default$e as MathInlineNode, MathInlineNodeProps, MermaidBlockEvent, _default$d as MermaidBlockNode, MermaidBlockNodeProps, MermaidCDNWorkerHandle, MermaidCDNWorkerMode, MermaidCDNWorkerOptions, MermaidLoader, NodeRendererProps, _default$b as ParagraphNode, _default$a as PreCodeNode, PreCodeNodeProps, _default$9 as ReferenceNode, _default$8 as StrikethroughNode, _default$7 as StrongNode, _default$6 as SubscriptNode, _default$5 as SuperscriptNode, _default$4 as TableNode, _default$3 as TextNode, _default$2 as ThematicBreakNode, _default$1 as Tooltip, _default as VmrContainerNode, VueRendererMarkdown, WORKER_BUSY_CODE, buildKaTeXCDNWorkerSource, buildMermaidCDNWorkerSource, canParseOffthread, clearGlobalCustomComponents, clearKaTeXWorker, clearMermaidWorker, createKaTeXWorkerFromCDN, createMermaidWorkerFromCDN, _default$c as default, disableD2, disableKatex, disableMermaid, enableD2, enableKatex, enableMermaid, findPrefixOffthread, getCustomNodeComponents, getKaTeXBackpressureDefaults, getKaTeXWorkerLoad, getLanguageIcon, getMermaidWorkerLoad, getUseMonaco, isD2Enabled, isKaTeXWorkerBusy, isKatexEnabled, isMermaidEnabled, languageMap, normalizeLanguageIdentifier, removeCustomComponents, renderKaTeXInWorker, renderKaTeXWithBackpressure, resolveMonacoLanguageId, setCustomComponents, setD2Loader, setDefaultI18nMap, setKaTeXBackpressureDefaults, setKaTeXCache, setKaTeXWorker, setKaTeXWorkerDebug, setKaTeXWorkerMaxConcurrency, setKatexLoader, setLanguageIconResolver, setMermaidLoader, setMermaidWorker, setMermaidWorkerClientDebug, setMermaidWorkerMaxConcurrency, terminateWorker, waitForKaTeXWorkerSlot };