@mantine-vue/code-highlight 1.1.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,108 @@
1
+ import { type PropType } from 'vue';
2
+ export type InlineCodeHighlightStylesNames = 'inlineCodeHighlight';
3
+ export type InlineCodeHighlightCssVariables = {
4
+ inlineCodeHighlight: '--ch-background' | '--ch-radius';
5
+ };
6
+ export interface InlineCodeHighlightProps {
7
+ code: string;
8
+ language?: string;
9
+ background?: string;
10
+ radius?: string | number;
11
+ withBorder?: boolean;
12
+ classNames?: any;
13
+ styles?: any;
14
+ vars?: any;
15
+ unstyled?: boolean;
16
+ [key: string]: any;
17
+ }
18
+ export interface InlineCodeHighlightFactory {
19
+ props: InlineCodeHighlightProps;
20
+ stylesNames: InlineCodeHighlightStylesNames;
21
+ vars: InlineCodeHighlightCssVariables;
22
+ }
23
+ export declare const InlineCodeHighlight: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
24
+ code: {
25
+ type: StringConstructor;
26
+ required: true;
27
+ };
28
+ language: {
29
+ type: StringConstructor;
30
+ default: undefined;
31
+ };
32
+ background: {
33
+ type: StringConstructor;
34
+ default: undefined;
35
+ };
36
+ radius: {
37
+ type: PropType<string | number>;
38
+ default: undefined;
39
+ };
40
+ withBorder: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ classNames: {
45
+ type: (ObjectConstructor | FunctionConstructor)[];
46
+ default: undefined;
47
+ };
48
+ styles: {
49
+ type: (ObjectConstructor | FunctionConstructor)[];
50
+ default: undefined;
51
+ };
52
+ vars: {
53
+ type: (ObjectConstructor | FunctionConstructor)[];
54
+ default: undefined;
55
+ };
56
+ unstyled: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
+ [key: string]: any;
62
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
+ code: {
64
+ type: StringConstructor;
65
+ required: true;
66
+ };
67
+ language: {
68
+ type: StringConstructor;
69
+ default: undefined;
70
+ };
71
+ background: {
72
+ type: StringConstructor;
73
+ default: undefined;
74
+ };
75
+ radius: {
76
+ type: PropType<string | number>;
77
+ default: undefined;
78
+ };
79
+ withBorder: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ classNames: {
84
+ type: (ObjectConstructor | FunctionConstructor)[];
85
+ default: undefined;
86
+ };
87
+ styles: {
88
+ type: (ObjectConstructor | FunctionConstructor)[];
89
+ default: undefined;
90
+ };
91
+ vars: {
92
+ type: (ObjectConstructor | FunctionConstructor)[];
93
+ default: undefined;
94
+ };
95
+ unstyled: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ }>> & Readonly<{}>, {
100
+ radius: string | number;
101
+ classNames: Function | Record<string, any>;
102
+ styles: Function | Record<string, any>;
103
+ background: string;
104
+ vars: Function | Record<string, any>;
105
+ unstyled: boolean;
106
+ withBorder: boolean;
107
+ language: string;
108
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,34 @@
1
+ import { type PropType } from 'vue';
2
+ export interface HighlighterInput {
3
+ colorScheme: 'light' | 'dark' | (string & {});
4
+ code: string;
5
+ language?: string;
6
+ }
7
+ export type Highlighter = (input: HighlighterInput) => {
8
+ highlightedCode: string;
9
+ isHighlighted: boolean;
10
+ codeElementProps?: Record<string, any>;
11
+ };
12
+ export interface CodeHighlightAdapter {
13
+ loadContext?: () => Promise<any>;
14
+ getHighlighter: (ctx: any) => Highlighter;
15
+ }
16
+ export interface CodeHighlightProviderContext {
17
+ adapter: CodeHighlightAdapter;
18
+ highlight: Highlighter;
19
+ }
20
+ export declare function provideCodeHighlightAdapterContext(value: CodeHighlightProviderContext): void;
21
+ export declare function useHighlight(): Highlighter;
22
+ export declare const CodeHighlightAdapterProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
23
+ adapter: {
24
+ type: PropType<CodeHighlightAdapter>;
25
+ required: true;
26
+ };
27
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ adapter: {
31
+ type: PropType<CodeHighlightAdapter>;
32
+ required: true;
33
+ };
34
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,2 @@
1
+ import type { CodeHighlightAdapter } from '../CodeHighlightProvider';
2
+ export declare function createHighlightJsAdapter(hljs: any): CodeHighlightAdapter;
@@ -0,0 +1,3 @@
1
+ export { createHighlightJsAdapter } from './highlight-js-adapter';
2
+ export { createShikiAdapter, stripShikiCodeBlocks } from './shiki-adapter';
3
+ export { plainTextAdapter } from './plain-text-adapter';
@@ -0,0 +1,2 @@
1
+ import type { CodeHighlightAdapter } from '../CodeHighlightProvider';
2
+ export declare const plainTextAdapter: CodeHighlightAdapter;
@@ -0,0 +1,7 @@
1
+ import type { CodeHighlightAdapter } from '../CodeHighlightProvider';
2
+ export declare function stripShikiCodeBlocks(data: string): string;
3
+ interface CreateShikiAdapterOptions {
4
+ forceColorScheme?: 'dark' | 'light' | (string & {});
5
+ }
6
+ export declare const createShikiAdapter: (loadShiki: () => Promise<any>, { forceColorScheme }?: CreateShikiAdapterOptions) => CodeHighlightAdapter;
7
+ export {};
@@ -0,0 +1,430 @@
1
+ export declare const light: {
2
+ colors: {
3
+ 'activityBar.activeBorder': string;
4
+ 'activityBar.background': string;
5
+ 'activityBar.border': string;
6
+ 'activityBar.foreground': string;
7
+ 'activityBar.inactiveForeground': string;
8
+ 'activityBarBadge.background': string;
9
+ 'activityBarBadge.foreground': string;
10
+ 'badge.background': string;
11
+ 'badge.foreground': string;
12
+ 'breadcrumb.activeSelectionForeground': string;
13
+ 'breadcrumb.focusForeground': string;
14
+ 'breadcrumb.foreground': string;
15
+ 'breadcrumbPicker.background': string;
16
+ 'button.background': string;
17
+ 'button.foreground': string;
18
+ 'button.hoverBackground': string;
19
+ 'button.secondaryBackground': string;
20
+ 'button.secondaryForeground': string;
21
+ 'button.secondaryHoverBackground': string;
22
+ 'checkbox.background': string;
23
+ 'checkbox.border': string;
24
+ 'debugConsole.errorForeground': string;
25
+ 'debugConsole.infoForeground': string;
26
+ 'debugConsole.sourceForeground': string;
27
+ 'debugConsole.warningForeground': string;
28
+ 'debugConsoleInputIcon.foreground': string;
29
+ 'debugIcon.breakpointForeground': string;
30
+ 'debugTokenExpression.boolean': string;
31
+ 'debugTokenExpression.error': string;
32
+ 'debugTokenExpression.name': string;
33
+ 'debugTokenExpression.number': string;
34
+ 'debugTokenExpression.string': string;
35
+ 'debugTokenExpression.value': string;
36
+ 'debugToolBar.background': string;
37
+ descriptionForeground: string;
38
+ 'diffEditor.insertedLineBackground': string;
39
+ 'diffEditor.insertedTextBackground': string;
40
+ 'diffEditor.removedLineBackground': string;
41
+ 'diffEditor.removedTextBackground': string;
42
+ 'dropdown.background': string;
43
+ 'dropdown.border': string;
44
+ 'dropdown.foreground': string;
45
+ 'dropdown.listBackground': string;
46
+ 'editor.background': string;
47
+ 'editor.findMatchBackground': string;
48
+ 'editor.findMatchHighlightBackground': string;
49
+ 'editor.focusedStackFrameHighlightBackground': string;
50
+ 'editor.foldBackground': string;
51
+ 'editor.foreground': string;
52
+ 'editor.lineHighlightBackground': string;
53
+ 'editor.linkedEditingBackground': string;
54
+ 'editor.selectionHighlightBackground': string;
55
+ 'editor.stackFrameHighlightBackground': string;
56
+ 'editor.wordHighlightBackground': string;
57
+ 'editor.wordHighlightBorder': string;
58
+ 'editor.wordHighlightStrongBackground': string;
59
+ 'editor.wordHighlightStrongBorder': string;
60
+ 'editorBracketHighlight.foreground1': string;
61
+ 'editorBracketHighlight.foreground2': string;
62
+ 'editorBracketHighlight.foreground3': string;
63
+ 'editorBracketHighlight.foreground4': string;
64
+ 'editorBracketHighlight.foreground5': string;
65
+ 'editorBracketHighlight.foreground6': string;
66
+ 'editorBracketHighlight.unexpectedBracket.foreground': string;
67
+ 'editorBracketMatch.background': string;
68
+ 'editorBracketMatch.border': string;
69
+ 'editorCursor.foreground': string;
70
+ 'editorGroup.border': string;
71
+ 'editorGroupHeader.tabsBackground': string;
72
+ 'editorGroupHeader.tabsBorder': string;
73
+ 'editorGutter.addedBackground': string;
74
+ 'editorGutter.deletedBackground': string;
75
+ 'editorGutter.modifiedBackground': string;
76
+ 'editorIndentGuide.activeBackground': string;
77
+ 'editorIndentGuide.background': string;
78
+ 'editorInlayHint.background': string;
79
+ 'editorInlayHint.foreground': string;
80
+ 'editorInlayHint.paramBackground': string;
81
+ 'editorInlayHint.paramForeground': string;
82
+ 'editorInlayHint.typeBackground': string;
83
+ 'editorInlayHint.typeForeground': string;
84
+ 'editorLineNumber.activeForeground': string;
85
+ 'editorLineNumber.foreground': string;
86
+ 'editorOverviewRuler.border': string;
87
+ 'editorWhitespace.foreground': string;
88
+ 'editorWidget.background': string;
89
+ errorForeground: string;
90
+ focusBorder: string;
91
+ foreground: string;
92
+ 'gitDecoration.addedResourceForeground': string;
93
+ 'gitDecoration.conflictingResourceForeground': string;
94
+ 'gitDecoration.deletedResourceForeground': string;
95
+ 'gitDecoration.ignoredResourceForeground': string;
96
+ 'gitDecoration.modifiedResourceForeground': string;
97
+ 'gitDecoration.submoduleResourceForeground': string;
98
+ 'gitDecoration.untrackedResourceForeground': string;
99
+ 'icon.foreground': string;
100
+ 'input.background': string;
101
+ 'input.border': string;
102
+ 'input.foreground': string;
103
+ 'input.placeholderForeground': string;
104
+ 'keybindingLabel.foreground': string;
105
+ 'list.activeSelectionBackground': string;
106
+ 'list.activeSelectionForeground': string;
107
+ 'list.focusBackground': string;
108
+ 'list.focusForeground': string;
109
+ 'list.highlightForeground': string;
110
+ 'list.hoverBackground': string;
111
+ 'list.hoverForeground': string;
112
+ 'list.inactiveFocusBackground': string;
113
+ 'list.inactiveSelectionBackground': string;
114
+ 'list.inactiveSelectionForeground': string;
115
+ 'minimapSlider.activeBackground': string;
116
+ 'minimapSlider.background': string;
117
+ 'minimapSlider.hoverBackground': string;
118
+ 'notificationCenterHeader.background': string;
119
+ 'notificationCenterHeader.foreground': string;
120
+ 'notifications.background': string;
121
+ 'notifications.border': string;
122
+ 'notifications.foreground': string;
123
+ 'notificationsErrorIcon.foreground': string;
124
+ 'notificationsInfoIcon.foreground': string;
125
+ 'notificationsWarningIcon.foreground': string;
126
+ 'panel.background': string;
127
+ 'panel.border': string;
128
+ 'panelInput.border': string;
129
+ 'panelTitle.activeBorder': string;
130
+ 'panelTitle.activeForeground': string;
131
+ 'panelTitle.inactiveForeground': string;
132
+ 'pickerGroup.border': string;
133
+ 'pickerGroup.foreground': string;
134
+ 'progressBar.background': string;
135
+ 'quickInput.background': string;
136
+ 'quickInput.foreground': string;
137
+ 'scrollbar.shadow': string;
138
+ 'scrollbarSlider.activeBackground': string;
139
+ 'scrollbarSlider.background': string;
140
+ 'scrollbarSlider.hoverBackground': string;
141
+ 'settings.headerForeground': string;
142
+ 'settings.modifiedItemIndicator': string;
143
+ 'sideBar.background': string;
144
+ 'sideBar.border': string;
145
+ 'sideBar.foreground': string;
146
+ 'sideBarSectionHeader.background': string;
147
+ 'sideBarSectionHeader.border': string;
148
+ 'sideBarSectionHeader.foreground': string;
149
+ 'sideBarTitle.foreground': string;
150
+ 'statusBar.background': string;
151
+ 'statusBar.border': string;
152
+ 'statusBar.debuggingBackground': string;
153
+ 'statusBar.debuggingForeground': string;
154
+ 'statusBar.focusBorder': string;
155
+ 'statusBar.foreground': string;
156
+ 'statusBar.noFolderBackground': string;
157
+ 'statusBarItem.activeBackground': string;
158
+ 'statusBarItem.focusBorder': string;
159
+ 'statusBarItem.hoverBackground': string;
160
+ 'statusBarItem.prominentBackground': string;
161
+ 'statusBarItem.remoteBackground': string;
162
+ 'statusBarItem.remoteForeground': string;
163
+ 'symbolIcon.arrayForeground': string;
164
+ 'symbolIcon.booleanForeground': string;
165
+ 'symbolIcon.classForeground': string;
166
+ 'symbolIcon.colorForeground': string;
167
+ 'symbolIcon.constantForeground': string;
168
+ 'symbolIcon.constructorForeground': string;
169
+ 'symbolIcon.enumeratorForeground': string;
170
+ 'symbolIcon.enumeratorMemberForeground': string;
171
+ 'symbolIcon.eventForeground': string;
172
+ 'symbolIcon.fieldForeground': string;
173
+ 'symbolIcon.fileForeground': string;
174
+ 'symbolIcon.folderForeground': string;
175
+ 'symbolIcon.functionForeground': string;
176
+ 'symbolIcon.interfaceForeground': string;
177
+ 'symbolIcon.keyForeground': string;
178
+ 'symbolIcon.keywordForeground': string;
179
+ 'symbolIcon.methodForeground': string;
180
+ 'symbolIcon.moduleForeground': string;
181
+ 'symbolIcon.namespaceForeground': string;
182
+ 'symbolIcon.nullForeground': string;
183
+ 'symbolIcon.numberForeground': string;
184
+ 'symbolIcon.objectForeground': string;
185
+ 'symbolIcon.operatorForeground': string;
186
+ 'symbolIcon.packageForeground': string;
187
+ 'symbolIcon.propertyForeground': string;
188
+ 'symbolIcon.referenceForeground': string;
189
+ 'symbolIcon.snippetForeground': string;
190
+ 'symbolIcon.stringForeground': string;
191
+ 'symbolIcon.structForeground': string;
192
+ 'symbolIcon.textForeground': string;
193
+ 'symbolIcon.typeParameterForeground': string;
194
+ 'symbolIcon.unitForeground': string;
195
+ 'symbolIcon.variableForeground': string;
196
+ 'tab.activeBackground': string;
197
+ 'tab.activeBorder': string;
198
+ 'tab.activeBorderTop': string;
199
+ 'tab.activeForeground': string;
200
+ 'tab.border': string;
201
+ 'tab.hoverBackground': string;
202
+ 'tab.inactiveBackground': string;
203
+ 'tab.inactiveForeground': string;
204
+ 'tab.unfocusedActiveBorder': string;
205
+ 'tab.unfocusedActiveBorderTop': string;
206
+ 'tab.unfocusedHoverBackground': string;
207
+ 'terminal.ansiBlack': string;
208
+ 'terminal.ansiBlue': string;
209
+ 'terminal.ansiBrightBlack': string;
210
+ 'terminal.ansiBrightBlue': string;
211
+ 'terminal.ansiBrightCyan': string;
212
+ 'terminal.ansiBrightGreen': string;
213
+ 'terminal.ansiBrightMagenta': string;
214
+ 'terminal.ansiBrightRed': string;
215
+ 'terminal.ansiBrightWhite': string;
216
+ 'terminal.ansiBrightYellow': string;
217
+ 'terminal.ansiCyan': string;
218
+ 'terminal.ansiGreen': string;
219
+ 'terminal.ansiMagenta': string;
220
+ 'terminal.ansiRed': string;
221
+ 'terminal.ansiWhite': string;
222
+ 'terminal.ansiYellow': string;
223
+ 'terminal.foreground': string;
224
+ 'textBlockQuote.background': string;
225
+ 'textBlockQuote.border': string;
226
+ 'textCodeBlock.background': string;
227
+ 'textLink.activeForeground': string;
228
+ 'textLink.foreground': string;
229
+ 'textPreformat.foreground': string;
230
+ 'textSeparator.foreground': string;
231
+ 'titleBar.activeBackground': string;
232
+ 'titleBar.activeForeground': string;
233
+ 'titleBar.border': string;
234
+ 'titleBar.inactiveBackground': string;
235
+ 'titleBar.inactiveForeground': string;
236
+ 'tree.indentGuidesStroke': string;
237
+ 'welcomePage.buttonBackground': string;
238
+ 'welcomePage.buttonHoverBackground': string;
239
+ };
240
+ displayName: string;
241
+ semanticHighlighting: boolean;
242
+ tokenColors: ({
243
+ scope: string[];
244
+ settings: {
245
+ foreground: string;
246
+ fontStyle?: undefined;
247
+ background?: undefined;
248
+ content?: undefined;
249
+ };
250
+ } | {
251
+ scope: string;
252
+ settings: {
253
+ foreground: string;
254
+ fontStyle?: undefined;
255
+ background?: undefined;
256
+ content?: undefined;
257
+ };
258
+ } | {
259
+ scope: string;
260
+ settings: {
261
+ fontStyle: string;
262
+ foreground: string;
263
+ background?: undefined;
264
+ content?: undefined;
265
+ };
266
+ } | {
267
+ scope: string;
268
+ settings: {
269
+ background: string;
270
+ content: string;
271
+ fontStyle: string;
272
+ foreground: string;
273
+ };
274
+ } | {
275
+ scope: string[];
276
+ settings: {
277
+ fontStyle: string;
278
+ foreground: string;
279
+ background?: undefined;
280
+ content?: undefined;
281
+ };
282
+ } | {
283
+ scope: string[];
284
+ settings: {
285
+ fontStyle: string;
286
+ foreground?: undefined;
287
+ background?: undefined;
288
+ content?: undefined;
289
+ };
290
+ } | {
291
+ scope: string[];
292
+ settings: {
293
+ background: string;
294
+ foreground: string;
295
+ fontStyle?: undefined;
296
+ content?: undefined;
297
+ };
298
+ })[];
299
+ type: string;
300
+ };
301
+ export declare const dark: {
302
+ type: string;
303
+ colors: {
304
+ 'dropdown.background': string;
305
+ 'list.activeSelectionBackground': string;
306
+ 'quickInputList.focusBackground': string;
307
+ 'list.inactiveSelectionBackground': string;
308
+ 'list.hoverBackground': string;
309
+ 'list.highlightForeground': string;
310
+ 'button.background': string;
311
+ 'editor.background': string;
312
+ 'editor.foreground': string;
313
+ 'editor.selectionBackground': string;
314
+ 'minimap.selectionHighlight': string;
315
+ 'editor.selectionHighlightBackground': string;
316
+ 'editor.lineHighlightBackground': string;
317
+ 'editorLineNumber.activeForeground': string;
318
+ 'editor.wordHighlightBackground': string;
319
+ 'editor.wordHighlightStrongBackground': string;
320
+ 'editorCursor.foreground': string;
321
+ 'editorWhitespace.foreground': string;
322
+ 'editorIndentGuide.background': string;
323
+ 'editorIndentGuide.activeBackground': string;
324
+ 'editorGroupHeader.tabsBackground': string;
325
+ 'tab.inactiveBackground': string;
326
+ 'tab.border': string;
327
+ 'tab.inactiveForeground': string;
328
+ 'tab.lastPinnedBorder': string;
329
+ 'peekView.border': string;
330
+ 'panelTitle.activeForeground': string;
331
+ 'statusBar.background': string;
332
+ 'statusBar.debuggingBackground': string;
333
+ 'statusBar.noFolderBackground': string;
334
+ 'titleBar.activeBackground': string;
335
+ 'statusBarItem.remoteBackground': string;
336
+ 'ports.iconRunningProcessForeground': string;
337
+ 'activityBar.background': string;
338
+ 'activityBar.foreground': string;
339
+ 'activityBarBadge.background': string;
340
+ 'sideBar.background': string;
341
+ 'sideBarSectionHeader.background': string;
342
+ 'menu.background': string;
343
+ 'menu.foreground': string;
344
+ 'pickerGroup.foreground': string;
345
+ 'inputOption.activeBorder': string;
346
+ focusBorder: string;
347
+ 'terminal.ansiBlack': string;
348
+ 'terminal.ansiRed': string;
349
+ 'terminal.ansiGreen': string;
350
+ 'terminal.ansiYellow': string;
351
+ 'terminal.ansiBlue': string;
352
+ 'terminal.ansiMagenta': string;
353
+ 'terminal.ansiCyan': string;
354
+ 'terminal.ansiWhite': string;
355
+ 'terminal.ansiBrightBlack': string;
356
+ 'terminal.ansiBrightRed': string;
357
+ 'terminal.ansiBrightGreen': string;
358
+ 'terminal.ansiBrightYellow': string;
359
+ 'terminal.ansiBrightBlue': string;
360
+ 'terminal.ansiBrightMagenta': string;
361
+ 'terminal.ansiBrightCyan': string;
362
+ 'terminal.ansiBrightWhite': string;
363
+ 'terminal.inactiveSelectionBackground': string;
364
+ };
365
+ tokenColors: ({
366
+ settings: {
367
+ foreground: string;
368
+ fontStyle?: undefined;
369
+ };
370
+ scope?: undefined;
371
+ name?: undefined;
372
+ } | {
373
+ scope: string[];
374
+ settings: {
375
+ foreground: string;
376
+ fontStyle?: undefined;
377
+ };
378
+ name?: undefined;
379
+ } | {
380
+ name: string;
381
+ scope: string;
382
+ settings: {
383
+ fontStyle: string;
384
+ foreground: string;
385
+ };
386
+ } | {
387
+ name: string;
388
+ scope: string[];
389
+ settings: {
390
+ fontStyle: string;
391
+ foreground: string;
392
+ };
393
+ } | {
394
+ name: string;
395
+ scope: string;
396
+ settings: {
397
+ foreground: string;
398
+ fontStyle?: undefined;
399
+ };
400
+ } | {
401
+ name: string;
402
+ scope: string[];
403
+ settings: {
404
+ foreground: string;
405
+ fontStyle?: undefined;
406
+ };
407
+ } | {
408
+ name: string;
409
+ scope: string;
410
+ settings: {
411
+ fontStyle: string;
412
+ foreground?: undefined;
413
+ };
414
+ } | {
415
+ scope: string;
416
+ settings: {
417
+ fontStyle: string;
418
+ foreground?: undefined;
419
+ };
420
+ name?: undefined;
421
+ } | {
422
+ scope: string;
423
+ settings: {
424
+ foreground: string;
425
+ fontStyle?: undefined;
426
+ };
427
+ name?: undefined;
428
+ })[];
429
+ semanticHighlighting: boolean;
430
+ };
@@ -0,0 +1,2 @@
1
+ export { CodeHighlightAdapterProvider, useHighlight, type CodeHighlightAdapter, type CodeHighlightProviderContext, type Highlighter, type HighlighterInput, } from './CodeHighlightProvider';
2
+ export * from './adapters';