import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { CreateComponentPublicInstanceWithMixins } from 'vue'; import { default as default_2 } from 'codemirror'; import { DefineComponent } from 'vue'; import { editor } from 'monaco-editor-core'; import { GlobalComponents } from 'vue'; import { GlobalDirectives } from 'vue'; import type * as monaco from 'monaco-editor-core'; import { PublicProps } from 'vue'; declare const _default: DefineComponent editor | undefined; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { change: (code: string) => any; }, string, PublicProps, Readonly & Readonly<{ onChange?: ((code: string) => any) | undefined; }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, { monaco: CreateComponentPublicInstanceWithMixins & Readonly<{ onChange?: ((value: string) => any) | undefined; }>, { getEditorIns: () => editor.IStandaloneCodeEditor | undefined; getMonacoEditor: () => editor; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { change: (value: string) => any; }, PublicProps, { value: string; mode: EditorMode; readonly: boolean; }, false, {}, {}, GlobalComponents, GlobalDirectives, string, { container: HTMLDivElement; }, HTMLDivElement, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ filename: string; value?: string; readonly?: boolean; mode?: EditorMode; }> & Readonly<{ onChange?: ((value: string) => any) | undefined; }>, { getEditorIns: () => editor.IStandaloneCodeEditor | undefined; getMonacoEditor: () => editor; }, {}, {}, {}, { value: string; mode: EditorMode; readonly: boolean; }> | null; }, HTMLDivElement>; export default _default; declare interface EditorMethods { getEditorIns(): (T extends 'codemirror' ? default_2.Editor : monaco.editor.IStandaloneCodeEditor) | undefined; getMonacoEditor?(): typeof monaco.editor | undefined; } declare type EditorMode = 'js' | 'css' | 'ssr'; declare interface EditorProps { value: string; filename: string; readonly?: boolean; mode?: EditorMode; } export { }