react-shiki 0.11.0 → 0.11.2

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,1200 @@
1
+ import { ReactElement } from "react";
2
+ import { Awaitable, BundledHighlighterOptions, BundledLanguage, BundledTheme, CodeOptionsMultipleThemes, CodeToHastOptions, Highlighter, HighlighterCore, LanguageInput, LanguageRegistration, RegexEngine, SpecialLanguage, StringLiteralUnion, ThemeRegistrationAny, TokensResult } from "shiki";
3
+ //#region ../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts
4
+ // ## Interfaces
5
+ /**
6
+ * Info associated with nodes by the ecosystem.
7
+ *
8
+ * This space is guaranteed to never be specified by unist or specifications
9
+ * implementing unist.
10
+ * But you can use it in utilities and plugins to store data.
11
+ *
12
+ * This type can be augmented to register custom data.
13
+ * For example:
14
+ *
15
+ * ```ts
16
+ * declare module 'unist' {
17
+ * interface Data {
18
+ * // `someNode.data.myId` is typed as `number | undefined`
19
+ * myId?: number | undefined
20
+ * }
21
+ * }
22
+ * ```
23
+ */
24
+ interface Data$1 {}
25
+ /**
26
+ * One place in a source file.
27
+ */
28
+ interface Point {
29
+ /**
30
+ * Line in a source file (1-indexed integer).
31
+ */
32
+ line: number;
33
+ /**
34
+ * Column in a source file (1-indexed integer).
35
+ */
36
+ column: number;
37
+ /**
38
+ * Character in a source file (0-indexed integer).
39
+ */
40
+ offset?: number | undefined;
41
+ }
42
+ /**
43
+ * Position of a node in a source document.
44
+ *
45
+ * A position is a range between two points.
46
+ */
47
+ interface Position {
48
+ /**
49
+ * Place of the first character of the parsed source region.
50
+ */
51
+ start: Point;
52
+ /**
53
+ * Place of the first character after the parsed source region.
54
+ */
55
+ end: Point;
56
+ }
57
+ /**
58
+ * Abstract unist node.
59
+ *
60
+ * The syntactic unit in unist syntax trees are called nodes.
61
+ *
62
+ * This interface is supposed to be extended.
63
+ * If you can use {@link Literal} or {@link Parent}, you should.
64
+ * But for example in markdown, a `thematicBreak` (`***`), is neither literal
65
+ * nor parent, but still a node.
66
+ */
67
+ interface Node$1 {
68
+ /**
69
+ * Node type.
70
+ */
71
+ type: string;
72
+ /**
73
+ * Info from the ecosystem.
74
+ */
75
+ data?: Data$1 | undefined;
76
+ /**
77
+ * Position of a node in a source document.
78
+ *
79
+ * Nodes that are generated (not in the original source document) must not
80
+ * have a position.
81
+ */
82
+ position?: Position | undefined;
83
+ }
84
+ //#endregion
85
+ //#region ../node_modules/.pnpm/@types+hast@3.0.5/node_modules/@types/hast/index.d.ts
86
+ // ## Interfaces
87
+ /**
88
+ * Info associated with hast nodes by the ecosystem.
89
+ *
90
+ * This space is guaranteed to never be specified by unist or hast.
91
+ * But you can use it in utilities and plugins to store data.
92
+ *
93
+ * This type can be augmented to register custom data.
94
+ * For example:
95
+ *
96
+ * ```ts
97
+ * declare module 'hast' {
98
+ * interface Data {
99
+ * // `someNode.data.myId` is typed as `number | undefined`
100
+ * myId?: number | undefined
101
+ * }
102
+ * }
103
+ * ```
104
+ */
105
+ interface Data extends Data$1 {}
106
+ /**
107
+ * Info associated with an element.
108
+ */
109
+ interface Properties {
110
+ abbr?: string | undefined;
111
+ about?: Array<string> | undefined;
112
+ accentHeight?: number | string | undefined;
113
+ accept?: Array<string> | undefined;
114
+ acceptCharset?: Array<string> | undefined;
115
+ accessKey?: Array<string> | undefined;
116
+ accumulate?: string | undefined;
117
+ action?: string | undefined;
118
+ additive?: string | undefined;
119
+ align?: string | undefined;
120
+ alignmentBaseline?: string | undefined;
121
+ aLink?: string | undefined;
122
+ allow?: string | undefined;
123
+ allowFullScreen?: boolean | string | undefined;
124
+ allowPaymentRequest?: boolean | string | undefined;
125
+ allowTransparency?: string | undefined;
126
+ allowUserMedia?: boolean | string | undefined;
127
+ alpha?: boolean | string | undefined;
128
+ alphabetic?: number | string | undefined;
129
+ alt?: string | undefined;
130
+ amplitude?: number | string | undefined;
131
+ arabicForm?: string | undefined;
132
+ archive?: Array<string> | undefined;
133
+ ariaActiveDescendant?: string | undefined;
134
+ ariaAtomic?: "false" | "true" | (string & {}) | undefined;
135
+ ariaAutoComplete?: string | undefined;
136
+ ariaBusy?: "false" | "true" | (string & {}) | undefined;
137
+ ariaChecked?: "false" | "true" | (string & {}) | undefined;
138
+ ariaColCount?: number | string | undefined;
139
+ ariaColIndex?: number | string | undefined;
140
+ ariaColSpan?: number | string | undefined;
141
+ ariaControls?: Array<string> | undefined;
142
+ ariaCurrent?: string | undefined;
143
+ ariaDescribedBy?: Array<string> | undefined;
144
+ ariaDetails?: string | undefined;
145
+ ariaDisabled?: "false" | "true" | (string & {}) | undefined;
146
+ ariaDropEffect?: Array<string> | undefined;
147
+ ariaErrorMessage?: string | undefined;
148
+ ariaExpanded?: "false" | "true" | (string & {}) | undefined;
149
+ ariaFlowTo?: Array<string> | undefined;
150
+ ariaGrabbed?: "false" | "true" | (string & {}) | undefined;
151
+ ariaHasPopup?: string | undefined;
152
+ ariaHidden?: "false" | "true" | (string & {}) | undefined;
153
+ ariaInvalid?: string | undefined;
154
+ ariaKeyShortcuts?: string | undefined;
155
+ ariaLabel?: string | undefined;
156
+ ariaLabelledBy?: Array<string> | undefined;
157
+ ariaLevel?: number | string | undefined;
158
+ ariaLive?: string | undefined;
159
+ ariaModal?: "false" | "true" | (string & {}) | undefined;
160
+ ariaMultiLine?: "false" | "true" | (string & {}) | undefined;
161
+ ariaMultiSelectable?: "false" | "true" | (string & {}) | undefined;
162
+ ariaOrientation?: string | undefined;
163
+ ariaOwns?: Array<string> | undefined;
164
+ ariaPlaceholder?: string | undefined;
165
+ ariaPosInSet?: number | string | undefined;
166
+ ariaPressed?: "false" | "true" | (string & {}) | undefined;
167
+ ariaReadOnly?: "false" | "true" | (string & {}) | undefined;
168
+ ariaRelevant?: string | undefined;
169
+ ariaRequired?: "false" | "true" | (string & {}) | undefined;
170
+ ariaRoleDescription?: Array<string> | undefined;
171
+ ariaRowCount?: number | string | undefined;
172
+ ariaRowIndex?: number | string | undefined;
173
+ ariaRowSpan?: number | string | undefined;
174
+ ariaSelected?: "false" | "true" | (string & {}) | undefined;
175
+ ariaSetSize?: number | string | undefined;
176
+ ariaSort?: string | undefined;
177
+ ariaValueMax?: number | string | undefined;
178
+ ariaValueMin?: number | string | undefined;
179
+ ariaValueNow?: number | string | undefined;
180
+ ariaValueText?: string | undefined;
181
+ as?: string | undefined;
182
+ ascent?: number | string | undefined;
183
+ async?: boolean | string | undefined;
184
+ attributeName?: string | undefined;
185
+ attributeType?: string | undefined;
186
+ autoCapitalize?: string | undefined;
187
+ autoComplete?: Array<string> | undefined;
188
+ autoCorrect?: string | undefined;
189
+ autoFocus?: boolean | string | undefined;
190
+ autoPlay?: boolean | string | undefined;
191
+ autoSave?: string | undefined;
192
+ axis?: string | undefined;
193
+ azimuth?: number | string | undefined;
194
+ background?: string | undefined;
195
+ bandwidth?: string | undefined;
196
+ baseFrequency?: string | undefined;
197
+ baselineShift?: string | undefined;
198
+ baseProfile?: string | undefined;
199
+ bbox?: string | undefined;
200
+ begin?: string | undefined;
201
+ bgColor?: string | undefined;
202
+ bias?: number | string | undefined;
203
+ blocking?: Array<string> | undefined;
204
+ border?: number | string | undefined;
205
+ borderColor?: string | undefined;
206
+ bottomMargin?: number | string | undefined;
207
+ by?: string | undefined;
208
+ calcMode?: string | undefined;
209
+ capHeight?: number | string | undefined;
210
+ capture?: string | undefined;
211
+ cellPadding?: string | undefined;
212
+ cellSpacing?: string | undefined;
213
+ char?: string | undefined;
214
+ charOff?: string | undefined;
215
+ charSet?: string | undefined;
216
+ checked?: boolean | string | undefined;
217
+ cite?: string | undefined;
218
+ classId?: string | undefined;
219
+ className?: Array<string> | undefined;
220
+ clear?: string | undefined;
221
+ clip?: string | undefined;
222
+ clipPath?: string | undefined;
223
+ clipPathUnits?: string | undefined;
224
+ clipRule?: string | undefined;
225
+ closedBy?: string | undefined;
226
+ code?: string | undefined;
227
+ codeBase?: string | undefined;
228
+ codeType?: string | undefined;
229
+ color?: string | undefined;
230
+ colorInterpolation?: string | undefined;
231
+ colorInterpolationFilters?: string | undefined;
232
+ colorProfile?: string | undefined;
233
+ colorRendering?: string | undefined;
234
+ colorSpace?: string | undefined;
235
+ cols?: number | string | undefined;
236
+ colSpan?: number | string | undefined;
237
+ command?: string | undefined;
238
+ commandFor?: string | undefined;
239
+ compact?: boolean | string | undefined;
240
+ content?: string | undefined;
241
+ contentEditable?: "false" | "true" | (string & {}) | undefined;
242
+ contentScriptType?: string | undefined;
243
+ contentStyleType?: string | undefined;
244
+ controls?: boolean | string | undefined;
245
+ controlsList?: Array<string> | undefined;
246
+ coords?: Array<number | string> | undefined;
247
+ credentialless?: boolean | string | undefined;
248
+ crossOrigin?: string | undefined;
249
+ cursor?: string | undefined;
250
+ cx?: string | undefined;
251
+ cy?: string | undefined;
252
+ d?: string | undefined;
253
+ data?: string | undefined;
254
+ dataType?: string | undefined;
255
+ dateTime?: string | undefined;
256
+ declare?: boolean | string | undefined;
257
+ decoding?: string | undefined;
258
+ default?: boolean | string | undefined;
259
+ defaultAction?: string | undefined;
260
+ defer?: boolean | string | undefined;
261
+ descent?: number | string | undefined;
262
+ diffuseConstant?: number | string | undefined;
263
+ dir?: string | undefined;
264
+ direction?: string | undefined;
265
+ dirName?: string | undefined;
266
+ disabled?: boolean | string | undefined;
267
+ disablePictureInPicture?: boolean | string | undefined;
268
+ disableRemotePlayback?: boolean | string | undefined;
269
+ display?: string | undefined;
270
+ divisor?: number | string | undefined;
271
+ dominantBaseline?: string | undefined;
272
+ download?: boolean | string | undefined;
273
+ draggable?: "false" | "true" | (string & {}) | undefined;
274
+ dur?: string | undefined;
275
+ dx?: string | undefined;
276
+ dy?: string | undefined;
277
+ edgeMode?: string | undefined;
278
+ editable?: string | undefined;
279
+ elevation?: number | string | undefined;
280
+ enableBackground?: string | undefined;
281
+ encType?: string | undefined;
282
+ end?: string | undefined;
283
+ enterKeyHint?: string | undefined;
284
+ event?: string | undefined;
285
+ exponent?: number | string | undefined;
286
+ exportParts?: Array<string> | undefined;
287
+ externalResourcesRequired?: string | undefined;
288
+ face?: string | undefined;
289
+ fetchPriority?: string | undefined;
290
+ fill?: string | undefined;
291
+ fillOpacity?: number | string | undefined;
292
+ fillRule?: string | undefined;
293
+ filter?: string | undefined;
294
+ filterRes?: string | undefined;
295
+ filterUnits?: string | undefined;
296
+ floodColor?: string | undefined;
297
+ floodOpacity?: string | undefined;
298
+ focusable?: string | undefined;
299
+ focusHighlight?: string | undefined;
300
+ fontFamily?: string | undefined;
301
+ fontSize?: string | undefined;
302
+ fontSizeAdjust?: string | undefined;
303
+ fontStretch?: string | undefined;
304
+ fontStyle?: string | undefined;
305
+ fontVariant?: string | undefined;
306
+ fontWeight?: string | undefined;
307
+ form?: string | undefined;
308
+ formAction?: string | undefined;
309
+ format?: string | undefined;
310
+ formEncType?: string | undefined;
311
+ formMethod?: string | undefined;
312
+ formNoValidate?: boolean | string | undefined;
313
+ formTarget?: string | undefined;
314
+ fr?: string | undefined;
315
+ frame?: string | undefined;
316
+ frameBorder?: string | undefined;
317
+ from?: string | undefined;
318
+ fx?: string | undefined;
319
+ fy?: string | undefined;
320
+ g1?: Array<string> | undefined;
321
+ g2?: Array<string> | undefined;
322
+ glyphName?: Array<string> | undefined;
323
+ glyphOrientationHorizontal?: string | undefined;
324
+ glyphOrientationVertical?: string | undefined;
325
+ glyphRef?: string | undefined;
326
+ gradientTransform?: string | undefined;
327
+ gradientUnits?: string | undefined;
328
+ handler?: string | undefined;
329
+ hanging?: number | string | undefined;
330
+ hatchContentUnits?: string | undefined;
331
+ hatchUnits?: string | undefined;
332
+ headers?: Array<string> | undefined;
333
+ height?: number | string | undefined;
334
+ hidden?: boolean | string | undefined;
335
+ high?: number | string | undefined;
336
+ horizAdvX?: number | string | undefined;
337
+ horizOriginX?: number | string | undefined;
338
+ horizOriginY?: number | string | undefined;
339
+ href?: string | undefined;
340
+ hrefLang?: string | undefined;
341
+ hSpace?: number | string | undefined;
342
+ htmlFor?: Array<string> | undefined;
343
+ httpEquiv?: Array<string> | undefined;
344
+ id?: string | undefined;
345
+ ideographic?: number | string | undefined;
346
+ imageRendering?: string | undefined;
347
+ imageSizes?: string | undefined;
348
+ imageSrcSet?: string | undefined;
349
+ in?: string | undefined;
350
+ in2?: string | undefined;
351
+ inert?: boolean | string | undefined;
352
+ initialVisibility?: string | undefined;
353
+ inputMode?: string | undefined;
354
+ integrity?: string | undefined;
355
+ intercept?: number | string | undefined;
356
+ is?: string | undefined;
357
+ isMap?: boolean | string | undefined;
358
+ itemId?: string | undefined;
359
+ itemProp?: Array<string> | undefined;
360
+ itemRef?: Array<string> | undefined;
361
+ itemScope?: boolean | string | undefined;
362
+ itemType?: Array<string> | undefined;
363
+ k?: number | string | undefined;
364
+ k1?: number | string | undefined;
365
+ k2?: number | string | undefined;
366
+ k3?: number | string | undefined;
367
+ k4?: number | string | undefined;
368
+ kernelMatrix?: Array<string> | undefined;
369
+ kernelUnitLength?: string | undefined;
370
+ kerning?: string | undefined;
371
+ keyPoints?: string | undefined;
372
+ keySplines?: string | undefined;
373
+ keyTimes?: string | undefined;
374
+ kind?: string | undefined;
375
+ label?: string | undefined;
376
+ lang?: string | undefined;
377
+ language?: string | undefined;
378
+ leftMargin?: number | string | undefined;
379
+ lengthAdjust?: string | undefined;
380
+ letterSpacing?: string | undefined;
381
+ lightingColor?: string | undefined;
382
+ limitingConeAngle?: number | string | undefined;
383
+ link?: string | undefined;
384
+ list?: string | undefined;
385
+ loading?: string | undefined;
386
+ local?: string | undefined;
387
+ longDesc?: string | undefined;
388
+ loop?: boolean | string | undefined;
389
+ low?: number | string | undefined;
390
+ lowSrc?: string | undefined;
391
+ manifest?: string | undefined;
392
+ marginHeight?: number | string | undefined;
393
+ marginWidth?: number | string | undefined;
394
+ markerEnd?: string | undefined;
395
+ markerHeight?: string | undefined;
396
+ markerMid?: string | undefined;
397
+ markerStart?: string | undefined;
398
+ markerUnits?: string | undefined;
399
+ markerWidth?: string | undefined;
400
+ mask?: string | undefined;
401
+ maskContentUnits?: string | undefined;
402
+ maskType?: string | undefined;
403
+ maskUnits?: string | undefined;
404
+ mathematical?: string | undefined;
405
+ max?: string | undefined;
406
+ maxLength?: number | string | undefined;
407
+ media?: string | undefined;
408
+ mediaCharacterEncoding?: string | undefined;
409
+ mediaContentEncodings?: string | undefined;
410
+ mediaSize?: number | string | undefined;
411
+ mediaTime?: string | undefined;
412
+ method?: string | undefined;
413
+ min?: string | undefined;
414
+ minLength?: number | string | undefined;
415
+ mode?: string | undefined;
416
+ multiple?: boolean | string | undefined;
417
+ muted?: boolean | string | undefined;
418
+ name?: string | undefined;
419
+ navDown?: string | undefined;
420
+ navDownLeft?: string | undefined;
421
+ navDownRight?: string | undefined;
422
+ navLeft?: string | undefined;
423
+ navNext?: string | undefined;
424
+ navPrev?: string | undefined;
425
+ navRight?: string | undefined;
426
+ navUp?: string | undefined;
427
+ navUpLeft?: string | undefined;
428
+ navUpRight?: string | undefined;
429
+ noHref?: boolean | string | undefined;
430
+ noModule?: boolean | string | undefined;
431
+ nonce?: string | undefined;
432
+ noResize?: boolean | string | undefined;
433
+ noShade?: boolean | string | undefined;
434
+ noValidate?: boolean | string | undefined;
435
+ noWrap?: boolean | string | undefined;
436
+ numOctaves?: string | undefined;
437
+ object?: string | undefined;
438
+ observer?: string | undefined;
439
+ offset?: string | undefined;
440
+ onAbort?: string | undefined;
441
+ onActivate?: string | undefined;
442
+ onAfterPrint?: string | undefined;
443
+ onAuxClick?: string | undefined;
444
+ onBeforeMatch?: string | undefined;
445
+ onBeforePrint?: string | undefined;
446
+ onBeforeToggle?: string | undefined;
447
+ onBeforeUnload?: string | undefined;
448
+ onBegin?: string | undefined;
449
+ onBlur?: string | undefined;
450
+ onCancel?: string | undefined;
451
+ onCanPlay?: string | undefined;
452
+ onCanPlayThrough?: string | undefined;
453
+ onChange?: string | undefined;
454
+ onClick?: string | undefined;
455
+ onClose?: string | undefined;
456
+ onContextLost?: string | undefined;
457
+ onContextMenu?: string | undefined;
458
+ onContextRestored?: string | undefined;
459
+ onCopy?: string | undefined;
460
+ onCueChange?: string | undefined;
461
+ onCut?: string | undefined;
462
+ onDblClick?: string | undefined;
463
+ onDrag?: string | undefined;
464
+ onDragEnd?: string | undefined;
465
+ onDragEnter?: string | undefined;
466
+ onDragExit?: string | undefined;
467
+ onDragLeave?: string | undefined;
468
+ onDragOver?: string | undefined;
469
+ onDragStart?: string | undefined;
470
+ onDrop?: string | undefined;
471
+ onDurationChange?: string | undefined;
472
+ onEmptied?: string | undefined;
473
+ onEnd?: string | undefined;
474
+ onEnded?: string | undefined;
475
+ onError?: string | undefined;
476
+ onFocus?: string | undefined;
477
+ onFocusIn?: string | undefined;
478
+ onFocusOut?: string | undefined;
479
+ onFormData?: string | undefined;
480
+ onHashChange?: string | undefined;
481
+ onInput?: string | undefined;
482
+ onInvalid?: string | undefined;
483
+ onKeyDown?: string | undefined;
484
+ onKeyPress?: string | undefined;
485
+ onKeyUp?: string | undefined;
486
+ onLanguageChange?: string | undefined;
487
+ onLoad?: string | undefined;
488
+ onLoadedData?: string | undefined;
489
+ onLoadedMetadata?: string | undefined;
490
+ onLoadEnd?: string | undefined;
491
+ onLoadStart?: string | undefined;
492
+ onMessage?: string | undefined;
493
+ onMessageError?: string | undefined;
494
+ onMouseDown?: string | undefined;
495
+ onMouseEnter?: string | undefined;
496
+ onMouseLeave?: string | undefined;
497
+ onMouseMove?: string | undefined;
498
+ onMouseOut?: string | undefined;
499
+ onMouseOver?: string | undefined;
500
+ onMouseUp?: string | undefined;
501
+ onMouseWheel?: string | undefined;
502
+ onOffline?: string | undefined;
503
+ onOnline?: string | undefined;
504
+ onPageHide?: string | undefined;
505
+ onPageShow?: string | undefined;
506
+ onPaste?: string | undefined;
507
+ onPause?: string | undefined;
508
+ onPlay?: string | undefined;
509
+ onPlaying?: string | undefined;
510
+ onPopState?: string | undefined;
511
+ onProgress?: string | undefined;
512
+ onRateChange?: string | undefined;
513
+ onRejectionHandled?: string | undefined;
514
+ onRepeat?: string | undefined;
515
+ onReset?: string | undefined;
516
+ onResize?: string | undefined;
517
+ onScroll?: string | undefined;
518
+ onScrollEnd?: string | undefined;
519
+ onSecurityPolicyViolation?: string | undefined;
520
+ onSeeked?: string | undefined;
521
+ onSeeking?: string | undefined;
522
+ onSelect?: string | undefined;
523
+ onShow?: string | undefined;
524
+ onSlotChange?: string | undefined;
525
+ onStalled?: string | undefined;
526
+ onStorage?: string | undefined;
527
+ onSubmit?: string | undefined;
528
+ onSuspend?: string | undefined;
529
+ onTimeUpdate?: string | undefined;
530
+ onToggle?: string | undefined;
531
+ onUnhandledRejection?: string | undefined;
532
+ onUnload?: string | undefined;
533
+ onVolumeChange?: string | undefined;
534
+ onWaiting?: string | undefined;
535
+ onWheel?: string | undefined;
536
+ onZoom?: string | undefined;
537
+ opacity?: string | undefined;
538
+ open?: boolean | string | undefined;
539
+ operator?: string | undefined;
540
+ optimum?: number | string | undefined;
541
+ order?: string | undefined;
542
+ orient?: string | undefined;
543
+ orientation?: string | undefined;
544
+ origin?: string | undefined;
545
+ overflow?: string | undefined;
546
+ overlay?: string | undefined;
547
+ overlinePosition?: number | string | undefined;
548
+ overlineThickness?: number | string | undefined;
549
+ paintOrder?: string | undefined;
550
+ panose1?: string | undefined;
551
+ part?: Array<string> | undefined;
552
+ path?: string | undefined;
553
+ pathLength?: number | string | undefined;
554
+ pattern?: string | undefined;
555
+ patternContentUnits?: string | undefined;
556
+ patternTransform?: string | undefined;
557
+ patternUnits?: string | undefined;
558
+ phase?: string | undefined;
559
+ ping?: Array<string> | undefined;
560
+ pitch?: string | undefined;
561
+ placeholder?: string | undefined;
562
+ playbackOrder?: string | undefined;
563
+ playsInline?: boolean | string | undefined;
564
+ pointerEvents?: string | undefined;
565
+ points?: string | undefined;
566
+ pointsAtX?: number | string | undefined;
567
+ pointsAtY?: number | string | undefined;
568
+ pointsAtZ?: number | string | undefined;
569
+ popover?: string | undefined;
570
+ popoverTarget?: string | undefined;
571
+ popoverTargetAction?: string | undefined;
572
+ poster?: string | undefined;
573
+ prefix?: string | undefined;
574
+ preload?: string | undefined;
575
+ preserveAlpha?: string | undefined;
576
+ preserveAspectRatio?: string | undefined;
577
+ primitiveUnits?: string | undefined;
578
+ profile?: string | undefined;
579
+ prompt?: string | undefined;
580
+ propagate?: string | undefined;
581
+ property?: string | Array<string> | undefined;
582
+ r?: string | undefined;
583
+ radius?: string | undefined;
584
+ readOnly?: boolean | string | undefined;
585
+ referrerPolicy?: string | undefined;
586
+ refX?: string | undefined;
587
+ refY?: string | undefined;
588
+ rel?: Array<string> | undefined;
589
+ renderingIntent?: string | undefined;
590
+ repeatCount?: string | undefined;
591
+ repeatDur?: string | undefined;
592
+ required?: boolean | string | undefined;
593
+ requiredExtensions?: Array<string> | undefined;
594
+ requiredFeatures?: Array<string> | undefined;
595
+ requiredFonts?: Array<string> | undefined;
596
+ requiredFormats?: Array<string> | undefined;
597
+ resource?: string | undefined;
598
+ restart?: string | undefined;
599
+ result?: string | undefined;
600
+ results?: number | string | undefined;
601
+ rev?: string | Array<string> | undefined;
602
+ reversed?: boolean | string | undefined;
603
+ rightMargin?: number | string | undefined;
604
+ role?: string | undefined;
605
+ rotate?: string | undefined;
606
+ rows?: number | string | undefined;
607
+ rowSpan?: number | string | undefined;
608
+ rules?: string | undefined;
609
+ rx?: string | undefined;
610
+ ry?: string | undefined;
611
+ sandbox?: Array<string> | undefined;
612
+ scale?: string | undefined;
613
+ scheme?: string | undefined;
614
+ scope?: string | undefined;
615
+ scoped?: boolean | string | undefined;
616
+ scrolling?: "false" | "true" | (string & {}) | undefined;
617
+ seamless?: boolean | string | undefined;
618
+ security?: string | undefined;
619
+ seed?: string | undefined;
620
+ selected?: boolean | string | undefined;
621
+ shadowRootClonable?: boolean | string | undefined;
622
+ shadowRootCustomElementRegistry?: boolean | string | undefined;
623
+ shadowRootDelegatesFocus?: boolean | string | undefined;
624
+ shadowRootMode?: string | undefined;
625
+ shadowRootSerializable?: boolean | string | undefined;
626
+ shape?: string | undefined;
627
+ shapeRendering?: string | undefined;
628
+ side?: string | undefined;
629
+ size?: number | string | undefined;
630
+ sizes?: string | undefined;
631
+ slope?: string | undefined;
632
+ slot?: string | undefined;
633
+ snapshotTime?: string | undefined;
634
+ spacing?: string | undefined;
635
+ span?: number | string | undefined;
636
+ specularConstant?: number | string | undefined;
637
+ specularExponent?: number | string | undefined;
638
+ spellCheck?: "false" | "true" | (string & {}) | undefined;
639
+ spreadMethod?: string | undefined;
640
+ src?: string | undefined;
641
+ srcDoc?: string | undefined;
642
+ srcLang?: string | undefined;
643
+ srcSet?: string | undefined;
644
+ standby?: string | undefined;
645
+ start?: number | string | undefined;
646
+ startOffset?: string | undefined;
647
+ stdDeviation?: string | undefined;
648
+ stemh?: string | undefined;
649
+ stemv?: string | undefined;
650
+ step?: string | undefined;
651
+ stitchTiles?: string | undefined;
652
+ stopColor?: string | undefined;
653
+ stopOpacity?: string | undefined;
654
+ strikethroughPosition?: number | string | undefined;
655
+ strikethroughThickness?: number | string | undefined;
656
+ string?: string | undefined;
657
+ stroke?: string | undefined;
658
+ strokeDashArray?: Array<string> | undefined;
659
+ strokeDashOffset?: string | undefined;
660
+ strokeLineCap?: string | undefined;
661
+ strokeLineJoin?: string | undefined;
662
+ strokeMiterLimit?: number | string | undefined;
663
+ strokeOpacity?: number | string | undefined;
664
+ strokeWidth?: string | undefined;
665
+ style?: string | undefined;
666
+ summary?: string | undefined;
667
+ surfaceScale?: number | string | undefined;
668
+ syncBehavior?: string | undefined;
669
+ syncBehaviorDefault?: string | undefined;
670
+ syncMaster?: string | undefined;
671
+ syncTolerance?: string | undefined;
672
+ syncToleranceDefault?: string | undefined;
673
+ systemLanguage?: Array<string> | undefined;
674
+ tabIndex?: number | string | undefined;
675
+ tableValues?: string | undefined;
676
+ target?: string | undefined;
677
+ targetX?: number | string | undefined;
678
+ targetY?: number | string | undefined;
679
+ text?: string | undefined;
680
+ textAnchor?: string | undefined;
681
+ textDecoration?: string | undefined;
682
+ textLength?: string | undefined;
683
+ textRendering?: string | undefined;
684
+ timelineBegin?: string | undefined;
685
+ title?: string | undefined;
686
+ to?: string | undefined;
687
+ topMargin?: number | string | undefined;
688
+ transform?: string | undefined;
689
+ transformBehavior?: string | undefined;
690
+ transformOrigin?: string | undefined;
691
+ translate?: string | undefined;
692
+ type?: string | undefined;
693
+ typeMustMatch?: boolean | string | undefined;
694
+ typeOf?: Array<string> | undefined;
695
+ u1?: string | undefined;
696
+ u2?: string | undefined;
697
+ underlinePosition?: number | string | undefined;
698
+ underlineThickness?: number | string | undefined;
699
+ unicode?: string | undefined;
700
+ unicodeBidi?: string | undefined;
701
+ unicodeRange?: string | undefined;
702
+ unitsPerEm?: number | string | undefined;
703
+ unselectable?: string | undefined;
704
+ useMap?: string | undefined;
705
+ vAlign?: string | undefined;
706
+ vAlphabetic?: number | string | undefined;
707
+ value?: "false" | "true" | (string & {}) | undefined;
708
+ values?: string | undefined;
709
+ valueType?: string | undefined;
710
+ vectorEffect?: string | undefined;
711
+ version?: string | undefined;
712
+ vertAdvY?: number | string | undefined;
713
+ vertOriginX?: number | string | undefined;
714
+ vertOriginY?: number | string | undefined;
715
+ vHanging?: number | string | undefined;
716
+ vIdeographic?: number | string | undefined;
717
+ viewBox?: string | undefined;
718
+ viewTarget?: string | undefined;
719
+ visibility?: string | undefined;
720
+ vLink?: string | undefined;
721
+ vMathematical?: number | string | undefined;
722
+ vSpace?: number | string | undefined;
723
+ width?: number | string | undefined;
724
+ widths?: string | undefined;
725
+ wordSpacing?: string | undefined;
726
+ wrap?: string | undefined;
727
+ writingMode?: string | undefined;
728
+ writingSuggestions?: string | undefined;
729
+ x?: string | undefined;
730
+ x1?: string | undefined;
731
+ x2?: string | undefined;
732
+ xChannelSelector?: string | undefined;
733
+ xHeight?: number | string | undefined;
734
+ xLinkActuate?: string | undefined;
735
+ xLinkArcRole?: string | undefined;
736
+ xLinkHref?: string | undefined;
737
+ xLinkRole?: string | undefined;
738
+ xLinkShow?: string | undefined;
739
+ xLinkTitle?: string | undefined;
740
+ xLinkType?: string | undefined;
741
+ xmlBase?: string | undefined;
742
+ xmlLang?: string | undefined;
743
+ xmlns?: string | undefined;
744
+ xmlnsXLink?: string | undefined;
745
+ xmlSpace?: string | undefined;
746
+ y?: string | undefined;
747
+ y1?: string | undefined;
748
+ y2?: string | undefined;
749
+ yChannelSelector?: string | undefined;
750
+ z?: string | undefined;
751
+ zoomAndPan?: string | undefined;
752
+ [PropertyName: string]: boolean | number | string | null | undefined | Array<string | number>;
753
+ }
754
+ // ## Content maps
755
+ /**
756
+ * Union of registered hast nodes that can occur in {@link Element}.
757
+ *
758
+ * To register mote custom hast nodes, add them to {@link ElementContentMap}.
759
+ * They will be automatically added here.
760
+ */
761
+ type ElementContent = ElementContentMap[keyof ElementContentMap];
762
+ /**
763
+ * Registry of all hast nodes that can occur as children of {@link Element}.
764
+ *
765
+ * For a union of all {@link Element} children, see {@link ElementContent}.
766
+ */
767
+ interface ElementContentMap {
768
+ comment: Comment;
769
+ element: Element$1;
770
+ text: Text;
771
+ }
772
+ /**
773
+ * Union of registered hast nodes that can occur in {@link Root}.
774
+ *
775
+ * To register custom hast nodes, add them to {@link RootContentMap}.
776
+ * They will be automatically added here.
777
+ */
778
+ type RootContent = RootContentMap[keyof RootContentMap];
779
+ /**
780
+ * Registry of all hast nodes that can occur as children of {@link Root}.
781
+ *
782
+ * > 👉 **Note**: {@link Root} does not need to be an entire document.
783
+ * > it can also be a fragment.
784
+ *
785
+ * For a union of all {@link Root} children, see {@link RootContent}.
786
+ */
787
+ interface RootContentMap {
788
+ comment: Comment;
789
+ doctype: Doctype;
790
+ element: Element$1;
791
+ text: Text;
792
+ }
793
+ // ## Abstract nodes
794
+ /**
795
+ * Abstract hast node.
796
+ *
797
+ * This interface is supposed to be extended.
798
+ * If you can use {@link Literal} or {@link Parent}, you should.
799
+ * But for example in HTML, a `Doctype` is neither literal nor parent, but
800
+ * still a node.
801
+ *
802
+ * To register custom hast nodes, add them to {@link RootContentMap} and other
803
+ * places where relevant (such as {@link ElementContentMap}).
804
+ *
805
+ * For a union of all registered hast nodes, see {@link Nodes}.
806
+ */
807
+ interface Node extends Node$1 {
808
+ /**
809
+ * Info from the ecosystem.
810
+ */
811
+ data?: Data | undefined;
812
+ }
813
+ /**
814
+ * Abstract hast node that contains the smallest possible value.
815
+ *
816
+ * This interface is supposed to be extended if you make custom hast nodes.
817
+ *
818
+ * For a union of all registered hast literals, see {@link Literals}.
819
+ */
820
+ interface Literal extends Node {
821
+ /**
822
+ * Plain-text value.
823
+ */
824
+ value: string;
825
+ }
826
+ /**
827
+ * Abstract hast node that contains other hast nodes (*children*).
828
+ *
829
+ * This interface is supposed to be extended if you make custom hast nodes.
830
+ *
831
+ * For a union of all registered hast parents, see {@link Parents}.
832
+ */
833
+ interface Parent extends Node {
834
+ /**
835
+ * List of children.
836
+ */
837
+ children: RootContent[];
838
+ }
839
+ // ## Concrete nodes
840
+ /**
841
+ * HTML comment.
842
+ */
843
+ interface Comment extends Literal {
844
+ /**
845
+ * Node type of HTML comments in hast.
846
+ */
847
+ type: "comment";
848
+ /**
849
+ * Data associated with the comment.
850
+ */
851
+ data?: CommentData | undefined;
852
+ }
853
+ /**
854
+ * Info associated with hast comments by the ecosystem.
855
+ */
856
+ interface CommentData extends Data {}
857
+ /**
858
+ * HTML document type.
859
+ */
860
+ interface Doctype extends Node$1 {
861
+ /**
862
+ * Node type of HTML document types in hast.
863
+ */
864
+ type: "doctype";
865
+ /**
866
+ * Data associated with the doctype.
867
+ */
868
+ data?: DoctypeData | undefined;
869
+ }
870
+ /**
871
+ * Info associated with hast doctypes by the ecosystem.
872
+ */
873
+ interface DoctypeData extends Data {}
874
+ /**
875
+ * HTML element.
876
+ */
877
+ interface Element$1 extends Parent {
878
+ /**
879
+ * Node type of elements.
880
+ */
881
+ type: "element";
882
+ /**
883
+ * Tag name (such as `'body'`) of the element.
884
+ */
885
+ tagName: string;
886
+ /**
887
+ * Info associated with the element.
888
+ */
889
+ properties: Properties;
890
+ /**
891
+ * Children of element.
892
+ */
893
+ children: ElementContent[];
894
+ /**
895
+ * When the `tagName` field is `'template'`, a `content` field can be
896
+ * present.
897
+ */
898
+ content?: Root | undefined;
899
+ /**
900
+ * Data associated with the element.
901
+ */
902
+ data?: ElementData | undefined;
903
+ }
904
+ /**
905
+ * Info associated with hast elements by the ecosystem.
906
+ */
907
+ interface ElementData extends Data {}
908
+ /**
909
+ * Document fragment or a whole document.
910
+ *
911
+ * Should be used as the root of a tree and must not be used as a child.
912
+ *
913
+ * Can also be used as the value for the content field on a `'template'` element.
914
+ */
915
+ interface Root extends Parent {
916
+ /**
917
+ * Node type of hast root.
918
+ */
919
+ type: "root";
920
+ /**
921
+ * Children of root.
922
+ */
923
+ children: RootContent[];
924
+ /**
925
+ * Data associated with the hast root.
926
+ */
927
+ data?: RootData | undefined;
928
+ }
929
+ /**
930
+ * Info associated with hast root nodes by the ecosystem.
931
+ */
932
+ interface RootData extends Data {}
933
+ /**
934
+ * HTML character data (plain text).
935
+ */
936
+ interface Text extends Literal {
937
+ /**
938
+ * Node type of HTML character data (plain text) in hast.
939
+ */
940
+ type: "text";
941
+ /**
942
+ * Data associated with the text.
943
+ */
944
+ data?: TextData | undefined;
945
+ }
946
+ /**
947
+ * Info associated with hast texts by the ecosystem.
948
+ */
949
+ interface TextData extends Data {}
950
+ //#endregion
951
+ //#region src/lib/types.d.ts
952
+ /**
953
+ * HTML Element, use to type `node` from react-markdown
954
+ */
955
+ type Element = Element$1;
956
+ /**
957
+ * A Shiki BundledLanguage or a custom textmate grammar object
958
+ * @see https://shiki.style/languages
959
+ */
960
+ type Language = LanguageRegistration | StringLiteralUnion<BundledLanguage> | SpecialLanguage | undefined;
961
+ /**
962
+ * A `preloadLanguages` entry: a bundled language id, a custom grammar
963
+ * object, or a dynamic grammar import (shiki's `LanguageInput`), e.g.
964
+ * `() => import('../langs/mcfunction.json')`
965
+ */
966
+ type PreloadLanguage = Language | LanguageInput;
967
+ type MultiThemeKey = 'dark' | 'light' | (string & {});
968
+ /**
969
+ * A Shiki BundledTheme or a custom textmate theme object
970
+ * @see https://shiki.style/themes
971
+ */
972
+ type Theme = ThemeRegistrationAny | StringLiteralUnion<BundledTheme>;
973
+ /**
974
+ * A map of color names to themes.
975
+ * This allows you to specify multiple themes for the generated code.
976
+ * Supports custom textmate theme objects in addition to Shiki's bundled themes
977
+ *
978
+ * @example
979
+ * ```ts
980
+ * useShikiHighlighter(code, language, {
981
+ * light: 'github-light',
982
+ * dark: 'github-dark',
983
+ * dim: 'github-dark-dimmed'
984
+ * })
985
+ * ```
986
+ *
987
+ * @see https://shiki.style/guide/dual-themes
988
+ */
989
+ type Themes = { [Key in MultiThemeKey]: Theme; };
990
+ /**
991
+ * Named RegExp engines that react-shiki creates and caches internally.
992
+ */
993
+ type EngineName = 'javascript' | 'oniguruma';
994
+ /**
995
+ * Configuration options specific to react-shiki
996
+ */
997
+ interface ReactShikiOptions {
998
+ /**
999
+ * Minimum time (in milliseconds) between highlight operations.
1000
+ * @default undefined (no throttling)
1001
+ */
1002
+ delay?: number;
1003
+ /**
1004
+ * RegExp engine for syntax highlighting.
1005
+ * - 'oniguruma': compiled WebAssembly engine, maximum grammar support
1006
+ * - 'javascript': pure-JS engine, no WASM fetch, faster startup
1007
+ *
1008
+ * Named engines are created lazily and cached by react-shiki, so they
1009
+ * are safe to pass inline. A custom engine instance is also accepted;
1010
+ * create it once at module scope, as a new instance on every render
1011
+ * re-triggers highlighting.
1012
+ * @default 'oniguruma'
1013
+ */
1014
+ engine?: EngineName | Awaitable<RegexEngine>;
1015
+ /**
1016
+ * Custom textmate grammars to be preloaded for highlighting.
1017
+ * @deprecated Use preloadLanguages instead.
1018
+ */
1019
+ customLanguages?: LanguageRegistration | LanguageRegistration[];
1020
+ /**
1021
+ * Preload custom grammars or bundled languages.
1022
+ * Supports custom textmate grammars, replaces deprecated `customLanguages`
1023
+ *
1024
+ * Full/web bundles also accept dynamic grammar imports, keeping custom
1025
+ * grammars out of the main bundle. Define them at module scope, preferring
1026
+ * getters: a fresh getter each render re-triggers highlighting, while
1027
+ * swapping a bare promise at runtime is not detected.
1028
+ *
1029
+ * @example
1030
+ * const preload = [() => import('../langs/mcfunction.json')];
1031
+ */
1032
+ preloadLanguages?: PreloadLanguage | PreloadLanguage[];
1033
+ /**
1034
+ * Output format for the highlighted code.
1035
+ * - 'react': Returns React nodes (default, safer)
1036
+ * - 'html': Returns HTML string (rendered via dangerouslySetInnerHTML)
1037
+ *
1038
+ * The hook additionally accepts 'tokens' (experimental) to return raw
1039
+ * Shiki tokens for custom rendering. It is deliberately excluded here
1040
+ * and only enters through the hook's generic signature, so option
1041
+ * objects typed with this interface keep the classic return type.
1042
+ * @default 'react'
1043
+ */
1044
+ outputFormat?: 'react' | 'html';
1045
+ /**
1046
+ * Custom Shiki highlighter instance to use instead of the default one.
1047
+ * Keeps bundle small by only importing specified languages/themes.
1048
+ * Can be either a Highlighter or HighlighterCore instance.
1049
+ *
1050
+ * @example
1051
+ * import {
1052
+ * createHighlighterCore,
1053
+ * createOnigurumaEngine,
1054
+ * useShikiHighlighter
1055
+ * } from "react-shiki";
1056
+ *
1057
+ * const customHighlighter = await createHighlighterCore({
1058
+ * themes: [
1059
+ * import('@shikijs/themes/nord')
1060
+ * ],
1061
+ * langs: [
1062
+ * import('@shikijs/langs/javascript'),
1063
+ * import('@shikijs/langs/typescript')
1064
+ * ],
1065
+ * engine: createOnigurumaEngine(import('shiki/wasm'))
1066
+ * });
1067
+ *
1068
+ * const highlightedCode = useShikiHighlighter(code, language, theme, {
1069
+ * highlighter: customHighlighter,
1070
+ * });
1071
+ */
1072
+ highlighter?: Highlighter | HighlighterCore;
1073
+ /**
1074
+ * Whether to show line numbers
1075
+ * @default false
1076
+ */
1077
+ showLineNumbers?: boolean;
1078
+ /**
1079
+ * Starting line number (when showLineNumbers is true)
1080
+ * @default 1
1081
+ */
1082
+ startingLineNumber?: number;
1083
+ /**
1084
+ * Displayed line numbers to highlight
1085
+ */
1086
+ highlightLineNumbers?: number[];
1087
+ }
1088
+ /**
1089
+ * Configuration options for the syntax highlighter
1090
+ * Extends CodeToHastOptions to allow passing any Shiki options directly
1091
+ */
1092
+ interface HighlighterOptions extends ReactShikiOptions, Pick<CodeOptionsMultipleThemes<BundledTheme>, 'defaultColor' | 'cssVariablePrefix'>, Omit<CodeToHastOptions, 'lang' | 'theme' | 'themes'>, Pick<BundledHighlighterOptions<string, string>, 'langAlias'> {}
1093
+ /**
1094
+ * Supported output formats and their corresponding result shapes.
1095
+ */
1096
+ type OutputFormat = 'react' | 'html' | 'tokens';
1097
+ interface HighlightResultMap {
1098
+ react: ReactElement;
1099
+ html: string;
1100
+ tokens: TokensResult;
1101
+ }
1102
+ type HighlightResult<F extends OutputFormat = 'react'> = HighlightResultMap[F] | null;
1103
+ /**
1104
+ * Per-call options shape: every highlighter option except `outputFormat`,
1105
+ * plus a narrowed `outputFormat?: F` so the return type can be inferred
1106
+ * from the format the caller actually passes.
1107
+ *
1108
+ * This is the only place 'tokens' is accepted. Keeping it out of
1109
+ * `HighlighterOptions` means values typed with that interface infer
1110
+ * `F = 'react' | 'html'` and keep their pre-tokens return type.
1111
+ */
1112
+ type HighlighterOptionsFor<F extends OutputFormat> = Omit<HighlighterOptions, 'outputFormat'> & {
1113
+ outputFormat?: F;
1114
+ };
1115
+ type UseShikiHighlighter = <F extends OutputFormat = 'react'>(code: string, lang: Language, themeInput: Theme | Themes, options?: HighlighterOptionsFor<F>) => HighlightResult<F>;
1116
+ //#endregion
1117
+ //#region src/lib/plugins.d.ts
1118
+ /**
1119
+ * Rehype plugin to add an 'inline' property to <code> elements
1120
+ * Sets 'inline' property to true if the <code> is not within a <pre> tag
1121
+ *
1122
+ * Pass this plugin to the `rehypePlugins` prop of react-markdown
1123
+ * You can then access `inline` as a prop in components passed to react-markdown
1124
+ *
1125
+ * @example
1126
+ * <ReactMarkdown rehypePlugins={[rehypeInlineCodeProperty]} />
1127
+ */
1128
+ declare function rehypeInlineCodeProperty(): (tree: Root) => undefined;
1129
+ /**
1130
+ * Function to determine if code is inline based on the presence of line breaks
1131
+ *
1132
+ * @example
1133
+ * const isInline = node && isInlineCode(node: Element)
1134
+ */
1135
+ declare const isInlineCode: (node: Element) => boolean;
1136
+ //#endregion
1137
+ //#region src/lib/component.d.ts
1138
+ /**
1139
+ * Props for the ShikiHighlighter component
1140
+ */
1141
+ interface ShikiHighlighterProps extends HighlighterOptions {
1142
+ /**
1143
+ * The programming language for syntax highlighting
1144
+ * Supports custom textmate grammar objects in addition to Shiki's bundled languages
1145
+ * @see https://shiki.style/languages
1146
+ */
1147
+ language: Language;
1148
+ /**
1149
+ * The code to be highlighted
1150
+ */
1151
+ children: string;
1152
+ /**
1153
+ * The color theme or themes for syntax highlighting
1154
+ * Supports single, dual, or multiple themes
1155
+ * Supports custom textmate theme objects in addition to Shiki's bundled themes
1156
+ *
1157
+ * @example
1158
+ * theme='github-dark' // single theme
1159
+ * theme={{ light: 'github-light', dark: 'github-dark' }} // multi-theme
1160
+ *
1161
+ * @see https://shiki.style/themes
1162
+ */
1163
+ theme: Theme | Themes;
1164
+ /**
1165
+ * Controls the application of default styles to the generated code blocks
1166
+ *
1167
+ * Default styles include padding, overflow handling, border radius, language label styling, and font settings
1168
+ * @default true
1169
+ */
1170
+ addDefaultStyles?: boolean;
1171
+ /**
1172
+ * Add custom inline styles to the generated code block
1173
+ */
1174
+ style?: React.CSSProperties;
1175
+ /**
1176
+ * Add custom inline styles to the language label
1177
+ */
1178
+ langStyle?: React.CSSProperties;
1179
+ /**
1180
+ * Add custom CSS class names to the generated code block
1181
+ */
1182
+ className?: string;
1183
+ /**
1184
+ * Add custom CSS class names to the language label
1185
+ */
1186
+ langClassName?: string;
1187
+ /**
1188
+ * Whether to show the language label
1189
+ * @default true
1190
+ */
1191
+ showLanguage?: boolean;
1192
+ /**
1193
+ * The HTML element that wraps the generated code block.
1194
+ * @default 'div'
1195
+ */
1196
+ as?: React.ElementType;
1197
+ }
1198
+ //#endregion
1199
+ export { EngineName as a, HighlighterOptionsFor as c, PreloadLanguage as d, Theme as f, Element as i, Language as l, UseShikiHighlighter as m, isInlineCode as n, HighlightResult as o, Themes as p, rehypeInlineCodeProperty as r, HighlighterOptions as s, ShikiHighlighterProps as t, OutputFormat as u };
1200
+ //# sourceMappingURL=component-DRPT3D6t.d.mts.map