import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue'; import { EditorView } from 'codemirror'; type __VLS_Props = { show: boolean; content: string; readonly?: boolean; language?: 'json' | 'js' | 'html' | 'string' | 'markdown'; resolve: (str: string | undefined) => void; title?: string; }; declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { title: string; readonly: boolean; language: "json" | "js" | "html" | "string" | "markdown"; show: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, { editorRef: CreateComponentPublicInstanceWithMixins & Readonly<{ onLoad?: ((view: EditorView) => any) | undefined; onChange?: ((value: string) => any) | undefined; }>, { getVal: () => string; setVal: (value: string) => void; formatCode: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { load: (view: EditorView) => any; change: (value: string) => any; }, PublicProps, { readonly: boolean; content: string; theme: "dark" | "light"; language: "json" | "js" | "html" | "string" | "markdown"; }, false, {}, {}, GlobalComponents, GlobalDirectives, string, { editorContainer: HTMLDivElement; }, HTMLDivElement, ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ content?: string; readonly?: boolean; theme?: "dark" | "light"; language?: "json" | "js" | "html" | "string" | "markdown"; }> & Readonly<{ onLoad?: ((view: EditorView) => any) | undefined; onChange?: ((value: string) => any) | undefined; }>, { getVal: () => string; setVal: (value: string) => void; formatCode: () => void; }, {}, {}, {}, { readonly: boolean; content: string; theme: "dark" | "light"; language: "json" | "js" | "html" | "string" | "markdown"; }> | null; }, any>; export default _default;