@simon_he/vue-tui 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/{TMermaidText-frVr8Ysb.js → TMermaidText-wLnMMvVS.js} +1 -1
  2. package/dist/{TSelect-Dx34M1pF.js → TSelect-CMBOOFwK.js} +5 -5
  3. package/dist/{TTree-DdAjCPHu.js → TTree-kk8ntrpg.js} +6 -5
  4. package/dist/agent/mermaid.d.cts +2 -2
  5. package/dist/agent/mermaid.d.ts +2 -2
  6. package/dist/agent.cjs +538 -266
  7. package/dist/agent.js +25 -82
  8. package/dist/{block-source-Crro3mxi.js → block-source-D3YGTErb.js} +299 -239
  9. package/dist/cli.cjs +52 -15
  10. package/dist/cli.js +69 -14
  11. package/dist/core.js +3 -3
  12. package/dist/{hyperlink-_1FAj7Wq.js → create-terminal-Db_-UGVQ.js} +474 -102
  13. package/dist/{dom-renderer-DXx8fWzD.js → dom-renderer-BfwAEQMf.js} +3 -2
  14. package/dist/experimental.cjs +99 -66
  15. package/dist/experimental.js +20 -74
  16. package/dist/hyperlink-clbb_ha_.js +100 -0
  17. package/dist/index.js +8 -8
  18. package/dist/{linkify-BjI4zVfY.js → linkify-CL9wwnZN.js} +3 -3
  19. package/dist/markdown.cjs +521 -212
  20. package/dist/markdown.d.cts +3 -0
  21. package/dist/markdown.d.ts +3 -0
  22. package/dist/markdown.js +75 -8
  23. package/dist/math-image-BZhmfUeu.js +308 -0
  24. package/dist/mermaid-uEfRItDe.js +1205 -0
  25. package/dist/mermaid.cjs +1089 -3
  26. package/dist/mermaid.d.cts +4 -0
  27. package/dist/mermaid.d.ts +4 -0
  28. package/dist/mermaid.js +7 -5
  29. package/dist/{rect-DUpeDfBg.js → rect-JzWMJxxc.js} +1 -1
  30. package/dist/renderer/cli/stdout-renderer.d.ts +44 -0
  31. package/dist/renderer/terminal-graphics.d.ts +44 -0
  32. package/dist/renderer-dom.js +4 -4
  33. package/dist/{terminal-graphics-Bbe83wSr.js → terminal-graphics-DWZrl3oh.js} +85 -2
  34. package/dist/{tlog-theme-i6S_Oftd.js → tlog-theme-DqnF_zNe.js} +5 -4
  35. package/dist/vue/components/TAgentTerminalGraphic.d.ts +1 -1
  36. package/dist/vue/components/TMarkdownText.d.ts +70 -2
  37. package/dist/vue/components/TMermaidImage.d.ts +733 -0
  38. package/dist/vue/components/TMermaidText.d.ts +2 -2
  39. package/dist/vue/components/TVirtualMarkdown.d.ts +70 -2
  40. package/dist/vue/markdown/ast.d.ts +5 -0
  41. package/dist/vue/markdown/document.d.ts +3 -0
  42. package/dist/vue/markdown/math-image.d.ts +68 -0
  43. package/dist/vue/markdown/theme.d.ts +12 -0
  44. package/dist/vue/markdown/types.d.ts +12 -2
  45. package/dist/vue/mermaid/beautiful-mermaid.d.ts +4 -4
  46. package/dist/vue/mermaid/mermaid-image.d.ts +65 -0
  47. package/dist/vue.js +9 -9
  48. package/package.json +14 -1
  49. package/dist/mermaid-BNhM1jAZ.js +0 -123
  50. package/dist/width-GqllnV8C.js +0 -474
  51. /package/dist/{ansi-palette-CH6jc2Z7.js → ansi-palette-BHF1rN7R.js} +0 -0
