import { editor } from 'monaco-editor'; /** * 设置文本 * @param text */ declare function setValue(text: string): void; /** * 光标处插入文本 * @param text */ declare function insertText(text: string): void; declare const _default: import('@vue/runtime-core').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ language?: string; readOnly?: boolean; valueFormat?: string; modelValue?: any; config?: editor.IStandaloneEditorConstructionOptions; lineNumbers?: "on" | "off"; autoToggleTheme?: boolean; theme?: "vs-light" | "vs-dark" | "hc-black"; }>, { language: string; readOnly: boolean; valueFormat: string; lineNumbers: string; theme: string; config: () => { selectOnLineNumbers: boolean; minimap: { enabled: boolean; }; }; }>, { setValue: typeof setValue; insertText: typeof insertText; }, unknown, {}, {}, import('@vue/runtime-core').ComponentOptionsMixin, import('@vue/runtime-core').ComponentOptionsMixin, { "update:modelValue": (...args: any[]) => void; }, string, import('@vue/runtime-core').PublicProps, Readonly, { language: string; readOnly: boolean; valueFormat: string; lineNumbers: string; theme: string; config: () => { selectOnLineNumbers: boolean; minimap: { enabled: boolean; }; }; }>>> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, { readOnly: boolean; config: editor.IStandaloneEditorConstructionOptions; language: string; lineNumbers: "on" | "off"; valueFormat: string; theme: "vs-light" | "vs-dark" | "hc-black"; }, {}>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: import('vue').PropType<__VLS_NonUndefinedable>; } : { type: import('vue').PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {};