vue-codemirror6 1.3.22 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,649 @@
1
+ import { LanguageSupport } from '@codemirror/language';
2
+ import { LintSource } from '@codemirror/lint';
3
+ import { EditorSelection, EditorState, Extension, SelectionRange, StateField, Text } from '@codemirror/state';
4
+ import { EditorView, KeyBinding, ViewUpdate } from '@codemirror/view';
5
+ import { PropType, Ref, ShallowRef, WritableComputedRef } from 'vue-demi';
6
+ import { StyleSpec } from 'style-mod';
1
7
  import { default as Meta } from './Meta';
2
- import { default as CodeMirror } from './components/CodeMirror';
8
+ /** CodeMirror Component */
9
+ declare const CodeMirror: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
10
+ /** Model value */
11
+ modelValue: {
12
+ type: PropType<string | Text>;
13
+ default: string;
14
+ };
15
+ /**
16
+ * Theme
17
+ *
18
+ * @see {@link https://codemirror.net/docs/ref/#view.EditorView^theme}
19
+ */
20
+ theme: {
21
+ type: PropType<Record<string, StyleSpec>>;
22
+ default: () => {};
23
+ };
24
+ /** Dark Mode */
25
+ dark: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ /**
30
+ * Use Basic Setup
31
+ *
32
+ * This will enable the basic setup for the editor.
33
+ *
34
+ * @see {@link https://codemirror.net/docs/ref/#codemirror.basicSetup}
35
+ */
36
+ basic: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ /**
41
+ * Use Minimal Setup (The basic setting has priority.)
42
+ *
43
+ * @see {@link https://codemirror.net/docs/ref/#codemirror.minimalSetup}
44
+ */
45
+ minimal: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ /**
50
+ * Placeholder
51
+ *
52
+ * @see {@link https://codemirror.net/docs/ref/#view.placeholder}
53
+ */
54
+ placeholder: {
55
+ type: PropType<string | HTMLElement>;
56
+ default: undefined;
57
+ };
58
+ /**
59
+ * Line wrapping
60
+ *
61
+ * An extension that enables line wrapping in the editor (by setting CSS white-space to pre-wrap in the content).
62
+ *
63
+ * @see {@link https://codemirror.net/docs/ref/#view.EditorView%5ElineWrapping}
64
+ */
65
+ wrap: {
66
+ type: BooleanConstructor;
67
+ default: boolean;
68
+ };
69
+ /**
70
+ * Allow tab key indent.
71
+ *
72
+ * This will enable the tab key to indent the current line or selection.
73
+ *
74
+ * @see {@link https://codemirror.net/examples/tab/}
75
+ */
76
+ tab: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ /**
81
+ * Tab character
82
+ *
83
+ * This is the unit of indentation used when the editor is configured to indent with tabs.
84
+ * It is also used to determine the size of the tab character when the editor is configured to use tabs for indentation..
85
+ *
86
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^indentUnit}
87
+ */
88
+ indentUnit: {
89
+ type: StringConstructor;
90
+ default: undefined;
91
+ };
92
+ /**
93
+ * Allow Multiple Selection.
94
+ *
95
+ * This allows the editor to have multiple selections at the same time.
96
+ * This is useful for editing multiple parts of the document at once.
97
+ * If this is set to true, the editor will allow multiple selections.
98
+ * If this is set to false, the editor will only allow a single selection.
99
+ *
100
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^allowMultipleSelections}
101
+ */
102
+ allowMultipleSelections: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ /**
107
+ * Tab size
108
+ *
109
+ * This is the number of spaces that a tab character represents in the editor.
110
+ * It is used to determine the size of the tab character when the editor is configured to use tabs for indentation.
111
+ * If this is set to a number, the editor will use that number of spaces for each tab character.
112
+ *
113
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^tabSize}
114
+ */
115
+ tabSize: {
116
+ type: NumberConstructor;
117
+ default: undefined;
118
+ };
119
+ /**
120
+ * Set line break (separetor) char.
121
+ *
122
+ * This is the character that is used to separate lines in the editor.
123
+ * It is used to determine the line break character when the editor is configured to use a specific line break character.
124
+ *
125
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^lineSeparator}
126
+ */
127
+ lineSeparator: {
128
+ type: StringConstructor;
129
+ default: undefined;
130
+ };
131
+ /**
132
+ * Readonly
133
+ *
134
+ * This is a CodeMirror Facet that allows you to set the editor to read-only mode.
135
+ * When this is set to true, the editor will not allow any changes to be made to the document.
136
+ * This is useful for displaying code that should not be edited, such as documentation or examples.
137
+ * If this is set to false, the editor will allow changes to be made to the document.
138
+ *
139
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^readOnly}
140
+ */
141
+ readonly: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ /**
146
+ * Disable input.
147
+ *
148
+ * This is the reversed value of the CodeMirror editable.
149
+ * Similar to `readonly`, but setting this value to true disables dragging.
150
+ *
151
+ * @see {@link https://codemirror.net/docs/ref/#view.EditorView^editable}
152
+ */
153
+ disabled: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ /**
158
+ * Additional Extension
159
+ *
160
+ * You can use this to add any additional extensions that you want to use in the editor.
161
+ *
162
+ * @see {@link https://codemirror.net/docs/ref/#state.Extension}
163
+ */
164
+ extensions: {
165
+ type: PropType<Extension[]>;
166
+ default: () => never[];
167
+ };
168
+ /**
169
+ * Language Phreses
170
+ *
171
+ * This is a CodeMirror Facet that allows you to define custom phrases for the editor.
172
+ * It can be used to override default phrases or add new ones.
173
+ * This is useful for translating the editor to different languages or for customizing the editor's UI.
174
+ *
175
+ * @see {@link https://codemirror.net/examples/translate/}
176
+ */
177
+ phrases: {
178
+ type: PropType<Record<string, string>>;
179
+ default: undefined;
180
+ };
181
+ /**
182
+ * CodeMirror Language
183
+ *
184
+ * This is a CodeMirror Facet that allows you to define the language of the editor.
185
+ * It can be used to enable syntax highlighting and other language-specific features.
186
+ * It is useful for displaying code in a specific language, such as JavaScript, Python, or HTML.
187
+ *
188
+ * @see {@link https://codemirror.net/docs/ref/#language}
189
+ */
190
+ lang: {
191
+ type: PropType<LanguageSupport>;
192
+ default: undefined;
193
+ };
194
+ /**
195
+ * CodeMirror Linter
196
+ *
197
+ * This is a CodeMirror Facet that allows you to define a linter for the editor.
198
+ * It can be used to check the code for errors and warnings, and to provide feedback to the user.
199
+ * It is useful for displaying code in a specific language, such as JavaScript, Python, or HTML.
200
+ * This is useful for providing feedback to the user about the code they are writing.
201
+ *
202
+ * @see {@link https://codemirror.net/docs/ref/#lint.linter}
203
+ */
204
+ linter: {
205
+ type: PropType<LintSource>;
206
+ default: undefined;
207
+ };
208
+ /**
209
+ * Linter Config
210
+ *
211
+ * This is a CodeMirror Facet that allows you to define the configuration for the linter.
212
+ * It can be used to specify options for the linter, such as the severity of errors and warnings, and to customize the behavior of the linter.
213
+ * This is useful for providing feedback to the user about the code they are writing.
214
+ *
215
+ * @see {@link https://codemirror.net/docs/ref/#lint.linter^config}
216
+ */
217
+ linterConfig: {
218
+ type: ObjectConstructor;
219
+ default: () => {};
220
+ };
221
+ /**
222
+ * Forces any linters configured to run when the editor is idle to run right away.
223
+ *
224
+ * This is useful for running linters on the initial load of the editor, or when the user has made changes to the code and wants to see the results immediately.
225
+ *
226
+ * @see {@link https://codemirror.net/docs/ref/#lint.forceLinting}
227
+ */
228
+ forceLinting: {
229
+ type: BooleanConstructor;
230
+ default: boolean;
231
+ };
232
+ /**
233
+ * Show Linter Gutter
234
+ *
235
+ * An area to 🔴 the lines with errors will be displayed.
236
+ * This feature is not enabled if `linter` is not specified.
237
+ *
238
+ * @see {@link https://codemirror.net/docs/ref/#lint.lintGutter}
239
+ */
240
+ gutter: {
241
+ type: BooleanConstructor;
242
+ default: boolean;
243
+ };
244
+ /**
245
+ * Gutter Config
246
+ *
247
+ * This is a CodeMirror Facet that allows you to define the configuration for the gutter.
248
+ * It can be used to specify options for the gutter, such as the size of the gutter, the position of the gutter, and to customize the behavior of the gutter.
249
+ * This is useful for providing feedback to the user about the code they are writing.
250
+ *
251
+ * @see {@link https://codemirror.net/docs/ref/#lint.lintGutter^config}
252
+ */
253
+ gutterConfig: {
254
+ type: ObjectConstructor;
255
+ default: undefined;
256
+ };
257
+ /**
258
+ * Using tag
259
+ */
260
+ tag: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
264
+ /**
265
+ * Allows an external update to scroll the form.
266
+ *
267
+ * This is useful for scrolling the editor to a specific position when the user has made changes to the code and wants to see the results immediately.
268
+ * If this is set to true, the editor will scroll to the position specified in the transaction.
269
+ * If this is set to false, the editor will not scroll to the position specified in the transaction.
270
+ *
271
+ * @see {@link https://codemirror.net/docs/ref/#state.TransactionSpec.scrollIntoView}
272
+ */
273
+ scrollIntoView: {
274
+ type: BooleanConstructor;
275
+ default: boolean;
276
+ };
277
+ /**
278
+ * Key map
279
+ * This is a CodeMirror Facet that allows you to define custom key bindings.
280
+ * It can be used to override default key bindings or add new ones.
281
+ *
282
+ * @see {@link https://codemirror.net/docs/ref/#view.keymap}
283
+ */
284
+ keymap: {
285
+ type: PropType<KeyBinding[]>;
286
+ default: () => never[];
287
+ };
288
+ }>, {
289
+ editor: Ref<HTMLElement | undefined, HTMLElement | undefined>;
290
+ view: ShallowRef<EditorView | undefined>;
291
+ cursor: WritableComputedRef<number, number>;
292
+ selection: WritableComputedRef<EditorSelection | undefined, EditorSelection | undefined>;
293
+ focus: WritableComputedRef<boolean, boolean>;
294
+ length: Ref<number, number>;
295
+ json: WritableComputedRef<Record<string, StateField<any>> | undefined, Record<string, StateField<any>> | undefined>;
296
+ diagnosticCount: Ref<number, number>;
297
+ dom: HTMLElement | undefined;
298
+ lint: () => void;
299
+ forceReconfigure: () => void;
300
+ getRange: (from?: number, to?: number) => string | undefined;
301
+ getLine: (number: number) => string | undefined;
302
+ lineCount: () => number;
303
+ getCursor: () => number;
304
+ listSelections: () => readonly SelectionRange[];
305
+ getSelection: () => string;
306
+ getSelections: () => string[];
307
+ somethingSelected: () => boolean;
308
+ replaceRange: (replacement: string | Text, from: number, to: number) => void;
309
+ replaceSelection: (replacement: string | Text) => void;
310
+ setCursor: (position: number) => void;
311
+ setSelection: (anchor: number, head?: number) => void;
312
+ setSelections: (ranges: readonly SelectionRange[], primary?: number) => void;
313
+ extendSelectionsBy: (f: any) => void;
314
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
315
+ /** Model Update */
316
+ 'update:modelValue': (_value?: string | Text) => true;
317
+ /** CodeMirror ViewUpdate */
318
+ update: (_value: ViewUpdate) => true;
319
+ /** CodeMirror onReady */
320
+ ready: (_value: {
321
+ view: EditorView;
322
+ state: EditorState;
323
+ container: HTMLElement;
324
+ }) => true;
325
+ /** CodeMirror onFocus */
326
+ focus: (_value: boolean) => true;
327
+ /** State Changed */
328
+ change: (_value: EditorState) => true;
329
+ /** CodeMirror onDestroy */
330
+ destroy: () => true;
331
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
332
+ /** Model value */
333
+ modelValue: {
334
+ type: PropType<string | Text>;
335
+ default: string;
336
+ };
337
+ /**
338
+ * Theme
339
+ *
340
+ * @see {@link https://codemirror.net/docs/ref/#view.EditorView^theme}
341
+ */
342
+ theme: {
343
+ type: PropType<Record<string, StyleSpec>>;
344
+ default: () => {};
345
+ };
346
+ /** Dark Mode */
347
+ dark: {
348
+ type: BooleanConstructor;
349
+ default: boolean;
350
+ };
351
+ /**
352
+ * Use Basic Setup
353
+ *
354
+ * This will enable the basic setup for the editor.
355
+ *
356
+ * @see {@link https://codemirror.net/docs/ref/#codemirror.basicSetup}
357
+ */
358
+ basic: {
359
+ type: BooleanConstructor;
360
+ default: boolean;
361
+ };
362
+ /**
363
+ * Use Minimal Setup (The basic setting has priority.)
364
+ *
365
+ * @see {@link https://codemirror.net/docs/ref/#codemirror.minimalSetup}
366
+ */
367
+ minimal: {
368
+ type: BooleanConstructor;
369
+ default: boolean;
370
+ };
371
+ /**
372
+ * Placeholder
373
+ *
374
+ * @see {@link https://codemirror.net/docs/ref/#view.placeholder}
375
+ */
376
+ placeholder: {
377
+ type: PropType<string | HTMLElement>;
378
+ default: undefined;
379
+ };
380
+ /**
381
+ * Line wrapping
382
+ *
383
+ * An extension that enables line wrapping in the editor (by setting CSS white-space to pre-wrap in the content).
384
+ *
385
+ * @see {@link https://codemirror.net/docs/ref/#view.EditorView%5ElineWrapping}
386
+ */
387
+ wrap: {
388
+ type: BooleanConstructor;
389
+ default: boolean;
390
+ };
391
+ /**
392
+ * Allow tab key indent.
393
+ *
394
+ * This will enable the tab key to indent the current line or selection.
395
+ *
396
+ * @see {@link https://codemirror.net/examples/tab/}
397
+ */
398
+ tab: {
399
+ type: BooleanConstructor;
400
+ default: boolean;
401
+ };
402
+ /**
403
+ * Tab character
404
+ *
405
+ * This is the unit of indentation used when the editor is configured to indent with tabs.
406
+ * It is also used to determine the size of the tab character when the editor is configured to use tabs for indentation..
407
+ *
408
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^indentUnit}
409
+ */
410
+ indentUnit: {
411
+ type: StringConstructor;
412
+ default: undefined;
413
+ };
414
+ /**
415
+ * Allow Multiple Selection.
416
+ *
417
+ * This allows the editor to have multiple selections at the same time.
418
+ * This is useful for editing multiple parts of the document at once.
419
+ * If this is set to true, the editor will allow multiple selections.
420
+ * If this is set to false, the editor will only allow a single selection.
421
+ *
422
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^allowMultipleSelections}
423
+ */
424
+ allowMultipleSelections: {
425
+ type: BooleanConstructor;
426
+ default: boolean;
427
+ };
428
+ /**
429
+ * Tab size
430
+ *
431
+ * This is the number of spaces that a tab character represents in the editor.
432
+ * It is used to determine the size of the tab character when the editor is configured to use tabs for indentation.
433
+ * If this is set to a number, the editor will use that number of spaces for each tab character.
434
+ *
435
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^tabSize}
436
+ */
437
+ tabSize: {
438
+ type: NumberConstructor;
439
+ default: undefined;
440
+ };
441
+ /**
442
+ * Set line break (separetor) char.
443
+ *
444
+ * This is the character that is used to separate lines in the editor.
445
+ * It is used to determine the line break character when the editor is configured to use a specific line break character.
446
+ *
447
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^lineSeparator}
448
+ */
449
+ lineSeparator: {
450
+ type: StringConstructor;
451
+ default: undefined;
452
+ };
453
+ /**
454
+ * Readonly
455
+ *
456
+ * This is a CodeMirror Facet that allows you to set the editor to read-only mode.
457
+ * When this is set to true, the editor will not allow any changes to be made to the document.
458
+ * This is useful for displaying code that should not be edited, such as documentation or examples.
459
+ * If this is set to false, the editor will allow changes to be made to the document.
460
+ *
461
+ * @see {@link https://codemirror.net/docs/ref/#state.EditorState^readOnly}
462
+ */
463
+ readonly: {
464
+ type: BooleanConstructor;
465
+ default: boolean;
466
+ };
467
+ /**
468
+ * Disable input.
469
+ *
470
+ * This is the reversed value of the CodeMirror editable.
471
+ * Similar to `readonly`, but setting this value to true disables dragging.
472
+ *
473
+ * @see {@link https://codemirror.net/docs/ref/#view.EditorView^editable}
474
+ */
475
+ disabled: {
476
+ type: BooleanConstructor;
477
+ default: boolean;
478
+ };
479
+ /**
480
+ * Additional Extension
481
+ *
482
+ * You can use this to add any additional extensions that you want to use in the editor.
483
+ *
484
+ * @see {@link https://codemirror.net/docs/ref/#state.Extension}
485
+ */
486
+ extensions: {
487
+ type: PropType<Extension[]>;
488
+ default: () => never[];
489
+ };
490
+ /**
491
+ * Language Phreses
492
+ *
493
+ * This is a CodeMirror Facet that allows you to define custom phrases for the editor.
494
+ * It can be used to override default phrases or add new ones.
495
+ * This is useful for translating the editor to different languages or for customizing the editor's UI.
496
+ *
497
+ * @see {@link https://codemirror.net/examples/translate/}
498
+ */
499
+ phrases: {
500
+ type: PropType<Record<string, string>>;
501
+ default: undefined;
502
+ };
503
+ /**
504
+ * CodeMirror Language
505
+ *
506
+ * This is a CodeMirror Facet that allows you to define the language of the editor.
507
+ * It can be used to enable syntax highlighting and other language-specific features.
508
+ * It is useful for displaying code in a specific language, such as JavaScript, Python, or HTML.
509
+ *
510
+ * @see {@link https://codemirror.net/docs/ref/#language}
511
+ */
512
+ lang: {
513
+ type: PropType<LanguageSupport>;
514
+ default: undefined;
515
+ };
516
+ /**
517
+ * CodeMirror Linter
518
+ *
519
+ * This is a CodeMirror Facet that allows you to define a linter for the editor.
520
+ * It can be used to check the code for errors and warnings, and to provide feedback to the user.
521
+ * It is useful for displaying code in a specific language, such as JavaScript, Python, or HTML.
522
+ * This is useful for providing feedback to the user about the code they are writing.
523
+ *
524
+ * @see {@link https://codemirror.net/docs/ref/#lint.linter}
525
+ */
526
+ linter: {
527
+ type: PropType<LintSource>;
528
+ default: undefined;
529
+ };
530
+ /**
531
+ * Linter Config
532
+ *
533
+ * This is a CodeMirror Facet that allows you to define the configuration for the linter.
534
+ * It can be used to specify options for the linter, such as the severity of errors and warnings, and to customize the behavior of the linter.
535
+ * This is useful for providing feedback to the user about the code they are writing.
536
+ *
537
+ * @see {@link https://codemirror.net/docs/ref/#lint.linter^config}
538
+ */
539
+ linterConfig: {
540
+ type: ObjectConstructor;
541
+ default: () => {};
542
+ };
543
+ /**
544
+ * Forces any linters configured to run when the editor is idle to run right away.
545
+ *
546
+ * This is useful for running linters on the initial load of the editor, or when the user has made changes to the code and wants to see the results immediately.
547
+ *
548
+ * @see {@link https://codemirror.net/docs/ref/#lint.forceLinting}
549
+ */
550
+ forceLinting: {
551
+ type: BooleanConstructor;
552
+ default: boolean;
553
+ };
554
+ /**
555
+ * Show Linter Gutter
556
+ *
557
+ * An area to 🔴 the lines with errors will be displayed.
558
+ * This feature is not enabled if `linter` is not specified.
559
+ *
560
+ * @see {@link https://codemirror.net/docs/ref/#lint.lintGutter}
561
+ */
562
+ gutter: {
563
+ type: BooleanConstructor;
564
+ default: boolean;
565
+ };
566
+ /**
567
+ * Gutter Config
568
+ *
569
+ * This is a CodeMirror Facet that allows you to define the configuration for the gutter.
570
+ * It can be used to specify options for the gutter, such as the size of the gutter, the position of the gutter, and to customize the behavior of the gutter.
571
+ * This is useful for providing feedback to the user about the code they are writing.
572
+ *
573
+ * @see {@link https://codemirror.net/docs/ref/#lint.lintGutter^config}
574
+ */
575
+ gutterConfig: {
576
+ type: ObjectConstructor;
577
+ default: undefined;
578
+ };
579
+ /**
580
+ * Using tag
581
+ */
582
+ tag: {
583
+ type: StringConstructor;
584
+ default: string;
585
+ };
586
+ /**
587
+ * Allows an external update to scroll the form.
588
+ *
589
+ * This is useful for scrolling the editor to a specific position when the user has made changes to the code and wants to see the results immediately.
590
+ * If this is set to true, the editor will scroll to the position specified in the transaction.
591
+ * If this is set to false, the editor will not scroll to the position specified in the transaction.
592
+ *
593
+ * @see {@link https://codemirror.net/docs/ref/#state.TransactionSpec.scrollIntoView}
594
+ */
595
+ scrollIntoView: {
596
+ type: BooleanConstructor;
597
+ default: boolean;
598
+ };
599
+ /**
600
+ * Key map
601
+ * This is a CodeMirror Facet that allows you to define custom key bindings.
602
+ * It can be used to override default key bindings or add new ones.
603
+ *
604
+ * @see {@link https://codemirror.net/docs/ref/#view.keymap}
605
+ */
606
+ keymap: {
607
+ type: PropType<KeyBinding[]>;
608
+ default: () => never[];
609
+ };
610
+ }>> & Readonly<{
611
+ onChange?: ((_value: EditorState) => any) | undefined;
612
+ onFocus?: ((_value: boolean) => any) | undefined;
613
+ "onUpdate:modelValue"?: ((_value?: string | Text | undefined) => any) | undefined;
614
+ onUpdate?: ((_value: ViewUpdate) => any) | undefined;
615
+ onReady?: ((_value: {
616
+ view: EditorView;
617
+ state: EditorState;
618
+ container: HTMLElement;
619
+ }) => any) | undefined;
620
+ onDestroy?: (() => any) | undefined;
621
+ }>, {
622
+ modelValue: string | Text;
623
+ theme: Record<string, StyleSpec>;
624
+ dark: boolean;
625
+ basic: boolean;
626
+ minimal: boolean;
627
+ placeholder: string | HTMLElement;
628
+ wrap: boolean;
629
+ tab: boolean;
630
+ indentUnit: string;
631
+ allowMultipleSelections: boolean;
632
+ tabSize: number;
633
+ lineSeparator: string;
634
+ readonly: boolean;
635
+ disabled: boolean;
636
+ extensions: Extension[];
637
+ phrases: Record<string, string>;
638
+ lang: LanguageSupport;
639
+ linter: LintSource;
640
+ linterConfig: Record<string, any>;
641
+ forceLinting: boolean;
642
+ gutter: boolean;
643
+ gutterConfig: Record<string, any>;
644
+ tag: string;
645
+ scrollIntoView: boolean;
646
+ keymap: KeyBinding[];
647
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
3
648
  declare const installCodeMirror: (app: any) => void;
4
649
  export { CodeMirror as default, installCodeMirror as install, Meta };