@@ -0,0 +1,733 @@
1
+ import type { ExtractPublicPropTypes, PropType } from "vue";
2
+ import type { Style } from "../../core/types.js";
3
+ import { type TuiMermaidImageRasterizer } from "../mermaid/mermaid-image.js";
4
+ export type TMermaidImageCopyPayload = Readonly<{
5
+ text: string;
6
+ ok: boolean;
7
+ error?: unknown;
8
+ }>;
9
+ export declare const tMermaidImageProps: {
10
+ readonly x: {
11
+ readonly type: NumberConstructor;
12
+ readonly required: true;
13
+ };
14
+ readonly y: {
15
+ readonly type: NumberConstructor;
16
+ readonly required: true;
17
+ };
18
+ readonly w: {
19
+ readonly type: NumberConstructor;
20
+ readonly required: true;
21
+ };
22
+ readonly h: {
23
+ readonly type: NumberConstructor;
24
+ readonly default: undefined;
25
+ };
26
+ readonly zIndex: {
27
+ readonly type: NumberConstructor;
28
+ readonly default: 0;
29
+ };
30
+ readonly content: {
31
+ readonly type: StringConstructor;
32
+ readonly default: "";
33
+ };
34
+ readonly code: {
35
+ readonly type: StringConstructor;
36
+ readonly default: undefined;
37
+ };
38
+ readonly style: {
39
+ readonly type: PropType<Style>;
40
+ readonly default: undefined;
41
+ };
42
+ readonly clear: {
43
+ readonly type: BooleanConstructor;
44
+ readonly default: true;
45
+ };
46
+ readonly final: {
47
+ readonly type: BooleanConstructor;
48
+ readonly default: true;
49
+ };
50
+ readonly streaming: {
51
+ readonly type: BooleanConstructor;
52
+ readonly default: false;
53
+ };
54
+ readonly renderer: {
55
+ readonly type: PropType<TuiMermaidImageRasterizer>;
56
+ readonly default: undefined;
57
+ };
58
+ readonly cellWidthPx: {
59
+ readonly type: NumberConstructor;
60
+ readonly default: undefined;
61
+ };
62
+ readonly cellHeightPx: {
63
+ readonly type: NumberConstructor;
64
+ readonly default: undefined;
65
+ };
66
+ readonly scale: {
67
+ readonly type: NumberConstructor;
68
+ readonly default: undefined;
69
+ };
70
+ readonly bg: {
71
+ readonly type: StringConstructor;
72
+ readonly default: undefined;
73
+ };
74
+ readonly fg: {
75
+ readonly type: StringConstructor;
76
+ readonly default: undefined;
77
+ };
78
+ readonly maxWidthCells: {
79
+ readonly type: NumberConstructor;
80
+ readonly default: undefined;
81
+ };
82
+ readonly maxHeightCells: {
83
+ readonly type: NumberConstructor;
84
+ readonly default: undefined;
85
+ };
86
+ readonly padding: {
87
+ readonly type: NumberConstructor;
88
+ readonly default: undefined;
89
+ };
90
+ readonly box: {
91
+ readonly type: BooleanConstructor;
92
+ readonly default: true;
93
+ };
94
+ readonly title: {
95
+ readonly type: StringConstructor;
96
+ readonly default: "mermaid";
97
+ };
98
+ readonly copyButton: {
99
+ readonly type: BooleanConstructor;
100
+ readonly default: true;
101
+ };
102
+ readonly copyText: {
103
+ readonly type: StringConstructor;
104
+ readonly default: "copy";
105
+ };
106
+ readonly copiedText: {
107
+ readonly type: StringConstructor;
108
+ readonly default: "copied";
109
+ };
110
+ readonly copiedDurationMs: {
111
+ readonly type: NumberConstructor;
112
+ readonly default: 1200;
113
+ };
114
+ readonly renderTimeoutMs: {
115
+ readonly type: NumberConstructor;
116
+ readonly default: 0;
117
+ };
118
+ readonly maxRenderSourceChars: {
119
+ readonly type: NumberConstructor;
120
+ readonly default: 20000;
121
+ };
122
+ readonly maxRenderSourceLines: {
123
+ readonly type: NumberConstructor;
124
+ readonly default: 400;
125
+ };
126
+ readonly copyOnClick: {
127
+ readonly type: BooleanConstructor;
128
+ readonly default: true;
129
+ };
130
+ readonly ascii: {
131
+ readonly type: BooleanConstructor;
132
+ readonly default: false;
133
+ };
134
+ };
135
+ export type TMermaidImageProps = ExtractPublicPropTypes<typeof tMermaidImageProps>;
136
+ export declare const TMermaidImage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
137
+ readonly x: {
138
+ readonly type: NumberConstructor;
139
+ readonly required: true;
140
+ };
141
+ readonly y: {
142
+ readonly type: NumberConstructor;
143
+ readonly required: true;
144
+ };
145
+ readonly w: {
146
+ readonly type: NumberConstructor;
147
+ readonly required: true;
148
+ };
149
+ readonly h: {
150
+ readonly type: NumberConstructor;
151
+ readonly default: undefined;
152
+ };
153
+ readonly zIndex: {
154
+ readonly type: NumberConstructor;
155
+ readonly default: 0;
156
+ };
157
+ readonly content: {
158
+ readonly type: StringConstructor;
159
+ readonly default: "";
160
+ };
161
+ readonly code: {
162
+ readonly type: StringConstructor;
163
+ readonly default: undefined;
164
+ };
165
+ readonly style: {
166
+ readonly type: PropType<Style>;
167
+ readonly default: undefined;
168
+ };
169
+ readonly clear: {
170
+ readonly type: BooleanConstructor;
171
+ readonly default: true;
172
+ };
173
+ readonly final: {
174
+ readonly type: BooleanConstructor;
175
+ readonly default: true;
176
+ };
177
+ readonly streaming: {
178
+ readonly type: BooleanConstructor;
179
+ readonly default: false;
180
+ };
181
+ readonly renderer: {
182
+ readonly type: PropType<TuiMermaidImageRasterizer>;
183
+ readonly default: undefined;
184
+ };
185
+ readonly cellWidthPx: {
186
+ readonly type: NumberConstructor;
187
+ readonly default: undefined;
188
+ };
189
+ readonly cellHeightPx: {
190
+ readonly type: NumberConstructor;
191
+ readonly default: undefined;
192
+ };
193
+ readonly scale: {
194
+ readonly type: NumberConstructor;
195
+ readonly default: undefined;
196
+ };
197
+ readonly bg: {
198
+ readonly type: StringConstructor;
199
+ readonly default: undefined;
200
+ };
201
+ readonly fg: {
202
+ readonly type: StringConstructor;
203
+ readonly default: undefined;
204
+ };
205
+ readonly maxWidthCells: {
206
+ readonly type: NumberConstructor;
207
+ readonly default: undefined;
208
+ };
209
+ readonly maxHeightCells: {
210
+ readonly type: NumberConstructor;
211
+ readonly default: undefined;
212
+ };
213
+ readonly padding: {
214
+ readonly type: NumberConstructor;
215
+ readonly default: undefined;
216
+ };
217
+ readonly box: {
218
+ readonly type: BooleanConstructor;
219
+ readonly default: true;
220
+ };
221
+ readonly title: {
222
+ readonly type: StringConstructor;
223
+ readonly default: "mermaid";
224
+ };
225
+ readonly copyButton: {
226
+ readonly type: BooleanConstructor;
227
+ readonly default: true;
228
+ };
229
+ readonly copyText: {
230
+ readonly type: StringConstructor;
231
+ readonly default: "copy";
232
+ };
233
+ readonly copiedText: {
234
+ readonly type: StringConstructor;
235
+ readonly default: "copied";
236
+ };
237
+ readonly copiedDurationMs: {
238
+ readonly type: NumberConstructor;
239
+ readonly default: 1200;
240
+ };
241
+ readonly renderTimeoutMs: {
242
+ readonly type: NumberConstructor;
243
+ readonly default: 0;
244
+ };
245
+ readonly maxRenderSourceChars: {
246
+ readonly type: NumberConstructor;
247
+ readonly default: 20000;
248
+ };
249
+ readonly maxRenderSourceLines: {
250
+ readonly type: NumberConstructor;
251
+ readonly default: 400;
252
+ };
253
+ readonly copyOnClick: {
254
+ readonly type: BooleanConstructor;
255
+ readonly default: true;
256
+ };
257
+ readonly ascii: {
258
+ readonly type: BooleanConstructor;
259
+ readonly default: false;
260
+ };
261
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
262
+ [key: string]: any;
263
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
264
+ copy: (_payload: TMermaidImageCopyPayload) => true;
265
+ }, string, (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps), Readonly<import("vue").ExtractPropTypes<{
266
+ readonly x: {
267
+ readonly type: NumberConstructor;
268
+ readonly required: true;
269
+ };
270
+ readonly y: {
271
+ readonly type: NumberConstructor;
272
+ readonly required: true;
273
+ };
274
+ readonly w: {
275
+ readonly type: NumberConstructor;
276
+ readonly required: true;
277
+ };
278
+ readonly h: {
279
+ readonly type: NumberConstructor;
280
+ readonly default: undefined;
281
+ };
282
+ readonly zIndex: {
283
+ readonly type: NumberConstructor;
284
+ readonly default: 0;
285
+ };
286
+ readonly content: {
287
+ readonly type: StringConstructor;
288
+ readonly default: "";
289
+ };
290
+ readonly code: {
291
+ readonly type: StringConstructor;
292
+ readonly default: undefined;
293
+ };
294
+ readonly style: {
295
+ readonly type: PropType<Style>;
296
+ readonly default: undefined;
297
+ };
298
+ readonly clear: {
299
+ readonly type: BooleanConstructor;
300
+ readonly default: true;
301
+ };
302
+ readonly final: {
303
+ readonly type: BooleanConstructor;
304
+ readonly default: true;
305
+ };
306
+ readonly streaming: {
307
+ readonly type: BooleanConstructor;
308
+ readonly default: false;
309
+ };
310
+ readonly renderer: {
311
+ readonly type: PropType<TuiMermaidImageRasterizer>;
312
+ readonly default: undefined;
313
+ };
314
+ readonly cellWidthPx: {
315
+ readonly type: NumberConstructor;
316
+ readonly default: undefined;
317
+ };
318
+ readonly cellHeightPx: {
319
+ readonly type: NumberConstructor;
320
+ readonly default: undefined;
321
+ };
322
+ readonly scale: {
323
+ readonly type: NumberConstructor;
324
+ readonly default: undefined;
325
+ };
326
+ readonly bg: {
327
+ readonly type: StringConstructor;
328
+ readonly default: undefined;
329
+ };
330
+ readonly fg: {
331
+ readonly type: StringConstructor;
332
+ readonly default: undefined;
333
+ };
334
+ readonly maxWidthCells: {
335
+ readonly type: NumberConstructor;
336
+ readonly default: undefined;
337
+ };
338
+ readonly maxHeightCells: {
339
+ readonly type: NumberConstructor;
340
+ readonly default: undefined;
341
+ };
342
+ readonly padding: {
343
+ readonly type: NumberConstructor;
344
+ readonly default: undefined;
345
+ };
346
+ readonly box: {
347
+ readonly type: BooleanConstructor;
348
+ readonly default: true;
349
+ };
350
+ readonly title: {
351
+ readonly type: StringConstructor;
352
+ readonly default: "mermaid";
353
+ };
354
+ readonly copyButton: {
355
+ readonly type: BooleanConstructor;
356
+ readonly default: true;
357
+ };
358
+ readonly copyText: {
359
+ readonly type: StringConstructor;
360
+ readonly default: "copy";
361
+ };
362
+ readonly copiedText: {
363
+ readonly type: StringConstructor;
364
+ readonly default: "copied";
365
+ };
366
+ readonly copiedDurationMs: {
367
+ readonly type: NumberConstructor;
368
+ readonly default: 1200;
369
+ };
370
+ readonly renderTimeoutMs: {
371
+ readonly type: NumberConstructor;
372
+ readonly default: 0;
373
+ };
374
+ readonly maxRenderSourceChars: {
375
+ readonly type: NumberConstructor;
376
+ readonly default: 20000;
377
+ };
378
+ readonly maxRenderSourceLines: {
379
+ readonly type: NumberConstructor;
380
+ readonly default: 400;
381
+ };
382
+ readonly copyOnClick: {
383
+ readonly type: BooleanConstructor;
384
+ readonly default: true;
385
+ };
386
+ readonly ascii: {
387
+ readonly type: BooleanConstructor;
388
+ readonly default: false;
389
+ };
390
+ }>> & Readonly<{
391
+ onCopy?: ((_payload: Readonly<{
392
+ text: string;
393
+ ok: boolean;
394
+ error?: unknown;
395
+ }>) => any) | undefined;
396
+ }>, {
397
+ readonly fg: string;
398
+ readonly bg: string;
399
+ readonly style: Readonly<{
400
+ fg?: string;
401
+ bg?: string;
402
+ bold?: boolean;
403
+ dim?: boolean;
404
+ italic?: boolean;
405
+ underline?: boolean;
406
+ inverse?: boolean;
407
+ href?: string;
408
+ }>;
409
+ readonly code: string;
410
+ readonly title: string;
411
+ readonly h: number;
412
+ readonly zIndex: number;
413
+ readonly clear: boolean;
414
+ readonly renderer: TuiMermaidImageRasterizer;
415
+ readonly padding: number;
416
+ readonly content: string;
417
+ readonly final: boolean;
418
+ readonly streaming: boolean;
419
+ readonly cellWidthPx: number;
420
+ readonly cellHeightPx: number;
421
+ readonly scale: number;
422
+ readonly maxWidthCells: number;
423
+ readonly ascii: boolean;
424
+ readonly box: boolean;
425
+ readonly copyButton: boolean;
426
+ readonly copyText: string;
427
+ readonly copiedText: string;
428
+ readonly renderTimeoutMs: number;
429
+ readonly maxRenderSourceChars: number;
430
+ readonly maxRenderSourceLines: number;
431
+ readonly copiedDurationMs: number;
432
+ readonly maxHeightCells: number;
433
+ readonly copyOnClick: boolean;
434
+ }, {}>;
435
+ export declare const TMermaidImageText: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
436
+ readonly x: {
437
+ readonly type: NumberConstructor;
438
+ readonly required: true;
439
+ };
440
+ readonly y: {
441
+ readonly type: NumberConstructor;
442
+ readonly required: true;
443
+ };
444
+ readonly w: {
445
+ readonly type: NumberConstructor;
446
+ readonly required: true;
447
+ };
448
+ readonly h: {
449
+ readonly type: NumberConstructor;
450
+ readonly default: undefined;
451
+ };
452
+ readonly zIndex: {
453
+ readonly type: NumberConstructor;
454
+ readonly default: 0;
455
+ };
456
+ readonly content: {
457
+ readonly type: StringConstructor;
458
+ readonly default: "";
459
+ };
460
+ readonly code: {
461
+ readonly type: StringConstructor;
462
+ readonly default: undefined;
463
+ };
464
+ readonly style: {
465
+ readonly type: PropType<Style>;
466
+ readonly default: undefined;
467
+ };
468
+ readonly clear: {
469
+ readonly type: BooleanConstructor;
470
+ readonly default: true;
471
+ };
472
+ readonly final: {
473
+ readonly type: BooleanConstructor;
474
+ readonly default: true;
475
+ };
476
+ readonly streaming: {
477
+ readonly type: BooleanConstructor;
478
+ readonly default: false;
479
+ };
480
+ readonly renderer: {
481
+ readonly type: PropType<TuiMermaidImageRasterizer>;
482
+ readonly default: undefined;
483
+ };
484
+ readonly cellWidthPx: {
485
+ readonly type: NumberConstructor;
486
+ readonly default: undefined;
487
+ };
488
+ readonly cellHeightPx: {
489
+ readonly type: NumberConstructor;
490
+ readonly default: undefined;
491
+ };
492
+ readonly scale: {
493
+ readonly type: NumberConstructor;
494
+ readonly default: undefined;
495
+ };
496
+ readonly bg: {
497
+ readonly type: StringConstructor;
498
+ readonly default: undefined;
499
+ };
500
+ readonly fg: {
501
+ readonly type: StringConstructor;
502
+ readonly default: undefined;
503
+ };
504
+ readonly maxWidthCells: {
505
+ readonly type: NumberConstructor;
506
+ readonly default: undefined;
507
+ };
508
+ readonly maxHeightCells: {
509
+ readonly type: NumberConstructor;
510
+ readonly default: undefined;
511
+ };
512
+ readonly padding: {
513
+ readonly type: NumberConstructor;
514
+ readonly default: undefined;
515
+ };
516
+ readonly box: {
517
+ readonly type: BooleanConstructor;
518
+ readonly default: true;
519
+ };
520
+ readonly title: {
521
+ readonly type: StringConstructor;
522
+ readonly default: "mermaid";
523
+ };
524
+ readonly copyButton: {
525
+ readonly type: BooleanConstructor;
526
+ readonly default: true;
527
+ };
528
+ readonly copyText: {
529
+ readonly type: StringConstructor;
530
+ readonly default: "copy";
531
+ };
532
+ readonly copiedText: {
533
+ readonly type: StringConstructor;
534
+ readonly default: "copied";
535
+ };
536
+ readonly copiedDurationMs: {
537
+ readonly type: NumberConstructor;
538
+ readonly default: 1200;
539
+ };
540
+ readonly renderTimeoutMs: {
541
+ readonly type: NumberConstructor;
542
+ readonly default: 0;
543
+ };
544
+ readonly maxRenderSourceChars: {
545
+ readonly type: NumberConstructor;
546
+ readonly default: 20000;
547
+ };
548
+ readonly maxRenderSourceLines: {
549
+ readonly type: NumberConstructor;
550
+ readonly default: 400;
551
+ };
552
+ readonly copyOnClick: {
553
+ readonly type: BooleanConstructor;
554
+ readonly default: true;
555
+ };
556
+ readonly ascii: {
557
+ readonly type: BooleanConstructor;
558
+ readonly default: false;
559
+ };
560
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
561
+ [key: string]: any;
562
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
563
+ copy: (_payload: TMermaidImageCopyPayload) => true;
564
+ }, string, (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps), Readonly<import("vue").ExtractPropTypes<{
565
+ readonly x: {
566
+ readonly type: NumberConstructor;
567
+ readonly required: true;
568
+ };
569
+ readonly y: {
570
+ readonly type: NumberConstructor;
571
+ readonly required: true;
572
+ };
573
+ readonly w: {
574
+ readonly type: NumberConstructor;
575
+ readonly required: true;
576
+ };
577
+ readonly h: {
578
+ readonly type: NumberConstructor;
579
+ readonly default: undefined;
580
+ };
581
+ readonly zIndex: {
582
+ readonly type: NumberConstructor;
583
+ readonly default: 0;
584
+ };
585
+ readonly content: {
586
+ readonly type: StringConstructor;
587
+ readonly default: "";
588
+ };
589
+ readonly code: {
590
+ readonly type: StringConstructor;
591
+ readonly default: undefined;
592
+ };
593
+ readonly style: {
594
+ readonly type: PropType<Style>;
595
+ readonly default: undefined;
596
+ };
597
+ readonly clear: {
598
+ readonly type: BooleanConstructor;
599
+ readonly default: true;
600
+ };
601
+ readonly final: {
602
+ readonly type: BooleanConstructor;
603
+ readonly default: true;
604
+ };
605
+ readonly streaming: {
606
+ readonly type: BooleanConstructor;
607
+ readonly default: false;
608
+ };
609
+ readonly renderer: {
610
+ readonly type: PropType<TuiMermaidImageRasterizer>;
611
+ readonly default: undefined;
612
+ };
613
+ readonly cellWidthPx: {
614
+ readonly type: NumberConstructor;
615
+ readonly default: undefined;
616
+ };
617
+ readonly cellHeightPx: {
618
+ readonly type: NumberConstructor;
619
+ readonly default: undefined;
620
+ };
621
+ readonly scale: {
622
+ readonly type: NumberConstructor;
623
+ readonly default: undefined;
624
+ };
625
+ readonly bg: {
626
+ readonly type: StringConstructor;
627
+ readonly default: undefined;
628
+ };
629
+ readonly fg: {
630
+ readonly type: StringConstructor;
631
+ readonly default: undefined;
632
+ };
633
+ readonly maxWidthCells: {
634
+ readonly type: NumberConstructor;
635
+ readonly default: undefined;
636
+ };
637
+ readonly maxHeightCells: {
638
+ readonly type: NumberConstructor;
639
+ readonly default: undefined;
640
+ };
641
+ readonly padding: {
642
+ readonly type: NumberConstructor;
643
+ readonly default: undefined;
644
+ };
645
+ readonly box: {
646
+ readonly type: BooleanConstructor;
647
+ readonly default: true;
648
+ };
649
+ readonly title: {
650
+ readonly type: StringConstructor;
651
+ readonly default: "mermaid";
652
+ };
653
+ readonly copyButton: {
654
+ readonly type: BooleanConstructor;
655
+ readonly default: true;
656
+ };
657
+ readonly copyText: {
658
+ readonly type: StringConstructor;
659
+ readonly default: "copy";
660
+ };
661
+ readonly copiedText: {
662
+ readonly type: StringConstructor;
663
+ readonly default: "copied";
664
+ };
665
+ readonly copiedDurationMs: {
666
+ readonly type: NumberConstructor;
667
+ readonly default: 1200;
668
+ };
669
+ readonly renderTimeoutMs: {
670
+ readonly type: NumberConstructor;
671
+ readonly default: 0;
672
+ };
673
+ readonly maxRenderSourceChars: {
674
+ readonly type: NumberConstructor;
675
+ readonly default: 20000;
676
+ };
677
+ readonly maxRenderSourceLines: {
678
+ readonly type: NumberConstructor;
679
+ readonly default: 400;
680
+ };
681
+ readonly copyOnClick: {
682
+ readonly type: BooleanConstructor;
683
+ readonly default: true;
684
+ };
685
+ readonly ascii: {
686
+ readonly type: BooleanConstructor;
687
+ readonly default: false;
688
+ };
689
+ }>> & Readonly<{
690
+ onCopy?: ((_payload: Readonly<{
691
+ text: string;
692
+ ok: boolean;
693
+ error?: unknown;
694
+ }>) => any) | undefined;
695
+ }>, {
696
+ readonly fg: string;
697
+ readonly bg: string;
698
+ readonly style: Readonly<{
699
+ fg?: string;
700
+ bg?: string;
701
+ bold?: boolean;
702
+ dim?: boolean;
703
+ italic?: boolean;
704
+ underline?: boolean;
705
+ inverse?: boolean;
706
+ href?: string;
707
+ }>;
708
+ readonly code: string;
709
+ readonly title: string;
710
+ readonly h: number;
711
+ readonly zIndex: number;
712
+ readonly clear: boolean;
713
+ readonly renderer: TuiMermaidImageRasterizer;
714
+ readonly padding: number;
715
+ readonly content: string;
716
+ readonly final: boolean;
717
+ readonly streaming: boolean;
718
+ readonly cellWidthPx: number;
719
+ readonly cellHeightPx: number;
720
+ readonly scale: number;
721
+ readonly maxWidthCells: number;
722
+ readonly ascii: boolean;
723
+ readonly box: boolean;
724
+ readonly copyButton: boolean;
725
+ readonly copyText: string;
726
+ readonly copiedText: string;
727
+ readonly renderTimeoutMs: number;
728
+ readonly maxRenderSourceChars: number;
729
+ readonly maxRenderSourceLines: number;
730
+ readonly copiedDurationMs: number;
731
+ readonly maxHeightCells: number;
732
+ readonly copyOnClick: boolean;
733
+ }, {}>;