/** * vue-codemirror6 * * @description CodeMirror6 Component for vue2 and vue3. * @author Logue * @license MIT * @version 1.8.0 * @see {@link https://github.com/logue/vue-codemirror6} */ export { Meta } from './types/Meta.js'; declare const CodeMirrorElement: import("vue").VueElementConstructor<{ readonly modelValue: string | import("@codemirror/state").Text; readonly theme: Record; readonly dark: boolean; readonly basic: boolean; readonly minimal: boolean; readonly wrap: boolean; readonly tab: boolean; readonly allowMultipleSelections: boolean; readonly readonly: boolean; readonly disabled: boolean; readonly extensions: import("@codemirror/state").Extension[]; readonly linterConfig: Record; readonly forceLinting: boolean; readonly gutter: boolean; readonly tag: string; readonly scrollIntoView: boolean; readonly preserveScrollPosition: boolean; readonly keymap: import("@codemirror/view").KeyBinding[]; } & { readonly placeholder?: string | HTMLElement | undefined; readonly indentUnit?: string | undefined; readonly tabSize?: number | undefined; readonly lineSeparator?: string | undefined; readonly phrases?: Record | undefined; readonly lang?: import("@codemirror/language").LanguageSupport | undefined; readonly linter?: import("@codemirror/lint").LintSource | undefined; readonly gutterConfig?: Record | undefined; } & { onChange?: ((_value: import("@codemirror/state").EditorState) => any) | undefined; onDestroy?: (() => any) | undefined; onFocus?: ((_value: boolean) => any) | undefined; onReady?: ((_value: { view: import("codemirror").EditorView; state: import("@codemirror/state").EditorState; container: HTMLElement; }) => any) | undefined; onUpdate?: ((_value: import("@codemirror/view").ViewUpdate) => any) | undefined; "onUpdate:modelValue"?: ((_value?: string | import("@codemirror/state").Text | undefined) => any) | undefined; }>; /** * Register the element as a custom element under the given tag name. * * Does nothing if the tag name is already defined. A constructor can only be defined once per * custom element registry, so register a single tag name per page and do not combine this with * `vue-codemirror6/wc-auto` (which registers ``). * * @param tagName - Custom element tag name (must contain a hyphen) */ export declare function register(tagName: string): void; export { CodeMirrorElement as default };