import { EditorView } from 'codemirror'; import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; type __VLS_Props = { content?: string; readonly?: boolean; theme?: 'dark' | 'light'; language?: 'json' | 'js' | 'html' | 'string' | 'markdown'; }; declare function getVal(): string; declare function setVal(value: string): void; declare function formatCode(): void; declare const _default: DefineComponent<__VLS_Props, { getVal: typeof getVal; setVal: typeof setVal; formatCode: typeof formatCode; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { load: (view: EditorView) => any; change: (value: string) => any; }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{ onLoad?: ((view: EditorView) => any) | undefined; onChange?: ((value: string) => any) | undefined; }>, { readonly: boolean; content: string; theme: "dark" | "light"; language: "json" | "js" | "html" | "string" | "markdown"; }, {}, {}, {}, string, ComponentProvideOptions, false, { editorContainer: HTMLDivElement; }, HTMLDivElement>; export default _default;